Steve Bowman
MIS
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
[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