Difference between revisions of "Printing"

From CsWiki
Jump to: navigation, search
(Printers located in the shelters on each floor.)
m (Print utility quirks)
 
(42 intermediate revisions by 4 users not shown)
Line 34: Line 34:
  
 
==Print utilities==
 
==Print utilities==
The following print utilities exist:
+
In addition to the various graphical print utilities the following command line print utilities exist:
 
*'''''lpr'''''      - print
 
*'''''lpr'''''      - print
 
*'''''lprm'''''      - remove jobs that have not yet printed
 
*'''''lprm'''''      - remove jobs that have not yet printed
Line 51: Line 51:
  
 
In case of a problem with any of the ''Mafil'' printers, mail ''system''.
 
In case of a problem with any of the ''Mafil'' printers, mail ''system''.
====Controller====
+
===Controller===
 
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'''''.
 
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'''''.
  
====Payment====
+
===Payment===
 
''Mafil'' cards can be bought from a dispensing machine located in ''Levy''.
 
''Mafil'' cards can be bought from a dispensing machine located in ''Levy''.
 
''Mafil'' cards are transferable.
 
''Mafil'' cards are transferable.
The number of pages remaining on the card is show both before and after the job is printed.
+
The number of pages remaining on the card is shown both before and after the job is printed.
  
 
Credit card accounts are debited each day for each job 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.
 
The price per printed side (currently 20 ''agurot'') is shown before the job is printed.
A job can be canceled whilst it is printing.
+
A job can be canceled while it is printing.
 
Only the number of pages actually printed is charged. If a card is forcibly
 
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.
+
removed while a job is printing, it may happen that an extra page is charged.
  
====Print utility quirks====
+
===Print utility quirks===
  
  
====='''''lpq'''''=====
+
===='''''lpq'''''====
==Student aquarium labs==
+
====== '''Student aquarium labs''' ======
 
The '''''lpq''''' utility lists jobs sent to ''Mafil'' printers, even after they have been printed.
 
The '''''lpq''''' utility lists jobs sent to ''Mafil'' printers, even after they have been printed.
 
Only jobs sent over the previous 8 hours are listed.
 
Only jobs sent over the previous 8 hours are listed.
 
By default, only the user's own jobs are listed.
 
By default, only the user's own jobs are listed.
  
==Shelters Printers==
+
====== '''Shelters Printers''' ======
  
 
lpq will show the print job for a short time before it reaches the Print Server.
 
lpq will show the print job for a short time before it reaches the Print Server.
  
