Difference between revisions of "Printing"
(correct hostname and add PCL) |
(update printer and room names) |
||
Line 28: | Line 28: | ||
* <code>echo "test" | lpr</code> : prints the text "test" to the default printer | * <code>echo "test" | lpr</code> : prints the text "test" to the default printer | ||
* <code>lpr filename</code> : prints <code>filename</code> to the default printer | * <code>lpr filename</code> : prints <code>filename</code> to the default printer | ||
− | * <code>lpr -P | + | * <code>lpr -P e1118-hp8150 filename</code> : prints <code>filename</code> to the printer in the Engineering Hall 1118 Student Center |
* <code>lpr -o sides=two-sided-long-edge filename</code> : prints <code>filename</code> duplex (two-sided) to the default printer | * <code>lpr -o sides=two-sided-long-edge filename</code> : prints <code>filename</code> duplex (two-sided) to the default printer | ||
* <code>lpr -o number-up=2 filename</code> : prints <code>filename</code> using half as much paper | * <code>lpr -o number-up=2 filename</code> : prints <code>filename</code> using half as much paper | ||
Line 35: | Line 35: | ||
* <code>lpq -a</code> : displays the current queue of all print jobs | * <code>lpq -a</code> : displays the current queue of all print jobs | ||
* <code>lprm 30</code> : removes print job <code>30 <code> from the print queue | * <code>lprm 30</code> : removes print job <code>30 <code> from the print queue | ||
− | * <code>lpoptions -d | + | * <code>lpoptions -d e1118-hp8150</code> : sets your default printer to n016-hp8150 |
Revision as of 15:50, 31 May 2017
Departmental printers are available for use on each floor of Nichols Hall. See the printers list or the bottom of this page for a list of current printers available.
As a student of the CIS department, you are entitled to print 250 pages free of charge each semester (graduate students may be given more depending on their status).
NOTE: Use of printers is restricted to CIS students and should not be used to give access to anyone else. Unauthorized use may result in loss of account privileges.
Printing from a lab machine
Windows
Appropriate printers for your login should appear automatically in the File > Print dialog. If you feel that there are printers missing that you should have access to, please contact the support team. You can also manually add the printers by following instructions below.
Linux
Print Commands
The CIS department uses the Common UNIX Printing System for printing under Linux. In addition to printing from the File->Print menu in most graphical applications, users have the ability to print from the commandline. Some of the commonly used commands are the following:
lp
orlpr
: both of these print files, the examples below uselpr
lpq
: displays queued print jobslprm
: removes queued print jobslpstat
: gives status information for printerslpoptions
: sets user-specific printer options and defaults
Examples of how to perform some common tasks:
lpstat -p
: displays a list of available printers in the department (access to all printers except those in labs is restricted to certain users)echo "test" | lpr
: prints the text "test" to the default printerlpr filename
: printsfilename
to the default printerlpr -P e1118-hp8150 filename
: printsfilename
to the printer in the Engineering Hall 1118 Student Centerlpr -o sides=two-sided-long-edge filename
: printsfilename
duplex (two-sided) to the default printerlpr -o number-up=2 filename
: printsfilename
using half as much paperlpr -#4 filename
: prints 4 copies offilename
to the default printerlpq
: displays the current queue of print jobs running on the default printerlpq -a
: displays the current queue of all print jobslprm 30
: removes print job30
from the print queue
lpoptions -d e1118-hp8150
: sets your default printer to n016-hp8150
For more information, refer to the Cups Guide to printing and the man pages for the tools.
Printing text files
In addition to printing the text files "raw", one can use the following utilities to format the text:
a2ps filename.txt | lpr
: prints the text file in a nicer format; check the man file for more options as this program can do quite a bit
enscript -r filename.txt | lpr
: prints a text file in landscape format; check the man file for more options as this program (like a2ps
) can do quite a bit
Printing from a personal or office computer
All Users
Choose one of the following for public printers
e1118-hp9050
e2221-hp9050
If you are a member of staff or faculty, you have access to restricted printers. A list of these can be found on the Printers page or at the bottom of this page. Others will only have access to the printers in public labs.
If you want/need the drivers for the Savin copier/printer, you can download it here.
Windows
To install one of the department printers on your Windows laptop, follow these
steps.
- Go to your Start Menu > Run
- XP: Click Run, type in
\\johnson.win2.cs.ksu.edu
, and click "OK"
- Vista/Windows 7/8/10: Type
\\johnson.win2.cs.ksu.edu
in the "Start Search" box and press <Enter>
- Note (for all versions of Windows): Wired network users may use “johnson” instead of “johnson.win2.cs.ksu.edu” for the server name, but either will work. Wireless users must use the long form.
- If prompted, enter your CIS username and password
- Vista/Windows 7/8/10: In the Username box type "WIN2\<username>", where <username> is your username.
- Right click on the printer you want and select "Connect"
OS X
To install one of the department printers on your OS X laptop, follow these
steps.
- Open the "Printers & Scanners" preference pane from the System Preferences
- Click on the "+" to add a printer
- Click on the "Advanced" Icon (it will look like a cog)
- If you do not have the Advanced Icon showing up, just right a blank area of the "Add" window next to the icons and select "Customize Toolbar"
- Then just drag the Advanced Icon to the "Add" window
- After you have clicked on the Advanced Icon select the "Windows printer via spoolss" type
- Next a samba connect will need to be made, in the box labeled URL you will need to put
smb://johnson.win2.cs.ksu.edu/{printer name}
- Optional: Give the printer setup a name and location
- In the "Use" box at the bottom select either "Generic PostScript Printer" or "Generic PCL Printer"
- Press the "Add" button at the very bottom, this should verify and try to connect with the print you have specified
- If everything works out fine, you will be able to finalize your printer and use it
Current Printer Information
Printer Name
Access Restrictions
Location
Model
Windows
Linux
Device Options
e1118-hl-l9430cnd
anybody
Engineering Hall 1118 (Student Center)
Brother HL-L9430CND
Yes
Yes
Color, Duplex Unit
e2184b-KM_C658-B&W-1-Sided
faculty/staff/grads
Engineering Hall 2184B (Copier)
Minolta C658 Color Copier
Yes
No
Black&White, 1-Sided, Stapler, Hole Punch
e2184b-KM_C658-B&W-2-Sided
faculty/staff/grads
Engineering Hall 2184B (Copier)
Minolta C658 Color Copier
Yes
No
Black&White, 2-Sided, Stapler, Hole Punch
e2184b-KM_C658-Color-1-Sided
faculty/staff/grads
Engineering Hall 2184B (Copier)
Minolta C658 Color Copier
Yes
No
Color, 1-Sided, Stapler, Hole Punch
e2184b-KM_C658-Color-2-Sided
faculty/staff/grads
Engineering Hall 2184B (Copier)
Minolta C658 Color Copier
Yes
No
Color, 2-Sided, Stapler, Hole Punch
e2184b-KM_C658-ByPass-B&W-1-Sided
faculty/staff/grads
Engineering Hall 2184B (Copier)
Minolta C658 Color Copier
Yes
No
ByPass, Black&White, 1-Sided, Stapler, Hole Punch
e2184b-KM_C658-ByPass-B&W-2-Sided
faculty/staff/grads
Engineering Hall 2184B (Copier)
Minolta C658 Color Copier
Yes
No
ByPass, Black&White, 2-Sided, Stapler, Hole Punch
e2184b-KM_C658-ByPass-Color-1-Sided
faculty/staff/grads
Engineering Hall 2184B (Copier)
Minolta C658 Color Copier
Yes
No
ByPass, Color, 1-Sided, Stapler, Hole Punch
e2184b-KM_C658-ByPass-Color-2-Sided
faculty/staff/grads
Engineering Hall 2184B (Copier)
Minolta C658 Color Copier
Yes
No
ByPass, Color, 2-Sided, Stapler, Hole Punch
e2184b-KM_C658
faculty/staff/grads
Engineering Hall 2184B (Copier)
Minolta C658 Color Copier
No
Yes
Color, Duplex unit
e2193-hl-l5100
faculty/staff/grads
Engineering Hall 2193 (Vasserman Lab)
Brother HL-L5100
Yes
Yes
Black&White, Duplex unit
e2194-db3460
faculty/staff/grads
Engineering Hall 2194 (Amariucai Lab)
Dell b3460
Yes
Yes
Color, Duplex Unit
e2206-hp4300
faculty/staff/grads
Engineering Hall 2206 (SAnTos Lab)
HP LaserJet 4300
Yes
Yes
Color, Duplex Unit
e2221-canon-mf632
faculty/staff/grads
Engineering Hall 2221 (Hsu Lab)
Canon MF632C
Yes
Yes
Color, Duplex unit
e2222-hl-l8360cdwt
IT staff
Engineering Hall 2222 (IT Office)
Brother Color Laser HL-L8360CDWT
Yes
Yes
Color, Duplex unit
e2224-hl-l5100
faculty/staff/grads
Engineering Hall 2224 (Hitzler Lab)
Brother HL-L5100
Yes
Yes
Black&White, Duplex unit
e2226-hpm477
faculty/staff/grads
Engineering Hall 2226 (Munir Lab)
HP Laserjet MFP M477fdw
Yes
Yes
Color, Duplex unit