[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Perl Print Question



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