Use the DOS 'Net Use' command to map a port to a network device,
example: 'Net Use LPT9: \\Server\My_Printer'
then use the DOS 'print' command to print to the printer,
example: 'print /D:LPT9 c:\my_Docs\myfile.txt'
I am pretty sure that should work fine.
Steve K
> -----Original Message-----
> From: jtownsen [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, January 09, 2001 7:25 PM
> To: [EMAIL PROTECTED]
> Subject: printing from Perl to Windows printer
>
> From a Perl script I would like to send PostScript files (aka text files)
>
> to an already defined Windows printer. Is there a way to do this? Any
> suggestions would be appreciated.
>
> _______________________________________________
> ActivePerl mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/activeperl
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl