1833771 Members
2460 Online
110063 Solutions
New Discussion

VVP:Remote Printers

 
Victor Prasad
Occasional Advisor

VVP:Remote Printers

Hello,

I have to setup a remote printer. How do I do this without using SAM from a prompt.

I have a node name of the printer server - an HP 9000.

SAM asks for a printer name, remote system name and a remote printer name.

Can this be done from just a console prompt? If so - how?

Thanks,

V

Remote Printer Name:
Why doesn't this work....?
4 REPLIES 4
Sajid_1
Honored Contributor

Re: VVP:Remote Printers

Steve Steel
Honored Contributor

Re: VVP:Remote Printers

Hi


Read the man of lpadmin


Assuming a printer lp on a remote system system2, the command:

/usr/sbin/lpadmin -plp3 -v/dev/null -mrmodel -ocmrcmodel
-osmrsmodel -ob3 -ormsystem2 -orplp -v/dev/null

causes the spool system to use the local line printer lp3 and the
model rmodel. The spool system also uses the model rcmodel to cancel
remote requests and rsmodel to get status from system2. In addition,
the three-digit sequence numbers, the remote system name system2 and
the remote printer lp are used.


steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Chris Wilshaw
Honored Contributor

Re: VVP:Remote Printers

From the command line, you can use

lpadmin -p -orm -orp -mrmodel -v/dev/null -orc -ocmrcmodel -osmrsmodel
Cheryl Griffin
Honored Contributor

Re: VVP:Remote Printers

Shut the scheduler down prior to adding the printer with lpadmin.
# lpshut
After you lpadmin to create the printer, you'll need to:
# accept printer_name
# enable printer_name

# lpsched

Cheryl
"Downtime is a Crime."