EECS Instructional Support, University of California at Berkeley
[ ISG home page ] [ who we are ] [ send us email ] [ search ] [ FAQ ]

                          College of Engineering
                     EECS Instructional Support Group
            378/384/386 Cory, 333 Soda - inst@eecs.berkeley.edu


/share/b/pub/printers.help
/share/b/pub/papercut.help


                   Printing from Instructional Computers

								Dec 18 2019
CONTENTS:

	EECS Instructional Printers
	Printer Use Policy and Quotas
	Printing from Windows
	Printing from UNIX
	Printing from Firefox and Acroread on UNIX
	PaperCut: Troubleshooting for students
	PaperCut: Troubleshooting for sysadmins
	Printer Errors

EECS Instructional Printers
---------------------------

  To purchase paper for the EECS Instructional printers, login to
  http://inst.eecs.berkeley.edu/webacct

  If your print job has been denied for any reason, our print server
  tries to notify you by email to your @berkeley.edu email address.

  To locate the EECS Instructional printers, see 
  http://inst.eecs.berkeley.edu/cgi-bin/clients?choice=printers

  To learn about printing commands, see below.

Printer Use Policy and Quotas
-----------------------------

  Each EECS Instructional user has a print quota for the printers in the 
  EECS Instructional labs.  The current policy is:

  * The cost is $0.06 per sheet for single-sided black and white.
  * The cost is $0.10 per sheet for double-sided black and white.
  * The cost is $0.40 per sheet for single-sided color.
  * The cost is $0.60 per sheet for double-sided color.
  * Maximum 50 pages per job, maximum 50 copies per job
  * You start out with a $12 free credit (per person, not per account) 
    each semester.
  * Unused quota is not retained; quotas are reset to $12 each semester.
  * The initial credit compensates you for misprints due to occasional 
    printer jams, etc, so we typically do not refund failed print jobs.
  * You can authorize us (via WebAcct) to bill you for additional paper
    in $12 increments.
  * At the end of the semester we will bill you only for pages you have
    actually printed, then we will reset the quota to the default credit.
  * If you have an exceptional need, please ask us (inst@eecs.berkeley.edu).

  You can logon to WebAcct (http://inst.eecs.berkeley.edu/webacct) to view 
  your print quota allocation and to purchase additional pages.  Pages that 
  you purchase will be billed to you at the end of the semester.

  The previous policy of allocating quota per course has been replaced by
  allocating quota per person, based on your Calnet ID.  Now, when you 
  print from an EECS instructional account, the print manager links that 
  to your Calnet ID.  That linkage is initiated when you obtain an 
  instructional account using our WebAcct web site.

  Reasons we've adapted this new system (PaperCut):

  * It enables you to print using your Calnet account, independent of 
    our EECS computers and accounts.
  * It allows for authenticated WEB printing from your personal laptop
    and other portable devices, which are commonly used in our labs and, 
    in some labs, will replace the traditional workstations over time.
  * It has a print monitoring program that you can run on your computer.
  * We can assign different costs per printer (ie, color).
  * We can set up pools of print users who share a quota.
  * It integrates well with our complex environment (printing from Linux, 
    and Windows).

Printing from Windows
---------------------

  On Windows, you must add a printer to your local logon session before you 
  can print to it from an application such as MS Word.  You can add printers 
  by selecting "Printers and FAXes" from the Start Menu and selecting "Add
  Printer".  The menus and names change slightly in different versions of
  Windows.

  The print spooler for the Windows computers is \\iprint.
  Type \\iprint in a Windows Explorer window to see a list of printers.

  The Windows names for the printers in the Instructional labs is posted on
  each computer.  You can search for the desired printer name or type it in,
  such as "\\iprint\cory140".

  In Instructional labs, the nearest printer is typically set to be your
  default printer automatically when you login.  [This is accomplished
  by the "INST Set Local Printer Default" Group Policy.]

Printing from UNIX
------------------

  Our UNIX sytems have these command-line print programs: 

  'lpstat -a'			to list the available printers
  'lpq -P printer'		to list files in the queue
  'lpr -P printer file'		to print a file
  'lp -d printer file'		to print a file (alternative to "lpr")
  'lprm'			to delete a file from the queue
  'cancel'			to delete a file (alternative to "lprm")

  To do this (for example):			Type this command:

  print "file" to cory199a                  lpr -Pcory199a file
  print "file" to soda274 (double-sided)    lpr -Z duplex  -P soda74 file
  print "file" to soda274 (single-sided)    lpr -Z simplex -P soda274 file
  print "file", 2 pages/sheet, with title   a2ps -2rb -P cory199a file
  show queue; get your request id           lpq -P soda274
  Remove request id 123 from soda274        lprm -P soda274 123
  print 2 pages on one sheet of paper       psnup -2 in.ps out.ps

  Large print jobs may take several minutes to  be  pre-processed  before
  being  sent  to  the printer.  If there is a delay in printing, you can
  check the queue to see if that is the cause.

  You should always specify the printer that you want to use,  since  you
  may have a default printer set that is wrong for your location.  You can 
  specify the printer name using either the PRINTER environment variable or 
  using the '-P printername' command line option, ie either

       % lpr -P soda274 your-file
       % PRINTER=soda274; lpr your-file

  Without any arguments, lprm will delete the currently active printjob 
  if it is owned by you.  You can use '-' instead of a job id to remove i
  ALL of your printjobs in that printer's queue, ie:

       % lprm -P soda274 -

  There are many other options available for  these  commands;  but  this
  should  be  enough to get you started.  For more information, read the 
  on-line manual pages (for example "man lpr", "man lpq", "man a2ps", 
  "man ps2pdf", etc).

  To save paper, you can use the  UNIX  command "psnup" to print multiple 
  pages on a single sheet of paper.

  on Linux:   /usr/bin/psnup    
  on Solaris: /usr/sfw/bin/psnup 

  examples:	% psnup -2 inputfile.ps outputfile.ps
  		% psnup -2 inputfile.ps | lpr -P soda274
  help:		% man -M /usr/sfw/man:/usr/share/man psnup


Printing from Firefox and Acroread on UNIX
------------------------------------------
  
  To print from Firefox on UNIX:

	<ctrl>+P or File-->Print

	Select "Print to LPR"
 	In the "Command Line" text entry box, 
	change "lpr"  to "lpr -P soda274color" and print as usual.

	Or edit the prefs file if you're brave enough; see
  	http://www.sunhelp.org/pipermail/sunhelp/2008-March/022617.html

  To print from Acroread on UNIX:

	<ctrl>+P or File-->Print

	In the upper right text box, change "lp -c" to "lpr -P soda274color"

  "soda274color" is the color printer in 274 Soda.  You can print to other 
  printers instead, such as "soda274" (black and white).


PaperCut: Troubleshooting for students
--------------------------------------

  (July 2016)  We are testing a new print manager called PaperCut.  Here
  are steps a student can take if they send print jobs that never print:

  1) Login to WebAcct (http://inst.eecs.berkeley.edu/webacct) and select 
     "Print Quota" to see if you have run out of print quota.

  2) If you printed from Chrome, try again after selecting the "Print 
     using system dialog...(Ctrl_Shift+P)" option on the Chrome print 
     page. Or, you can print it from Firefox.  Chrome doesn't like some 
     input files.  

  3) If that fails too, email this to "inst@eecs.berkeley.edu":
	* the login name of your Calnet account
	* the login name of the EECS account you printed from
	* the computer and application software you printed from
	* the printer you sent it to
	* the time you sent the print job
	* if possible, where we can get a copy of the same file.


