Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

(SETUP) local dummy printer > remote printer 1

Status
Not open for further replies.
Feb 14, 2000
425
US
I want to setup a dummy local printer to process a print job then redirect to a remote printer. I have been told this would work, and have the remote printer working. I just do not know how to setup a local dummy printer to redirect to the remote printer.

Steve Bowman
steve@independenttech.net
Independent Technology, Inc.
CA, USA
 
With scoadmin -> Printers create a local printer hooked to /dev/null.
Then amend the /var/spool/lp/admins/lp/interfaces/dummy_printer_name script, piping the output to the remote printer:
while [ $i -le $copies ]
do
...
done[highlight] | lp -dremote_printer_name[/highlight]

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thank you, worked just like it should

a star for you

Steve Bowman
steve@independenttech.net
Independent Technology, Inc.
CA, USA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top