To see the list of personal current and former print jobs, a user should log in with CS username and password  
+
To see the list of personal current and former print jobs, a user should log in with CS username and password to [http://lpmafil.cs.huji.ac.il/web/JobSearch.jsp the SafeQ webinterface].
to http://lpmafil.cs.huji.ac.il/web/JobSearch.jsp
+
  
 
==Print quota==
 
==Print quota==
Line 87: Line 86:
 
Guests of the school can print only if they have been allocated quota
 
Guests of the school can print only if they have been allocated quota
 
(and have sufficient quota for the job).
 
(and have sufficient quota for the job).
Quota is normally allocated only by special request of a member of faculty.
+
Quota is normally allocated only by special request of a faculty member.
 
The request should state the number of pages to be allocated.
 
The request should state the number of pages to be allocated.
The member of faculty should request a print quota for his students from his/her Research Grants Administrator(3rd floor).
+
The faculty member should request a print quota for his students from his/her Research Grants Administrator(3rd floor).
  
==How to print==
+
== How to print ==
====Student public labs====
+
  
    Jobs are sent to the printer using the '''''lpr''''' utility.
+
=== Sending a Job ===
    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'''''.
+
  
Examples:
+
==== From CSE Linux computers ====
  mpage -2A file.ps | gs -
+
* Choose '''Mafil''' in the printing GUI
  pdf2ps file.pdf | mpage -2A | lpr
+
* Or send from the commandline using:
 +
lpr -Pmafil FILENAME
  
====Printers located in the shelters on each floor.====
+
==== Mobile Printing ====
 +
* Access '''lpmafil.cs.huji.ac.il/m''' webpage from a mobile phone. Log in with CS username and password. You can upload files for printing and manage print jobs from pmafil/m interface.
  
1.
+
[[File:mobile.png|200px]]
    a) From CS Linux computers  do 'lpr -Pmafil FILENAME' or choose Mafil from GUI printing interface.
+
  
     
+
==== Printing via e-mail ====
 +
* Sending an e-mail from your CSE account to mafil@mail.hebrew.edu with file for printing attached will submit the file for to the Mafil printing queue.
  
2.
+
=== Retrieving a Job ===
    a) '''Send a job to the Mafil printer.'''
+
 
 +
==== Printers in the Shelters ====     
 
    
 
    
    b) '''Access any CSE MAfil printer. Swipe your magnetic card(which opens the doors) at the right side of the controller of the printer.'''
+
* Access any CSE Mafil printer. Swipe your magnetic card(which opens the doors) at the right side of the controller of the printer.
   
+
[[File:11print-scan.jpg|400px]]
      [[File:11print-scan.jpg|400px]]
+
         
   
+
* Choose Print or Job List.
   
+
[[File:2print-scan.jpg|400px]]
    c) '''Choose Print or Job List.'''
+
  
      [[File:2print-scan.jpg|400px]]
+
* Choose the print job to print and press printer icon in the corner
 +
[[File:3print.jpg|400px]]
  
    d) '''Choose the print job to print and press printer icon in the corner'''
+
== Configuring the printer on your device ==
  
      [[File:3print.jpg|400px]]
+
As a rule on CSE managed systems a printer called '''Mafil''' (Linux/macOS) or '''Mafil-PS''' (Windows) should be detected.
 +
If this is not the case please reboot your system, if after the reboot the printer is still not detected please contact system@cs.huji.ac.il for further support.
  
==Configuring the printer==
+
For devices connected over wireless networks only the [http://wiki.cs.huji.ac.il/wiki/Wireless#eduroam Eduroam wireless network] is available for printing.
  
In order to print on the printers located in the shelters:
+
=== Linux ===
  
1.'''Linux users of CS''' computers should reboot their computer.  The printer(Mafil) will be added to the options of graphical printing interface.
+
We assume you are familiar with installing and managing packages on your chosen linux system.
  
2. '''Windows users of CS computers''' have Mafil-PS printer configured. If you don't see it send an email to system or call  phone 94528.
+
Y-Soft released Linux drivers in RPM and DEB format, there are 2 files provided by them that need to be installed, your system may need to resolve some dependencies to be able to install them, the files are linked in the table below.
  
 +
{| class="wikitable"
 +
|-
 +
| Filename
 +
| Deb
 +
| RPM
 +
|-
 +
| libcrafter
 +
| [[file:libcrafter.deb]]
 +
| [[file:libcrafter.rpm]]
 +
|-
 +
| ysoft-client
 +
| [[file:ysoft-client.deb]]
 +
| [[file:ysoft-client.rpm]]
 +
|}
  
3. '''Windows laptop users''':
+
After installing the drivers you can setup the printer, here we show how to do this in the Ubuntu 16.04 GUI but the idea is the same for any CUPS based system.
  
  a) Laptop owners with local user name identical to their CS username download the installation
+
Open the printers dialog
    file [ftp://ftp.cs.huji.ac.il/pub/mafil/SafeQ_Client.-win10-64-secure.msi] and run it. It will require reboot of the computer.
+
   
+
  b) If the username is not the same download this installation file. It will require reboot of the computer.
+
    file [ftp://ftp.cs.huji.ac.il/pub/mafil/SafeQ_Client.-win10-64b-popup-useronly6.msi] and run it.
+
   
+
   
+
    When you print you will be asked for your CS username.
+
   
+
    If you do not want to be asked for Cs  login each time you print, go to "Control Panel\All Control Panel Items\Devices and Printers".
+
    Click on Mafil-PS printer and choose Print Server Properties on the top.
+
  
    [[File:1wtext.png|500px]]
+
[[file:1604 - Printers.png]]
  
    Go to Ports, find SafeQ Secure Port, click on Change Port Settings
+
From the printers dialog choose '''add'''
  
    [[File:2wtext.png|500px]]
+
[[file:1604 - Add Printer.png]]
  
    Find SafeQ Secure Port, click on Configure Port
+
Under Network Printer choose '''YSoft SafeQ connected network printer''' and enter '''sqport://lpmafil.cs.huji.ac.il/mafil''' as device URI
  
    [[File:3wtext.png|500px]]
+
[[file:1604 - Device Selection.png]]
   
+
 
    In Identification section choose Text box and write there you CS username. Click Ok.
+
Now you need to select a driver, first choose '''Generic'''
 +
 
 +
[[file:1604 - Choose Driver.png]]
 +
 
 +
Then choose '''PostScript''' - '''Generic PostScript Printer Foomatic'''
  
    [[File:4wtext.png|500px]]
+
[[file:1604 - Choose Driver 2.png]]
     
+
 
   
+
Now you need to add a description of the printer, this is how it will show in the various GUI programs, what you enter here is entirely your choice.
 +
 
 +
[[file:1604 - Describe Printer.png]]
 +
 
 +
To be able to actually print you still need to set your CSE username, as root start '''ysoft-client-settings'''
 +
 
 +
[[file:1604 - ysoft-client-settings.png]]
 +
 
 +
Now you should be able to send jobs to the Mafil print queue.
 +
 
 +
===Windows===
 +
#'''Windows users of CS computers''' have Mafil-PS printer configured. If you don't see Mafil-PS printer, please send an email to system with the computer name.
 +
#'''Windows laptop users''':
 +
## Laptop owners with local user name identical to their CS username download the [ftp://gofer.cs.huji.ac.il/pub/mafil/Mafil-PS-LPR-RICOH_Aficio_MP_C3002_PS-64Bit-for64bitOS-1.1.0.exe installation file] and run it. It will require a reboot of the computer.
 +
## If the username is not the same download this [ftp://gofer.cs.huji.ac.il/pub/mafil/SafeQ_Client.-win10-64b-popup-useronly6.msi installation file]. It will require a reboot of the computer.
 +
## To use printing with staples at B3 floor printer, download ind install the following [ftp://gofer.cs.huji.ac.il/pub/mafil/Secure-Color&BW-LPR-RICOH_MP_C4504_PCL_5c-64Bit-for64bitOS-1.0.0.exe file.]
 
      
 
      
 
+
When you print you will be asked for your CS username.
 
      
 
      
   
+
If you do not want to be asked for CS  login each time you print, go to "Control Panel\All Control Panel Items\Devices and Printers".
 
+
Click on Mafil-PS printer and choose Print Server Properties on the top.
 
+
[[File:1wtext.png|500px|none]]
 
+
<br>
+
Go to Ports, find SafeQ Secure Port, click on Change Port Settings
 +
[[File:2wtext.png|500px|none]]
 +
<br>
 +
Find SafeQ Secure Port, click on Configure Port
 +
[[File:3wtext.png|500px|none]]
 +
<br>   
 +
In Identification section choose Text box and write there you CS username. Click Ok.
 +
[[File:4wtext.png|500px|none]]
  
 +
=== macOS ===     
 +
'''Mac laptop users''' with local user name identical to their CS username do as shown on the picture.
  
4. '''Mac laptop users''' with local user name identical to their CS username do as shown on the picture.
+
'''If you are on [[Wireless|Eduroam wireless]] network, you should connect to it as username@huji.ac.il and add cs.huji.ac.il to lpmafil, as following lpd://lpmafil.cs.huji.ac.il/mafil'''
  
[[File:New_mac_printer.png|500px]]
+
[[File:New_mac_printer.png|500px|none]]
[[File:New mac printer2.png|500px]]
+
[[File:New mac printer2.png|500px|none]]
  
 
If there is no Advanced Icon -  
 
If there is no Advanced Icon -  
Line 189: Line 216:
  
  
If '''the username of mac laptop is not the same''' as your CS login first  download and install that file [ftp://ftp.cs.huji.ac.il/pub/mafil/YSoft%20SafeQ%20Client%20for%20Mac%20OS%20X-4.5.dmg] , after that install the printer as shown below.
+
If '''the username of mac laptop is not the same''' as your CS login first  download and install that file [[Media:Sierra-4.10.dmg]], after that install the printer as shown below.
  
[[File:Mac-laptop.png|500px]]
+
 +
 
 +
'''If you are on Eduroam wireless network, you should connect to it as username@huji.ac.il and add cs.huji.ac.il to lpmafil, as following sqport://lpmafil.cs.huji.ac.il/mafil'''
 +
 
 +
[[File:Mac-laptop.png|500px|none]]
  
 
When you print there will be a pop-up asking for your CS username and password.  
 
When you print there will be a pop-up asking for your CS username and password.  
  
  
If you do not want to enter CS username each time you print -  
+
If you do not want to enter CS username each time you print -  
  
 
   Go to System Preferences, Ysoft SafeQ.
 
   Go to System Preferences, Ysoft SafeQ.
Line 202: Line 233:
 
   Remove "V" from Web Based Ysoft SafeQ applications.
 
   Remove "V" from Web Based Ysoft SafeQ applications.
 
    
 
    
     [[File:1mtext.png|500px]]
+
     [[File:1mtext.png|500px|none]]
 
+
 
+
  
 +
===Printing to non Mafil Printers from Eduroam wireless network===
  
 +
The printer should be added by its IP or hostname. You might need to install the driver for the printer, most of printers will accept  [https://support.hp.com/il-he/drivers/selfservice/UPD/4157320/model/4157320  HP Universal Driver(PostScript).]
 +
 +
At the Add Printer Wizard choose "The printer that I want isn't listed".
 +
Choose - "Add a printer using TCP/IP address or hostname" and follow the setup with default values.
  
  
Line 215: Line 249:
 
*when printing, choose the Mafil printer in the settings.
 
*when printing, choose the Mafil printer in the settings.
 
*your file will be sent to the mafil printers.
 
*your file will be sent to the mafil printers.
*go to the nearest mafil printer. swipe your magnetic card into the device next to the printer and choose the file you wish to print. Unprinted jobs are discarded after 8 hours.*
+
*go to the nearest mafil printer. swipe your magnetic card into the device next to the printer and choose the file you wish to print. Unprinted jobs are discarded after 8 hours.
  
 
==If the RFID card is not with you today==
 
==If the RFID card is not with you today==
Line 226: Line 260:
  
 
The pin will be active for one day.
 
The pin will be active for one day.
 +
[[category:Basic Account Information]]

Latest revision as of 11:49, 21 September 2020

Printers

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

In addition to the various graphical print utilities the following command line 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.

Student labs aquarium printers

Jobs sent to printer st can be printed on any Mafil printer in public student labs(aquariums). 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.

Controller

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.

Payment

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 shown 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 while it is printing. Only the number of pages actually printed is charged. If a card is forcibly removed while a job is printing, it may happen that an extra page is charged.

Print utility quirks

lpq

Student aquarium labs

The lpq utility lists 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.

Shelters Printers

lpq will show the print job for a short time before it reaches the Print Server.

To see the list of personal current and former print jobs, a user should log in with CS username and password to the SafeQ webinterface.

Print quota

Members of staff and graduate students can always print on CSE Mafil printers.

Guests of the school 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 faculty member. The request should state the number of pages to be allocated. The faculty member should request a print quota for his students from his/her Research Grants Administrator(3rd floor).

How to print

Sending a Job

From CSE Linux computers

  • Choose Mafil in the printing GUI
  • Or send from the commandline using:
lpr -Pmafil FILENAME 

Mobile Printing

  • Access lpmafil.cs.huji.ac.il/m webpage from a mobile phone. Log in with CS username and password. You can upload files for printing and manage print jobs from pmafil/m interface.

Mobile.png

Printing via e-mail

  • Sending an e-mail from your CSE account to mafil@mail.hebrew.edu with file for printing attached will submit the file for to the Mafil printing queue.

Retrieving a Job

Printers in the Shelters

  • Access any CSE Mafil printer. Swipe your magnetic card(which opens the doors) at the right side of the controller of the printer.

11print-scan.jpg

  • Choose Print or Job List.

2print-scan.jpg

  • Choose the print job to print and press printer icon in the corner

3print.jpg

Configuring the printer on your device

As a rule on CSE managed systems a printer called Mafil (Linux/macOS) or Mafil-PS (Windows) should be detected. If this is not the case please reboot your system, if after the reboot the printer is still not detected please contact system@cs.huji.ac.il for further support.

For devices connected over wireless networks only the Eduroam wireless network is available for printing.

Linux

We assume you are familiar with installing and managing packages on your chosen linux system.

Y-Soft released Linux drivers in RPM and DEB format, there are 2 files provided by them that need to be installed, your system may need to resolve some dependencies to be able to install them, the files are linked in the table below.

Filename Deb RPM
libcrafter File:Libcrafter.deb File:Libcrafter.rpm
ysoft-client File:Ysoft-client.deb File:Ysoft-client.rpm

After installing the drivers you can setup the printer, here we show how to do this in the Ubuntu 16.04 GUI but the idea is the same for any CUPS based system.

Open the printers dialog

1604 - Printers.png

From the printers dialog choose add

1604 - Add Printer.png

Under Network Printer choose YSoft SafeQ connected network printer and enter sqport://lpmafil.cs.huji.ac.il/mafil as device URI

1604 - Device Selection.png

Now you need to select a driver, first choose Generic

1604 - Choose Driver.png

Then choose PostScript - Generic PostScript Printer Foomatic

1604 - Choose Driver 2.png

Now you need to add a description of the printer, this is how it will show in the various GUI programs, what you enter here is entirely your choice.

1604 - Describe Printer.png

To be able to actually print you still need to set your CSE username, as root start ysoft-client-settings

1604 - ysoft-client-settings.png

Now you should be able to send jobs to the Mafil print queue.

Windows

  1. Windows users of CS computers have Mafil-PS printer configured. If you don't see Mafil-PS printer, please send an email to system with the computer name.
  2. Windows laptop users:
    1. Laptop owners with local user name identical to their CS username download the installation file and run it. It will require a reboot of the computer.
    2. If the username is not the same download this installation file. It will require a reboot of the computer.
    3. To use printing with staples at B3 floor printer, download ind install the following file.

When you print you will be asked for your CS username.

If you do not want to be asked for CS login each time you print, go to "Control Panel\All Control Panel Items\Devices and Printers". Click on Mafil-PS printer and choose Print Server Properties on the top.

1wtext.png


Go to Ports, find SafeQ Secure Port, click on Change Port Settings

2wtext.png


Find SafeQ Secure Port, click on Configure Port

3wtext.png


In Identification section choose Text box and write there you CS username. Click Ok.

4wtext.png

macOS

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

If you are on Eduroam wireless network, you should connect to it as username@huji.ac.il and add cs.huji.ac.il to lpmafil, as following lpd://lpmafil.cs.huji.ac.il/mafil

New mac printer.png
New mac printer2.png

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 Media:Sierra-4.10.dmg, after that install the printer as shown below.


If you are on Eduroam wireless network, you should connect to it as username@huji.ac.il and add cs.huji.ac.il to lpmafil, as following sqport://lpmafil.cs.huji.ac.il/mafil

Mac-laptop.png

When you print there will be a pop-up asking for your CS username and password.


If you do not want to enter CS username each time you print -

 Go to System Preferences, Ysoft SafeQ.
 Choose "Text" for Identification, enter your CS username.
 Remove "V" from Web Based Ysoft SafeQ applications.
 
1mtext.png

Printing to non Mafil Printers from Eduroam wireless network

The printer should be added by its IP or hostname. You might need to install the driver for the printer, most of printers will accept HP Universal Driver(PostScript).

At the Add Printer Wizard choose "The printer that I want isn't listed". Choose - "Add a printer using TCP/IP address or hostname" and follow the setup with default values.


printing:

Mafil printers:

  • when printing, choose the Mafil printer in the settings.
  • your file will be sent to the mafil printers.
  • go to the nearest mafil printer. swipe your magnetic card into the device next to the printer and choose the file you wish to print. Unprinted jobs are discarded after 8 hours.

If the RFID card is not with you today

If the magnetic card is not with you today. A PIN can be issued for temporal(1 day) identification at the Printer Controller.

Log in with CS uername and password to http://lpmafil.cs.huji.ac.il/web/Dashboard.jsp

Use Generate PIN option to create a PIN for use.

The pin will be active for one day.