From: Mark Slagell Date: 2002-05-22T04:40:42+09:00 Subject: printing under windows So I want to send a postscript file to a printer under windows... [from David Naseby in ruby-talk:32861] >require 'Win32API' >def system2(command) > Win32API.new("crtdll","system",['P'],'L').Call(command) >end > >puts system ('copy ') > Now I'm assuming 'system' oughta be 'system2', that's no problem; but how do you specify the printer? If I give it the printer name as found in the printer control panel, it creates a file with that name. Append a colon and it says "not a recognized device". What is the obvious thing I miss here? -- Mark