From CsWiki
Revision as of 15:50, 24 May 2016 by Tanya1 (Talk | contribs) (Printers)

Jump to: navigation, search


The printer in each of the public student labs (aquariums) is called st. The st printers are managed by the Mafil company and can be used by everyone.

The following printers are also available for staff members and graduate students or other users who have been granted quota. See Print quota below:

Printer Location
mafil Room A319
mafil Room A419
mafil Room B317
mafil Room A519
mafil Room B419
mafil Room B519
mafil color Room B319
mafil color Room B113

Which printer?

All undergraduate (stud) UNIX accounts are configured to use the st mafil printers in the student's labs(aquariums). Other users(staff members, graduated students, etc.) can print to the printers located in the shelters on each floor.

Print utilities

The following print utilities exist:

  • lpr - print
  • lprm - remove jobs that have not yet printed
  • lpq - list jobs
  • lpin - change Mafil ID number
  • lprelease - release jobs queued on an intermediate printer to the Mafil printer

All print utilities provide help, if given the --help flag.

Mafil printers for students in aquariums

Jobs sent to printer st can be printed on any Mafil printer. In order to print a job, the user must either swipe a credit card or insert a special Mafil card into the device next to the printer. He will then be requested to enter an ID number. A user's Mafil ID number is initially his Mispar Zehut, but it can be changed using the lpin utility. If the user has sent more than one job, he will be able to choose which of the jobs he wishes to print. Unprinted jobs are discarded after 8 hours.

In case of a problem with any of the Mafil printers, mail system or, if urgent, call 84195, 85298, 85521, 85691, 85692, 85693, 86156 or 86942.


The Mafil controller displays the time that the job was received (hour, minute and second are separated by round closing bracket), followed by the word job followed by the job number listed by command lpq. The time shown by the controller may be a second or two later than the time shown by lpq.


Mafil cards can be bought from a dispensing machine located in Levy. Mafil cards are transferable. The number of pages remaining on the card is show both before and after the job is printed.

Credit card accounts are debited each day for each job printed.

The price per printed side (currently 20 agurot) is shown before the job is printed. A job can be canceled whilst it is printing. Only the number of pages actually printed is charged. If a card is forcibly removed whilst a job is printing, it may happen that an extra page is charged.

Print utility quirks


The lprm utility does not work for jobs sent to the Mafil printers. If lprm may be needed, jobs should instead be sent to the rest printer and, at a later time, released to the st printer using the lprelease utility.


The lpq utility continues to list jobs sent to Mafil printers, even after they have been printed. Only jobs sent over the previous 8 hours are listed. By default, only the user's own jobs are listed.

CS printers

Printing from Windows

To add a CS printer to your PC or personal laptop:

From the "run window" or Windows explorer go to \\samba. Find the printer you need in the opened folder. Right click the printer and choose Connect.

In order to print or add the printer you have to be on the CS wired or wireless network(NWCSE).

Print quota

Members of staff can always print on CSE printers. All other users can print only if they have been allocated quota (and have sufficient quota for the job). Quota is normally allocated only by special request of a member of faculty. The request should state the number of pages to be allocated.

Quota accounting

One page of quota is deducted per side of paper printed. The following utilities are available:

  • Show current quota:
  • List all quota allocations since quota was last reset
 psquota --verbose
  • List all quota deductions since quota was last reset

Command printjobs takes a variety of arguments. To see, do

 printjobs --help

How to print

Jobs are sent to the printer using the lpr utility. Most printers can print only PostScript and Text files. (Of the public printers, gr, cps, ps4 and l5 can print also PDF files.) Document viewers e.g. firefox and acroread, convert a document to PostScript before piping to lpr. Various command line utilities are also available for converting to PostScript e.g. enscript and a2ps for Text, and pdf2ps for PDF. Other utilities manipulate a PostScript file e.g mpage can put multiple pages on one physical page. Document viewers for PostScript include gs and gv.


 mpage -2A | gs -
 pdf2ps file.pdf | mpage -2A | lpr

Mafil test printing at 4th floor building A

In order to print on the new Mafil printer at A4:

1.Linux users of CS computers should reboot their computer. The printer will be added to the options of graphical printing interface.

2. Windows users of CS computers need to have admin permissions to add the printer, so get in touch with ( phone 94528). Or if you have admin permissions download and install the file [1]

3. Windows laptop users:

 a) who have  local laptop user name identical to their CS username download the installation
    file [2] and run it.
 b) if the username is not the same  Mafil company will provide later an executable, 
    that will make a one click  installation.
    For now get in touch with ( phone 94528) or bring her your laptop.

4. Mac laptop users with local user name identical to their CS username do as shown on the picture.


If there is no Advanced Icon - right click the toolbar area, choose "Customize Toolbar", right click "Advanced" and choose "Add Advanced"

If the username of mac laptop is not the same as your CS login first download and install that file [3] , after that install the printer as shown above. When you print there will be a pop-up asking for your CS username and password.

Or bring your laptop to Tanya (room B113, phone 94528).