[ale] Perl Print Question
Wandered Inn
esoteric at denali.atlnet.com
Thu Apr 8 20:58:11 EDT 1999
Bob Kruger wrote:
> I now have additional printers on the network, and would like to be able to
> take advantage of capability to route in my printcap file. If I had a
> printer on another server called HP3 with the name HP3 in the local
> printcap file, could I just do following:
>
> open ( LPR -PHP3 ">tty") ;
open (LPR "|lpr -PPRINTERNAME");
write LPR;
print LPR $foo;
This works for me. I printed to a local printer and a Samba networked
printer..
--
Until later: Geoffrey esoteric at denali.atlnet.com
It should be illegal to yell "Y2K" in a crowded economy.
-- Larry Wall, creator of the programming language Perl
More information about the Ale
mailing list