Discussion Locked

Adding Network Printer in Solaris 7

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Dear Friends,

Pl. give me the step by step procedure for configuration of network printer (directly connected to switch or hub through UTP)
on Solaris 7 through command line.. ??

Pl. help me..

Regards

Dattatray V. Bhagwat

5 replies

by cpfeiffe

You need a print server that will spool the queue for the network printer. I recommend downloading and installing JetAdmin from HP. It is a free download and the readme files will help you get it installed and configured. Once you have a print server you can point any client to it. If you only need the one machine to print you could install JetAdmin on this machine and configure its network printer to point to itself as the print server or if you have multiples you can point them all to one print server. Once JetAdmin is set up here are the step by steps for configuring your client.

vi /etc/printer.conf
Insert into the file these lines:
$PRINTER:\
bsdaddr=$SERVER,$PRINTER:

Thats it. $PRINTER1 is the name of the printeras you want it to appear to the client (localhost). $PRINTER2 is the name of the printer on the print server. They may be the same. $SERVER is the name or IP of the server. If your printer can spool itself and has its own JetAdmin config $SERVER can be the printer IP address and you won't need to install JetAdmin on any servers.

The config above can also be done through admintool, but this is probably quicker. If you don't like vi you can use any text editor.

Also to make this the default you can add these lines to the same file:

_default:\
use=$PRINTER1:

Hope this was informative.

Charles

by ghislain.levesque

How to define a printer under Solaris

lpsystem -t bsd printer_name
lpadmin -p printer_name -s printer_name!lp
****
If it's printing in stair steping mode try this command:

lpadmin -p printer_name -s printer_name!printer_name_CR

lpadmin -p printer_name -T unknown -I any

This discussion is closed to new replies.