Troubleshooting printing: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
 
Line 17: Line 17:
'''Linux''': as ''root'' run following command (or choose from menu):
'''Linux''': as ''root'' run following command (or choose from menu):
  /usr/bin/system-config-printer
  /usr/bin/system-config-printer
Click ''New'', choose printer name ''clonhp'' and short description ''clonhp'' (or whatever you like). On next screen select a queue type ''Nwtworked JetDirect'' and printer ''clonhp.jlab.org''. Finish setup, print testpage. Repeat for ''clonhp2''.
Click ''New'', choose printer name ''clonhp'' and short description ''clonhp'' (or whatever you like). On next screen select a queue type ''Networked JetDirect'' and printer ''clonhp.jlab.org''. Finish setup, print testpage. Repeat for ''clonhp2''.





Latest revision as of 08:36, 4 January 2008

There is no printing server currently on CLON Cluster, every machine sends job directly to printers.

Solaris: printer's configuration file /etc/printers.conf must exist and have following contents:

#
#       If you hand edit this file, comments and structure may change.
#       The preferred method of modifying this file is through the use of
#       lpset(1M)
#
clonhp2:\
        :bsdaddr=clonhp2.jlab.org,clonhp2,Solaris:
clonhp:\
        :bsdaddr=clonhp.jlab.org,clonhp,Solaris:
_default:\
        :use=clonhp:

Linux: as root run following command (or choose from menu):

/usr/bin/system-config-printer

Click New, choose printer name clonhp and short description clonhp (or whatever you like). On next screen select a queue type Networked JetDirect and printer clonhp.jlab.org. Finish setup, print testpage. Repeat for clonhp2.



WAS: To RESET printing queue use "lpc" command on CLON01 (as root):

# lpc
lpc> clean clonhp
       removed clonhp-789
lpc> status
clonhp:
       queueing is enabled
       printing is enabled
       no entries