> > Another guess - maybe the problem is the whitespaces in the printer > > name. Try escaping them using backslashes: > > copy ($source_file, '//HP-EXCH/HP\ LaserJet\ 4100(IS)'); > > > > I would also try changing the single quotes to double quotes. > > > > Hope this helps, > > -- > > Offer Kaye > > > > I tried that too.. :~) I'm now working w/ the Net::Printer > module and I > think I'm getting closer. The error I'm getting is below.. > Not too sure > what Unknow error means.... but I'll keep searching. > > Thanks for your help. > > -- begin
c:\>net use lpt1: "\\hp-exch\HP LaserJet 4100(IS)" /p:n Then from the command line: c:\>copy file_for_printer lpt1: If that works, then using File::Copy to lpt1: should work as well. Luke -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>