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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Piping print output from local printer to remote

Status
Not open for further replies.
Feb 14, 2000
425
0
16
US
back in Arp 2005 i started a thread about sending local printer output to a remote printer and a expert user PHV posted a simple reply of
[blue]
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 | lp -dremote_printer_name
[/blue]
this worked exactly as i wanted. i now have a simular issue and need to pipe to a remote printer except the
/var/spool/lp/admins/lp/interfaces/PRINTERNAME is structured a little differently using a filter LPTELL and the do....done is already piped to LPTELL. i am just wondering how i would formulate the piping to send to the remote and if a pipe to a pipe would work. the current line at the end is
do
.....
done | ${LPTELL} ${printer}
exec 3>&-

I am needing to also | lp -dMyPrinter

Steve Bowman
Independent Technology, Inc.
CA, USA
 
HAve you tied to replace this:
done | ${LPTELL} ${printer}
with this ?
done | lp -dremote_printer_name

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
i did think of that but was not sure of the use of LPTELL. I will give it a try. Thanks

Steve Bowman
Independent Technology, Inc.
CA, USA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top