>
> Hi All,
>
> I was able to send the file to the printer using: copy
> ($print_file, '//hp-exch/HP4100-IS');
> just like the documentation said .. :~) I just had to get
> the server name correct!
>
> Thanks!
>
> Brian
>
>
>
Well, I thought I knew what I was doing. Now I am havin
> -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:[EM
>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
> > 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
>
> 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 t
On Thu, 24 Mar 2005 08:11:42 -0500, Brian Volk wrote:
>
> To answer your question. "What makes you think that File::Copy's "copy"
> supports printing
> directly to a printer this way?" I was google'ing and found this
>
> Google "perlmonks.thepen.com/158993.html"
Well, that looks like your
>
> On Wed, 23 Mar 2005 16:05:53 -0500, Brian Volk wrote:
> > Hi All,
> >
> > I'm trying to send the output file to a network printer.
> The program is
> > working fine as far as producing the file, but it is not
> being sent to the
> > printer. Can someone pls take a look at my program and s
On Wed, 23 Mar 2005 16:05:53 -0500, Brian Volk wrote:
> Hi All,
>
> I'm trying to send the output file to a network printer. The program is
> working fine as far as producing the file, but it is not being sent to the
> printer. Can someone pls take a look at my program and see if everything
> lo