PaperCut: Troubleshooting for sysadmins
---------------------------------------

  (Sep 2016) There are 2 print spoolers running the PaperCut print spooling 
  manager: Wprint and Iprint (both are Windows servers).  For details, see
  https://inst.eecs.berkeley.edu/~inst/staff/SSL/?file=Service-Contracts.txt#32
  https://inst.eecs.berkeley.edu/~inst/staff/SSL/?file=Papercut.txt

  Tracing print jobs:

  1) Login to the PaperCut admin account, search for the printer or the
     Calnet account name, see if the job was denied because it was too 
     large (over 50 pages) or they ran out of quota (give them more).  
     See if the printer is down (out of paper, jammed queue, etc).

  If that's not the problem: 

  2) Verify that the workstation they printed from is setup for CUPS.
     ('/usr/bin/lpstat -a'; echo 'test' | /usr/bin/lpr -P cory199b)

  3) Check the printer queue; clear any jammed jobs.
     ('/usr/bin/lpq -P soda274; /usr/bin/lprm -P soda274')

  4) Check the Event Logs on Wprint; look for errors.

Printer Errors
--------------
  Problem: "...printing with the Soda 274 non color printers - boxes that 
  I did not include in the document appear at the end of every sentence.
  I’ve tried printing from both google drive and PDFs, and both have the
  problem."

  Solution:  It sounds as if you have an obsolete source file.  Please
  see https://forums.adobe.com/thread/230781.  

						EECS Instructional Support
						384/386 Cory, 333 Soda
						inst@eecs.berkeley.edu