1833790 Members
2993 Online
110063 Solutions
New Discussion

remote printing

 
karbach
Occasional Contributor

remote printing

In hp-ux 10.20, I have a created a BSD remote printer . it works fine, but there is no way to specify the number of copies to print, it's very usefull for me. have you any idea.

Thank you.
4 REPLIES 4
steven Burgess_2
Honored Contributor

Re: remote printing

Hi

Use the -n option with LP

lp -dLJ4 -n 5 /
take your time and think things through
Peter Kloetgen
Esteemed Contributor

Re: remote printing

Hi,

this is very easy:

lp -d'destination_printer' -n 5 /path_to_file

would make 5 copies.

man lp

Allways stay on the bright side of life!

Peter
I'm learning here as well as helping
Olav Baadsvik
Esteemed Contributor

Re: remote printing

Hi,

From the lp commans point of view it
is easy with the -n option.
The question is if the the host acting
as the remote printerver is able to
handle the K command in the control
file that comes with the print-request.
Not all are.
To see what is sent to the remote
machine disable the printer locally
and check the control file in the
request directory for the printer.
There you will see a K3 if you give
the option -n3 to the lp command.
karbach
Occasional Contributor

Re: remote printing

effectively the remote machine ( win NT) do not
handle the K commnad in the control file,
and my question was is there another way to send the remote machine the number of copies.

I know that the easy way is the -n option
where the printer is local or network, but it's not for a remote printer.

Thank you Olav.