translated by Google

Machine-translated page for increased accessibility for English questioners.

Printing to FI

This article describes the possibilities of printing employees and doctoral students of FI. Students can take advantage of Paid SUPO printing in the lobby . To print out of FI, go to other printers at MU .

For a list of printers that you are allowed to print to, see Fadmin → My Account → Overview → Printers . If you need access to other printers, type at unix@fi.muni.cz .

For instructions on printing from your operating system, see one of the following sections:

List of printers

Name Location Hardware Comment CUPS Samba
copy2a block A, 2nd floor, kitchen Triumph-Adler 4505i multifunction color printer / copier copy2a copy2a
lj2a block A, 2nd floor, kitchen HP LaserJet 600 M602 lj2a lj2a
copy3a block A, 3rd floor, kitchen Triumph-Adler 4505i multifunction color printer / copier copy3a copy3a
lj3a block A, 3rd floor, kitchen HP LaserJet 600 M602 lj3a lj3a
11j-a302 block A, 3rd floor, A302, LaSArIS HP LaserJet 600 M602 lj-a302 lj-a302
copy4a block A, 4th floor, kitchen Triumph-Adler 4505i multifunction color printer / copier copy4a copy4a
lj4a block A, 4th floor, kitchen HP LaserJet 600 M602 lj4a lj4a
lj-b010 block B, ground floor, Building management OKI C531dn lj-b010 lj-b010
lj2b block B, 2nd floor, kitchen HP LaserJet P3015 lj2b lj2b
lj3b block B, 3rd floor, kitchen HP LaserJet P4515x lj3b lj3b
copy4b block B, 4th floor Triumph-Adler 5007ci Multifunction color printer / copier (copy4b-a3 = A3 printing, * -g = grayscale) copy4b copy4b
lj4p block B, 4th floor, at the copier HP LaserJet P4015x lj4p lj4p
copy5b block B, 5th floor Triumph-Adler 5007ci multifunction color printer / copier (copy5b-a3 = A3 printing, * -g = grayscale) copy5b copy5b
copy4c block C, 4th floor Triumph-Adler 4505i multifunction color printer / copier (copy4c-a3 = A3 printing) copy4c copy4c
lj4c block C, 4th floor, at the copier HP LaserJet 600 M602 lj4c lj4c
copy5c block C, 5th floor Triumph-Adler 4505i multifunction color printer / copier copy5c copy5c
lj5c block C, 5th floor, at the copier HP LaserJet 600 M602 lj5c lj5c

Print from Windows

There are two ways to print:

  • printer sharing via Samba - can also be printed on WiFi
  • print server CUPS - need to have the same login on PC as faculty, only when connected via Ethernet cable

Printer sharing via Samba

Download the installer from list of printers , column "Samba". Startup adds a new printer and installs the appropriate drivers.

You can print to this printer from the Eduroam WiFi network or wlan_fi.

CUPS print server

  • On the machine you are printing from, you must have the same login as your faculty.
  • The machine must be connected to the network with an Ethernet cable and printing must be enabled. If you wish to enable printing from your machine, write to unix@fi.muni.cz .
  • Download the installer from list of printers , column "CUPS". Startup adds a new printer and installs the appropriate drivers.

Note: Do not confuse login with so called display name, which is displayed eg in menu Start . You can leave it unchanged.

To change the login name (login), follow these steps + restart the PC:

  • Through the GUI: Right-click on the desktop icon Tento Počítač | My Computer | This PC → spravovat | manage → Lokální uživatelé a skupiny | Local Users and Groups → Uživatelé | Users → right on the login and Přejmenovat | Rename
  • From the command line with admin privileges: wmic useraccount where name='AktuálníLogin' rename NovýLogin
Add the printer manually

During installation, it is necessary to install the printer drivers yourself, see section for the specific printer type List of printers .

Start → Devices and Printers → Add a Printer → Add a network, wireless or Bluetooth printer → The printer that I want isn't listed → Select a shared printer by name (location and naming may vary slightly in different versions of Windows). And enter in the printer name field http://print.fi.muni.cz:631/printers/ and the printer name, e.g. lj4b or lj5c . For example, the resulting string might look like this: http://print.fi.muni.cz:631/printers/lj3b .

Printing from macOS

There are two ways to print:

  • Samba printing - WiFi printing is also possible
  • using IPP (Internet Printing Protocol) - the need to have the same login on the PC as the faculty, only when connected via Ethernet cable

Print via Samba

  1. System Preferences → Printers → Add Printer ( + ), -> Advanced (right click between toolbar icons - for example, options IP and Windows , choose upravit panel nástrojů and drag over there Pokročilé )

  2. The printer settings are as follows:

    • type: Windows printer via spoolss
    • equipment: jiné zařízení
    • URL: smb://print.fi.muni.cz/lj3b-duplex
    • Fill in the Name and Location separately
    • Download the appropriate driver according to your printer hardware, or try to select it Generic Postscript Printer , it should also work normally.
  3. Then just add the printer. In the case of a duplex queue, it is necessary to select this after entering and confirming this data Duplex Printing Unit .
  4. The first time you print, an authentication dialog should pop up where you need to enter the faculty login and faculty password. They can be stored in a keychain, then it will no longer require authentication each time you print.

IPP (Internet Printing Protocol) printing

  • On the machine you are printing from, you must have the same login as your faculty.
  • The machine must be connected to the network with an Ethernet cable and printing must be enabled. If you wish to enable printing from your machine, write to unix@fi.muni.cz .

Add a new printer via System Preferences → Print & Scan and in the window that appears below the list of existing printers, create another plus button. Then you need to fill in the configuration in the IP card, for example for lj3b-duplex:

  • Address: print.fi.muni.cz
  • Protocol: IPP
  • Queue: printers / lj3b-duplex
  • Name: Print lj3b duplex
  • Use: Generic PostScript Printer

