PDA

View Full Version : Printers on UNIX


tandoorichicken
Nov17-04, 09:32 PM
Is there a way to look up the names of printers hooked up to a particular server? I'm trying to print some of my old homework assignments that I accessed using SSH. The OS is UNIX Sys. V.

graphic7
Nov17-04, 09:58 PM
Well, since you're using AT&T Unix System V, printing is done via the 'LPD' daemon. The standard nowadays is to store printer configuration(s) in /etc/printers.conf. I can't say much for the standard then, but give it a try.

Edit: I take it you're using AT&T Unix System V, but you mentionted SSH. Can you specify the exact Unix you're using?

dduardo
Nov17-04, 10:10 PM
you can just do:

lpstat -v

This will show all the printers and what devices they are attached to.

I would read the manual for lpstat since there are a bunch of options