> On 29 Mar 2004 at 9:03, Hugh Loebner wrote: 
> 
> > I can get perl to write a text file 'xyz.txt' to disk with 
> no problem, 
> > but I don't know how to actually get my preferred printer 
> to actually 
> > print it out. 
> 
> Peter has already mentioned using the windows "Print" command.  
> Depending on your situation you might also look at the windows "LPR" 
> command which prints to network-attached printers.  We use the later 
> extensively. 

Another option, if the printer is on the network with a UNC name, you
can usually just copy the file to it, such as:
   system('copy xyz.txt \\pserver\printer1');




_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to