In the case of a duplex queue, it is necessary to select this after entering and confirming this data Duplex Printing Unit .

Printing from Linux

The machine must be connected to the network with an Ethernet cable and printing must be enabled. If you wish to enable printing from your machine, write to unix@fi.muni.cz .

It is necessary to have a printing system installed CUPS . After installing CUPS, it is needed to file it /etc/cups/client.conf add (or edit an existing) item to a separate line ServerName :

ServerName print.fi.muni.cz

Print and username

Print jobs must be sent from a user account whose login is the same as your faculty login. Therefore, we generally recommend working under the faculty login account.

In other cases, printing can alternatively be done by creating an auxiliary account with a faculty login and then running the programs to be printed from the command line, either via gksudo :

mujlogin$ gksudo -u xlogin libreoffice &

or if you have an SSH server installed and working on your machine, use ssh :

mujlogin$ ssh -CY xlogin@localhost
xlogin$ libreoffice &

Print from the command line

Basic commands:

  • Printing: lpr -Ptiskárna soubor1 soubor2 ...
  • List print queue contents: lpq -Ptiskárna
  • To cancel a print job: lprm -Ptiskárna identifikace_úlohy

Example:

anxur$ lpr -Plj2b soubor.pdf
anxur$ lpq -Plj2b
lj2b is ready and printing
Rank    Owner   Job     File(s)                         Total Size
active  xdufka  224     soubor.pdf                      1024 bytes
anxur$ lprm -Plj2b 224

Detail o lpr (individual parameters lpr it is usually possible to enter at the same time in one command):

  • To force paper size (see also tips below): lpr -o media=a5 soubor
  • To force duplex printing (rotation over the long side of the sheet): lpr -o sides=two-sided-long-edge soubor
  • To force duplex printing (rotation over the short side of the sheet): lpr -o sides=two-sided-short-edge soubor
  • Multiple (reduced) document pages per page: lpr -o number-up=4 soubor
  • Print in three copies: lpr -#3 soubor
  • ... for a full list of generally applicable options here

Tips for printing from Linux

Print from Aisa or Anxur

If the print is not working (because the Kerberos ticket has expired, or you have logged in using a key and not a password), you must enter kinit and enter the password.

Automatic stapling of sheets when printing

The corresponding parameter lpr are for copy4b, copy5b:

-o KCStaple=UpperLeft|UpperRight

for copy5c, copy2a:

-o Staple=1Staple(Left)|1Staple(Right)

When printing multiple copies using the parameter -#n , you also need to add a parameter -o Collate=true .

Setting the default printer

So you don't have to enter a parameter all the time -Pnázev_tiskarny , you can set the default printer using the command lpoptions -d název_tiskárny . For example, the command lpoptions -d lj4p-duplex sets the default printer to lj4p-duplex.

Direct printing

Each printer has a virtual queue through which jobs are sent directly to the printer without intermediate processing by the print server. The name of this queue is derived from the printer's system name, just add the suffix -raw . Alternatively, use the parameter -o raw at lpr . E.g. therefore lpr -Plj2b -o raw soubor.ps whose lpr -Plj2b-raw soubor.ps .

Locales and printing text files

For the correct output of accented text files, it is necessary to have the locales set, namely the LANG and LC_MESSAGES environment variables (according to the CUPS version, it is certain that both variables are set correctly). For example, for a file containing Czech characters in ISO-8859-2 encoding, the correct setting is:

LANG=cs_CZ.ISO8859-2
LC_MESSAGES=cs_CZ.ISO8859-2

or

LANG=en_US.ISO8859-2
LC_MESSAGES=en_US.ISO8859-2

etc.

Malfunction printing from Mozilla / Firefox browsers; documents intended for "letter" paper size

Especially the 4th floor printers of building B tend not to print correctly the job entered from Mozilla or Firefox unless you explicitly select the paper size as A4 in the printer settings dialog (Ctrl + P). This can also help you to print documents that are written in letter format. If you are specifying a job from the shell, append after the command lpr parameter -o media=a4 .

Problems with psutils

If you want to print multiple pages on one, do not use psnup , but use the -o number-up=počet . Program psnup it does not generate correct Postscript and you may experience problems with subsequent duplex printing. If for some reason postscript has already passed psnup you have, so you can try converting it with the program ps2ps (available eg on aise in module gs ) to correct Postscript or ps2pdf to PDF.

If transfer with help ps2ps generates a document that is unsightly from the original, you can try to fix the original Postscript with the following command (filenames) vstupni.ps and vystupni.ps replace with the appropriate names):

$ sed 's/^%%BeginProcSet/%%Page: 1/;/^%%EndProcSet/d' vstupni.ps >
vystupni.ps
Print A3 on copy4b

When printing A3 documents on the general printer queues, printing may remain waiting for the correct paper tray to be displayed on the display, as the listed printers cannot automatically select / change the A3 tray according to the size of the document being printed.

There are several ways to solve this problem: you can use the -a3 printer queue where the correct tray is set or manually set the "Cassette 2" tray in the print dialog except A3 paper size. For printing, you can use the A3 queue or specify the following switches:

-o media=a3 -o InputSlot=PF700B
Double-sided Landscape printing problems

With some printers (such as copy5c, copy2a), when printing some Landscape PDF / PS documents (such as IS attendance lists), the content of all pages starts printing ninety degrees from the second, rotated ninety degrees to the paper medium, and thus cuts the print. The problem can be overcome by modifying the PS document with a Perl script psmangle.pl . If you want to print a PDF document, you first need to apply a pdf2ps tool.

This problem does not apply to one-sided prints or two-sided Portrait prints. It also does not apply to IS printing where correction is applied automatically.