translated by Google

Print on FI

This article describes the possibilities of printing staff and PhD student FIs. Students can use it Paid SUPO printing in the lobby . For printing outside FI, continue to other printers at MU .

For a list of printers that you have enabled printing, see Fadmin → My Account → Overview → Printers . If you need access to other printers, write to unix@fi.muni.cz .

See one of the following sections for instructions on printing from your operating system:

List of printers

Name Location Hardware Comment CUPS Samba
copy2a block A, 2nd floor, kitchenette Triumph-Adler 4505c multifunction color printer / copier copy2a copy2a
lj2a block A, 2nd floor, kitchenette HP LaserJet 600 M603 lj2a lj2a
copy3a block A, 3rd floor, kitchenette Triumph-Adler 4505c multifunction color printer / copier copy3a copy3a
lj3a block A, 3rd floor, kitchenette HP LaserJet 600 M603 lj3a lj3a
lj-a302 block A, 3rd floor, A302, LaSArIS HP LaserJet 600 M603 lj-a302 lj-a302
copy4a block A, 4th floor, kitchenette Triumph-Adler 4505c multifunction color printer / copier copy4a copy4a
lj4a block A, 4th floor, kitchenette HP LaserJet 600 M603 lj4a lj4a
lj-b010 block B, ground floor, building management OKI C531dn lj-b010 lj-b010
lj2b block B, 2nd floor, kitchenette HP LaserJet P3015 lj2b lj2b
lj3b block B, 3rd floor, kitchenette HP LaserJet P4515x lj3b lj3b
copy4b block B, 4th floor UTAX CDC1725 multifunction color printer / copier (copy4b-a3 = print on A3, * -g = grayscale) copy4b copy4b
lj4p block B, 4th floor, for the copier HP LaserJet P4015x lj4p lj4p
copy5b block B, 5th floor UTAX CDC1945 multifunction color printer / copier (copy5b-a3 = print on A3, * -g = grayscale) copy5b copy5b
copy4c block C, 4th floor Triumph-Adler 4505c multifunction color printer / copier (copy4c-a3 = print on A3) copy4c copy4c
lj4c block C, 4th floor, for the copier HP LaserJet 600 M603 lj4c lj4c
copy5c block C, 5th floor Triumph-Adler 4505c multifunction color printer / copier copy5c copy5c
lj5c block C, 5th floor, for the copier HP LaserJet 600 M603 lj5c lj5c

Print from Windows

You can print in two ways:

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

Sharing printers via Samba

Download installer from list of printers , column "Samba". Running will add a new printer and install the appropriate drivers.

You can also print from this wired printer from the Eduroam or wlan_fi WiFi networks.

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 via an Ethernet cable and must be allowed to print. If you wish to allow printing from your machine, type on unix@fi.muni.cz .
  • Download installer from list of printers , column "CUPS". Running will add a new printer and install the appropriate drivers.

Note: Do not login with so-called display name, which is displayed in the menu, for example Start . You can leave it unchanged.

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

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

When installing, you need to install the printer drivers by yourself, depending on the type of printer you see, section 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 (placement and naming may vary slightly in different versions of Windows). And enter the printer name box http://print.fi.muni.cz:631/printers/ and the name of the printer, lj4b or lj5c . The resulting string may look like this: http://print.fi.muni.cz:631/printers/lj3b .

Print from macOS

  • On the machine you are printing from, you must have the same login as your faculty.
  • The machine must be connected to the network via an Ethernet cable and must be allowed to print. If you wish to allow printing from your machine, type on unix@fi.muni.cz .

Add new printer can be through System Preferences → Print & Scan and create another plus button in the window that appears under the list of existing printers. Next, you need to fill out an IP configuration, 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 it after entering and confirming this data Duplex Printing Unit .

Print from Linux

The machine must be connected to the network via an Ethernet cable and must be allowed to print. If you wish to allow printing from your machine, type on unix@fi.muni.cz .

It is necessary to have a print system installed CUPS . After installing CUPS you need to file /etc/cups/client.conf add a (or edit existing) item to a separate row ServerName :

ServerName print.fi.muni.cz

Print and username

Print jobs must be sent from a user account whose login is identical to your faculty login. Therefore, we generally recommend working with a faculty login account.

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

mujlogin$ gksudo -u xlogin libreoffice &

or if you have a SSH server installed 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 ...
  • Listing the print queue content: lpq -Ptiskárna
  • Canceling 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

More about lpr (individual parameters lpr it is usually possible to enter and pause in one command):

  • Forcing the paper size (see also tips below): lpr -o media=a5 soubor
  • Forcing duplex printing (turning over the longer side of the sheet): lpr -o sides=two-sided-long-edge soubor
  • Force duplex printing (rotation over shorter side of sheet): lpr -o sides=two-sided-short-edge soubor
  • More (scaled) pages per page: lpr -o number-up=4 soubor
  • Printing in three copies: lpr -#3 soubor
  • ... a full list of generally applicable options can be found here

Tips for printing from Linux

Automatic sheet stacking when printing

The corresponding parameter lpr are for copy4b, copy5b:

-o KCStaple=UpperLeft|UpperRight

for copy5c, copy2a:

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

If you print multiple copies using the parameter -#n , it is also necessary to add a parameter -o Collate=true .

Set the default printer

You do not need to enter the parameter at all times -Pnázev_tiskarny , you can set the default printer by 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 (raw) printing

There is a virtual queue for each printer, through which the jobs are sent without the print server interfacing directly to the printer. The name of this queue is derived from the system name of the printer, just add a suffix -raw . Optionally, 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 of text files

For correct output of accented text files, it is necessary to have locales, namely the environment variables LANG and LC_MESSAGES (according to CUPS version, the correct setting of both variables is certain). For example, for a file containing Czech characters in ISO-8859-2, 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 .;

Invalid print from Mozilla / Firefox browsers; documents intended for paper size "letter"

Especially printers on the 4th floor of building B tend to not properly print a job specified by Mozilla or Firefox if you do not explicitly select the paper size as A4 in the Print dialog (Ctrl + P) in the Printer Settings. This can also help with the non-printing of documents that are written in "letter" format. If you enter a job from the shell, attach it as a command lpr parameter -o media=a4 .

Problems with psutils

If you want to print multiple pages at one, do not use it psnup , but use the parameter -o number-up=počet . Program psnup it does not generate correct Postscript and you may encounter problems when duplicating the duplicate. If for some reason Postscript has passed psnup you have it, so you can try it over the program ps2ps (available for example on aisle in module gs ) to correct Postscript or ps2pdf to PDF.

If transfer with help ps2ps generates a document that is unsightly versus the original, you can try to correct the original Postscript by following the command (file names 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 general printers of the printers, the printing may remain awaiting the correct paper tray on the display because the printers can not automatically select / change the tray to A3 according to the size of the printed document.

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

-o media=a3 -o InputSlot=PF700B
Problems with two-sided Landscape printing

For some printers (such as copy5c, copy2a), when printing some Landscape PDF / PS documents (for example, ISPs), the content of all pages is duplexed, starting at 90 degrees to the paper media, and the print is cropped. You can bypass the issue by modifying PS with a Perl script psmangle.pl . If you want to print a PDF document, you need to apply the pdf2ps tool first.

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