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

solaris 8 local attached printer as network shared...

Status
Not open for further replies.

nawlej

Programmer
Mar 26, 2004
380
US
Im trying to set up a printer that is locally attached to my Sunblade (running Solaris 8), to accept print request from a few workstations on the network. Can anyone tell me how to accomplish this?

___________________________________
[morse]--... ...--[/morse], Eric.
 
On your few workstations... Login as root and start admintool. Go to Printers and add network printer. Enter the node name of the Sunblade that is the print server. Enter the printer name... Press Ok.

Be on the safe side and run:
lpshut
/usr/lib/lpsched

Test your printer.

setenv PRINTER <printer name>
lpr -h <file name>

 
On your few workstations... Login as root and start admintool. Go to Printers and add network printer. Enter the node name of the Sunblade that is the print server. Enter the printer name... Press Ok.

Be on the safe side and run:
lpshut
/usr/lib/lpsched

If you are not running a naming service make sure the Print Server is listed in your /etc/host file.

Test your printer:

setenv PRINTER <printer name>
lpr -h <file name>

 
Oops... My post went in twice... Sorry for any confusion.
 
Ok, I should have been a little clearer with my question. I am printing from Windows workstations. I got Windows to print to the queue but it prints out as postscript. How do I get it to convert?

___________________________________
[morse]--... ...--[/morse], Eric.
 
I would think you would have to install the driver for the printer to accept both postscript and ascii on you Sunblade.
Also if your printer is an HP printer, check out jetadmin for Solaris on the HP web site. It works great for what you are trying to do.
 
I suggest to try this first:
#lpadmin -p printername -T PS -I postscript

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Yeah, I had actually got it to work before just printing by setting up the raw queue...using lpr printing from windows to the solaris machine....I got it working by installing CUPS and softlinking the printer commands to the cupsd commands....then I just set up the printer as an advertised http printer on port 631. After modifying the ACL within cupsd.conf, it works great.

___________________________________
[morse]--... ...--[/morse], Eric.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top