Printing from unix

From MSCF

Jump to: navigation, search

To be written.

The critical information:

  • Printing is handled by windows servers, ms01.msc.uky.edu and ms07.msc.uky.edu
  • The printers must be called by their "full" names, like pot918n pot715n, not just 918n.
  • The printers can be accessed (preferably) by windows printer shares via SMB:
    • \\ms01.msc.uky.edu\pot715n (math only)
    • \\ms01.msc.uky.edu\pot715n2 (down)
    • \\ms01.msc.uky.edu\pot814n (stats only)
    • \\ms01.msc.uky.edu\pot918n
    • \\ms01.msc.uky.edu\pot918n2
    • \\ms07.msc.uky.edu\pot715n (math only)
    • \\ms07.msc.uky.edu\pot715n2 (down)
    • \\ms07.msc.uky.edu\pot814n (stats only)
    • \\ms07.msc.uky.edu\pot918n
    • \\ms07.msc.uky.edu\pot918n2
The following appears in less abbreviated form on the t-machine as /etc/cups/printers.conf:
<Printer 918n>
Info
Location POT 922 - HPCL
DeviceURI smb://ms07.msc.uky.edu/pot918n
...
</Printer>
  • The printers can also be accessed by windows BSD LPD spool emulation
    • lpd://ms01.msc.uky.edu/pot715n or so may work for CUPS.
The following appears in less abbreviated form on the t-machine as /etc/cups/printers.conf:
<Printer pot918n>
Info
DeviceURI lpd://ms01.msc.uky.edu/pot918n
...
</Printer>
  • SOME of the printers can also be accessed directly via IPP / HTTP, but this is totally unsupported
  • SOME of the printers can also be accessed directly via HP JetDirect, but this is also likely totally unsupported by staff. This method is however documented on Installing Printers in Unix, and appears to be somewhat standard for Ubuntu linux.

Note on Ubuntu when using lpr/lpq (It seems a default printer isn't automatically chosen) lpr and lpq won't work unless there is a default. It's under System -> Preferences -> Default Printer Once set the lpr and lpq commands will work with that default printer.