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

Printer Configuration 2

Status
Not open for further replies.

grega

Programmer
Joined
Feb 2, 2000
Messages
932
Location
GB
This is one area where I am sadly lacking in knowledge. At work, we have an NT network (1 domain) with x number of printers available.

I also have a Solaris box (2.6) connected to said network.

Can someone briefly explain to me the principles involved in configuring Solaris to print to one of these printers?

Sorry if the information supplied is vague, but I can give more if required.

Do I need extra software/hardware for Solaris?

As I say, just some pointers in the right direction would be most helpful.

Greg.
 
Hi,

If u have the packages installed for printer configuration on the server like(SUNWpsr,SUNWpcr,SUNWpcu etc) then u need not add any software.
If u have these packages then u can print from solaris box to Windows compatible printer.Follow these steps:
Edit /etc/hosts and add an entry for the printservername and IP address of the network printer.
where printservername is the network name of the printer

lpsystem -t bsd printservername
lpadmin -p prn -s printservername!anyname
where prn=name of printer on solris box
anyname=hplaser or type of printer
lpadmin -d prn (to make prn as default printer)
U should then change the setting in the file /usr/lib/lp/model/netstandard (for formatting)
Hash out this line FILTER=/bin/cat and replcae this entry by
FILTER='/usr/bin/unix2dos'
If this doesn't work then before printing each file u can give the command:
unix2dos sourcefile /tmp/targetfile and then print the target file.

I hope this helps....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top