Difference between revisions of "Math Computing Cheat Sheet"

From UCB Math Wiki
Jump to: navigation, search
(Created page with "== Email == {|cellpadding="10" |-style="background-color: #dfdfdf" ! width="10%" | Task ! width="30%" | URL ! width="20%" | Your email addresses ! width="40%" | Remarks |- | c...")
 
(Web)
Line 31: Line 31:
  
 
{|cellpadding="10"
 
{|cellpadding="10"
|-style="background-color: #dfdfdf"
+
|- style="background-color: #dfdfdf"
 
! width="20%" | Task
 
! width="20%" | Task
 
! width="30%" | URL
 
! width="30%" | URL
Line 55: Line 55:
 
* make sure the file/folder permissions are right
 
* make sure the file/folder permissions are right
 
* read more in the [[Webpage Guide]]
 
* read more in the [[Webpage Guide]]
 +
|}
 +
 +
== Printing ==
 +
 +
=== Public Printers ===
 +
{|cellpadding="10"
 +
|- style="background-color: #dfdfdf"
 +
! Queue Name
 +
! Location
 +
! Maker & Model
 +
! Printer Queue URL
 +
|-
 +
| 958_large
 +
| 958 Evans Hall
 +
| Canon iR7095
 +
| http://printserver.math.berkeley.edu:631/printers/958_large
 +
|- style="background-color: #f0f0f0"
 +
| 958_small
 +
| 958 Evans Hall
 +
| Canon iR6570
 +
| http://printserver.math.berkeley.edu:631/printers/958_small
 +
|-
 +
| 1002
 +
| 1002 Evans Hall
 +
| HP P4515
 +
| http://printserver.math.berkeley.edu:631/printers/1002
 +
|- style="background-color: #f0f0f0"
 +
| 838
 +
| 838 Evans Hall
 +
| HP M603
 +
| http://printserver.math.berkeley.edu:631/printers/838
 +
|-
 +
| 744
 +
| 744 Evans Hall
 +
| HP P4515
 +
| http://printserver.math.berkeley.edu:631/printers/744
 +
|}
 +
 +
 +
=== Printing Tasks ===
 +
{|cellpadding="10"
 +
|- style="background-color: #dfdfdf"
 +
! width="20%" | Task
 +
! width="30%" | Commands
 +
! width="50%" | Remarks
 +
|-
 +
| print a document from a GUI application (e.g. standalone PDF reader)
 +
|
 +
* press Ctrl-P (in Unix or Windows)
 +
* press Command-P (in MacOS)
 +
* select the queue name from the above list of public printers
 +
|
 +
* send large jobs to one of Canon printers
 +
* use two-sided printing option (save trees)
 +
* sometimes, a (malformed) PDF document won't print from the web browser, but prints OK from a standalone PDF viewer (e.g. Adobe Reader)
 +
|- style="background-color: #f0f0f0"
 +
| print a document from Unix command line
 +
|
 +
* <tt>lpr -P <u>queue</u> <u>file</u></tt>
 +
|
 +
* replace ''<u>queue</u>'' with the queue name from the above list of public printers
 +
* replace ''<u>file</u>'' with the file path of the document to print
 +
|-
 +
| check the print queue status from Unix command line
 +
|
 +
* <tt>lpq -P <u>queue</u> </tt>
 +
|
 +
* replace ''<u>queue</u>'' with the queue name from the above list of public printers
 +
|- style="background-color: #f0f0f0"
 +
| cancel the job from Unix command line
 +
|
 +
* <tt>lprm <u>job</u></tt>
 +
|
 +
* replace ''<u>job</u>'' with the job number from the above output of ''lpq'' command
 +
* you have to own the ''<u>job</u>'' in order to able to cancel it
 +
|-
 +
| add a printer to personal Windows computer
 +
|
 +
* go to Add Network Printer dialogue
 +
* use the URL from the above list of public printers
 +
* use a proper Postscript driver (see remarks)
 +
|
 +
* it is recommended to download and unpack (not to install) the HP universal Postscript driver for any of the above HP printers
 +
* it is recommended to download and unpack (not to install) the Canon imageRunner Postscript driver for the above Canon printers
 +
|- style="background-color: #f0f0f0"
 +
| add a printer to personal Mac computer
 +
|
 +
* go to the list of printers in System Preferences
 +
* click on + sign
 +
* click on the IP tab
 +
* select IPP protocol
 +
* type ''printserver.math.berkeley.edu'' in Address
 +
* type ''printers/<u>queue</u>'' in Queue
 +
* type ''<u>queue</u>'' in Name
 +
* select Generic Postscript Printer
 +
* click on Add button and check the Duplex Printing Unit
 +
* click on OK button
 +
|
 +
* replace ''<u>queue</u>'' with the queue name from the above list of public printers
 +
* it is recommended to replace the Generic Postscript driver with a more specific one from the print server itself
 +
* for example:
 +
** download the PPD file http://printserver.math.berkeley.edu:631/printers/1002.ppd
 +
** go to the printer list in System Preferences
 +
** select the printer 1002 and click on Options & Supplies
 +
** click on the Driver tab and select Other...
 +
** use the downloaded PPD file ''1002.ppd''
 
|}
 
|}

Revision as of 16:59, 20 August 2013

Email

Task URL Your email addresses Remarks
create account https://calmail.berkeley.edu/manage/account/create_account jane.doe@berkeley.edu
  • requires CalNet Authentication
  • you have to accept the terms of service
  • your @math address is created by department
access email http://bmail.berkeley.edu
  • jane.doe@berkeley.edu
  • jdoe@math.berkeley.edu
  • requires CalNet Authentication
  • accept the terms of service at first time
  • both addresses point to the same Gmail box
  • you can make jdoe@math.berkeley.edu default

Web

Task URL Remarks
read department web pages http://math.berkeley.edu
  • no authentication required
edit your official page /people
  • requires CalNet Authentication
  • click on Edit tab of the page you own
  • upload your photo, add alink, etc.
create/edit your personal page /~jdoe
  • create public_html folder in your Unix home
  • create/edit index.html file in the above folder
  • make sure the file/folder permissions are right
  • read more in the Webpage Guide

Printing

Public Printers

Queue Name Location Maker & Model Printer Queue URL
958_large 958 Evans Hall Canon iR7095 http://printserver.math.berkeley.edu:631/printers/958_large
958_small 958 Evans Hall Canon iR6570 http://printserver.math.berkeley.edu:631/printers/958_small
1002 1002 Evans Hall HP P4515 http://printserver.math.berkeley.edu:631/printers/1002
838 838 Evans Hall HP M603 http://printserver.math.berkeley.edu:631/printers/838
744 744 Evans Hall HP P4515 http://printserver.math.berkeley.edu:631/printers/744


Printing Tasks

Task Commands Remarks
print a document from a GUI application (e.g. standalone PDF reader)
  • press Ctrl-P (in Unix or Windows)
  • press Command-P (in MacOS)
  • select the queue name from the above list of public printers
  • send large jobs to one of Canon printers
  • use two-sided printing option (save trees)
  • sometimes, a (malformed) PDF document won't print from the web browser, but prints OK from a standalone PDF viewer (e.g. Adobe Reader)
print a document from Unix command line
  • lpr -P queue file
  • replace queue with the queue name from the above list of public printers
  • replace file with the file path of the document to print
check the print queue status from Unix command line
  • lpq -P queue
  • replace queue with the queue name from the above list of public printers
cancel the job from Unix command line
  • lprm job
  • replace job with the job number from the above output of lpq command
  • you have to own the job in order to able to cancel it
add a printer to personal Windows computer
  • go to Add Network Printer dialogue
  • use the URL from the above list of public printers
  • use a proper Postscript driver (see remarks)
  • it is recommended to download and unpack (not to install) the HP universal Postscript driver for any of the above HP printers
  • it is recommended to download and unpack (not to install) the Canon imageRunner Postscript driver for the above Canon printers
add a printer to personal Mac computer
  • go to the list of printers in System Preferences
  • click on + sign
  • click on the IP tab
  • select IPP protocol
  • type printserver.math.berkeley.edu in Address
  • type printers/queue in Queue
  • type queue in Name
  • select Generic Postscript Printer
  • click on Add button and check the Duplex Printing Unit
  • click on OK button
  • replace queue with the queue name from the above list of public printers
  • it is recommended to replace the Generic Postscript driver with a more specific one from the print server itself
  • for example: