[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Perl Print Question
- Subject: [ale] Perl Print Question
- From: bkruger at mindspring.com (Bob Kruger)
- Date: Thu, 08 Apr 1999 16:45:16 -0500
Anyone have any hints or examples on using the the lpd daemon and lpr with
perl?
For example, when in the past when I wanted to output something to the
printer, I usually included the line of:
open ( LPR, ">tty");
and then used printf(LPR) or print(LPR) to output the results.
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") ;
If not, has anyone got any hints on how to use the different printers
available in the princap file?
Bob