location: Diff for "print/linux"

Institute of Mathematics - PublicMathWiki:

Differences between revisions 11 and 12
Revision 11 as of 2022-06-29 05:42:59
Size: 1265
Editor: crose
Comment:
Revision 12 as of 2023-12-06 12:38:59
Size: 1807
Editor: kputyr
Comment: Added a terminal command
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * Printing from private notebooks to the institutes printer is '''only possible''' (UPP is fine) via '''LAN''' (=cable) and not via WLAN. Search for a LAN '''Port''' with a '''yellow point'''.  * Printing from private notebooks to the institutes printer is '''only possible''' (UPP is fine) via '''LAN''' (=cable) and not via WLAN. Your device must be first registered in a central system - please contact support for help.
Line 7: Line 7:
 * [[https://www.zi.uzh.ch/de/support/it-workplace/uzhprintplus/secure-print/install-printer.html|UZH Print Plus]]
Line 9: Line 8:
= Via UPP = == Adding a printer from a command line ==

{{{
lpadmin -p <local name> -v ipp://print.math.uzh.ch/printers/<printer_name> -m everywhere -E
}}}
 * `-p` sets the name of the printer on the local maching; it can be anything, but the actual name of the printer is recommended
 * `-v` is a location on a print server; if `print.math.uzh.ch` does not work, try `print22.math.uzh.ch`
 * `-m` chooses the driver; the `everywhere` is a standard driver that works with most printers
 * `-E` enables the printer automatically
The user executing the command must in the `lp` group. Alternatively, use `sudo`.

== Printing via UPP ==

Linux

  • Printing from private notebooks to the institutes printer is only possible (UPP is fine) via LAN (=cable) and not via WLAN. Your device must be first registered in a central system - please contact support for help.

  • Enable: 'show remote printers'
  • Hint: after the first time activating your Notebook at IMATH, it's possible that you have to wait up to 15 minutes before the printers appear. If you deactivate/activate your network or if your reboot your machine, the printer will be displayed immediately.
  • The printers at UZH advertise their presence using the mDNS protocol, so, in order to see the printers on the network, you must have an mDNS client installed and configured. This can be accomplished, on most systems, by installing the 'nss-mdns' module, and adding 'mdns' or 'mdns_minimal' to the 'hosts' line in '/etc/nsswitch.conf'. Note that, in most distributions, nss-mdns requires the 'avahi-daemon' to be installed and running.

Adding a printer from a command line

lpadmin -p <local name> -v ipp://print.math.uzh.ch/printers/<printer_name> -m everywhere -E
  • -p sets the name of the printer on the local maching; it can be anything, but the actual name of the printer is recommended

  • -v is a location on a print server; if print.math.uzh.ch does not work, try print22.math.uzh.ch

  • -m chooses the driver; the everywhere is a standard driver that works with most printers

  • -E enables the printer automatically

The user executing the command must in the lp group. Alternatively, use sudo.

Printing via UPP

  • Printing is possible via LAN or WLAN as long as it is UZH internal.
  • UZH Print Plus

PublicMathWiki: print/linux (last edited 2023-12-06 12:38:59 by kputyr)