> -----Original Message----- > From: Brian Volk [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 24, 2005 11:24 AM > To: 'Bakken, Luke'; 'Perl Beginners' > Subject: RE: Send file to printer > > > > > >From: Bakken, Luke [mailto:[EMAIL PROTECTED] > > > 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 > > > > Thanks Luke! When I type this at a command line I get "The network > resource type is not correct". > > net use lpt1: "\\hp-exch\HP LaserJet 4100(IS)" /p:n > > Any ideas what that means? > > Thanks! > > Brian
Hi All, I was able to send the file to the printer using: copy ($print_file, '//hp-exch/HP4100-IS'); just like the documetation said .. :~) I just had to get the server name correct! Thanks! Brian
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>