Difference between revisions of "Printing"

From CS Support
Jump to: navigation, search
(minor wording changes)
(add new subheadings and keychain cleanup note)
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Departmental printers are available for use on each floor of Nichols Hall. See the [[Printers|printers list]] or the bottom of this page for a list of current printers available.
+
Departmental printers are available for use in the Student Center (DUE1118), main office (DUE2184), and Grad Student Office (DUE2221). See the [[Printers|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 CS students/faculty/staff and should not be used to give access to anyone else. Unauthorized use may result in loss of account privileges.
 
 
'''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 ==
 
== Printing from a lab machine ==
Line 9: Line 7:
 
=== Windows ===
 
=== 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.
+
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 [[#Printing_from_a_personal_or_office_computer|below]].
  
 
=== Linux ===
 
=== Linux ===
Line 15: Line 13:
 
==== Print Commands ====
 
==== Print Commands ====
  
The CIS department uses the [http://www.cups.org/ 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:
+
The CS department uses the [http://www.cups.org/ Common UNIX Printing System (CUPS)] 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:
  
 
* <code>lp</code> or <code>lpr</code> : both of these print files, the examples below use <code>lpr</code>
 
* <code>lp</code> or <code>lpr</code> : both of these print files, the examples below use <code>lpr</code>
Line 21: Line 19:
 
* <code>lprm</code> : removes queued print jobs
 
* <code>lprm</code> : removes queued print jobs
 
* <code>lpstat</code> : gives status information for printers
 
* <code>lpstat</code> : gives status information for printers
** <code>lpoptions</code> : sets user-specific printer options and defaults
+
* <code>lpoptions</code> : sets user-specific printer options and defaults
  
 
Examples of how to perform some common tasks:
 
Examples of how to perform some common tasks:
Line 28: Line 26:
 
* <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 n016-hp8150 filename</code> : prints <code>filename</code> to the printer in the Nichols 16 lab
+
* <code>lpr -P e1118-dell-s5830 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
 +
* <code>lpr -o ColorModel=Gray filename</code> : prints <code>filename</code> in grayscale instead of color
 
* <code>lpr -#4 filename</code> : prints 4 copies of <code>filename</code> to the default printer
 
* <code>lpr -#4 filename</code> : prints 4 copies of <code>filename</code> to the default printer
 
* <code>lpq</code> : displays the current queue of print jobs running on the default printer
 
* <code>lpq</code> : displays the current queue of print jobs running on the default printer
 
* <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 n016-hp8150</code> : sets your default printer to n016-hp8150
+
* <code>lpoptions -d e1118-dell-s5830</code> : sets your default printer to e1118-dell-s5830
  
 +
Multiple options can be combined as follows:
 +
<code>
 +
$ lpr -P e1118-dell-s5830 -o sides=two-sided-long-edge -o number-up=2 -o ColorModel=Gray filename
 +
</code>
  
For more information, refer to the [http://www.cups.org/documentation.php/doc-1.5/options.html?VERSION=1.5&Q= Cups Guide] to printing and the man pages for the tools.
+
For more information, refer to [https://www.cups.org/doc/options.html Cups online help] and the man pages for the tools.
  
 
==== Printing text files ====
 
==== Printing text files ====
  
 
In addition to printing the text files "raw", one can use the following utilities to format the text:
 
In addition to printing the text files "raw", one can use the following utilities to format the text:
* <code>a2ps filename.txt | lpr</code>: prints the text file in a nicer format; check the man file for more options as this program can do quite a bit
+
* <code>a2ps filename.txt | lpr</code> : prints the text file in a nicer format; check the man file for more options as this program can do quite a bit
* <code>enscript -r filename.txt | lpr</code>: prints a text file in landscape format; check the man file for more options as this program (like <code>a2ps</code>) can do quite a bit
+
* <code>enscript -r filename.txt | lpr</code> : prints a text file in landscape format; check the man file for more options as this program (like <code>a2ps</code>) can do quite a bit
  
 
== Printing from a personal or office computer ==
 
== Printing from a personal or office computer ==
Line 50: Line 53:
 
=== All Users ===
 
=== All Users ===
  
* Choose one of the following for public printers
+
There is currently only one printer that is available for use by any student, faculty, or staff member in the CS department: <code>e1118-dell-s5830</code>
* <code>n016-hp9050</code>
+
 
* <code>n126-hp9050</code>
+
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|Printers]] page or at the bottom of this page.  Others will only have access to the printers in public labs.
* 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|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 [[Media:savin_copier_drivers.zip|here]].
+
If you want/need the drivers for the Konica-Minolta copier/printer, you can download it [https://onyxweb.mykonicaminolta.com/onestopproductsupport?appMode=public&productId=1979&categoryId=1&subCategoryId=undefined here].
 +
 
 +
'''''Note for Konica-Minolta printer users:''''' You will also need to configure Account Track Authentication, you can follow [https://support.cs.ksu.edu/CISDocs/wiki/Printer_Authentication this] guide.
  
 
=== Windows ===
 
=== Windows ===
Line 61: Line 66:
 
steps.   
 
steps.   
  
# Go to your Start Menu > Run
+
<ol>
## XP: Click Run, type in <code>\\johnson.win.cs.ksu.edu</code>, and click "OK"
+
  <li>Go to your Start Menu > Run
## Vista/Windows 7/8/10: Type <code>\\johnson.win.cs.ksu.edu</code> in the "Start Search" box and press <Enter>
+
    <li>Type <code>\\johnson.win2.cs.ksu.edu</code> in the "Start Search" box and press &lt;Enter&gt;</li>
'' '''Note (for all versions of Windows):''' Wired network users may use &ldquo;johnson&rdquo; instead of &ldquo;johnson.win.cs.ksu.edu&rdquo; for the server name, but either will work.  Wireless users must use the long form.''
+
    <ul>
# If prompted, enter your CIS username and password
+
      <li>'' '''Note:''' Wired network users may use &ldquo;johnson&rdquo; instead of &ldquo;johnson.win2.cs.ksu.edu&rdquo; for the server name, but either will work.  Wireless users must use the long form.''</li>
## Vista/Windows 7/8/10: In the Username box type "WIN\<username>", where <username> is your username.
+
    </ul>
Right click on the printer you want and select "Connect"
+
  </li>
 +
  <li>If prompted, enter your CS username and password
 +
    <ul>
 +
      <li>In the Username box type "WIN2\<username>", where <username> is your username.</li>
 +
    </ul>
 +
  </li>
 +
  <li>Right click on the printer you want and select "Connect"</li>
 +
</ol>
  
 
=== OS X ===
 
=== OS X ===
 
+
==== Printer Driver Installation ====
To install one of the department printers on your OS X laptop, follow these
+
# Open the "Printers & Scanners" preference pane from the System Preferences
steps.
 
 
 
# Open the "Print & Fax" preference pane from the System Preferences
 
 
# Click on the "+" to add a printer
 
# Click on the "+" to add a printer
##'''Method A'''
+
# Click on the "Advanced" Icon (it will look like a cog)
### Click on "More printers" to search for network printers
+
## If you do not have the Advanced Icon showing up, right-click (or control-click) on a blank area of the "Add" window next to the icons and select "Customize Toolbar"
### Select "Windows Printing" in the top drop-down box and "Network Neighborhood" in the bottom drop-down box
+
## Then drag the Advanced Icon to the "Add" window
### Select WIN from the list of available Windows networks and click on "Choose"
+
# After you have clicked on the Advanced Icon select the "Windows printer via spoolss" type
### Select "johnson" from the list of print servers and click on "Choose"
+
# Next a samba connect will need to be made, in the box labeled URL you will need to put <code> smb://johnson.win2.cs.ksu.edu/{printer name}</code>
### Enter your CIS username and password when prompted
+
# Optional: Give the printer setup a name and location
### Select the printer you want to use from the list
+
# In the "Use" box at the bottom select either "Generic PostScript Printer" or "Generic PCL Printer"
### The printer model can be left as "Generic" or set to the appropriate model for the target printer
+
# Press the "Add" button at the very bottom, this should verify and try to connect with the print you have specified
### Click on the "Add" button
+
# If everything works out fine, you will be able to finalize your printer and use it
##'''Method B'''
+
# When you send a print job, you will be challenged for login credentials. Please provide your CS account and password for this.
### Hold the option key and click on "More printers"... continue holding the option key until the new dialog box opens
 
### Select "Advanced" on the top drop-down box
 
### For the device, select "Windows Printer via SAMBA"
 
### For the device name, enter an identifier for the printer
 
### For the device URI, you'll need to enter something of the form: <code>smb://myusername:mypassword@win/johnson.win.cs.ksu.edu/n126-hp9050</code>
 
###*Replace "myusername" with your username, "mypassword" with your password, and "n126-hp9050" with the printer that you're trying to print to. For your convenience, a list of printers can be found below.
 
### The printer model can be left as "Generic" or set to the appropriate model for the target printer
 
### Click on the "Add" button
 
##'''Method C1''' '' '''(For Lion and Mavericks Users Wireless)''' ''
 
### Right-click (CTRL-click) on the toolbar at the top of the window and select &ldquo;Customize Toolbar...&rdquo;
 
### Drag the &ldquo;Advanced&rdquo; button to the toolbar and drop it wherever you want, then click &ldquo;Done&rdquo; to close the customization popup ''(Beleive it or not, this actually makes the process easier)''
 
### Click your new &ldquo;Advanced&ldquo; button
 
### Under &ldquo;Type&ldquo; select &ldquo;Windows printer via spoolss&ldquo;
 
### For the device URL, enter the following:<code>smb://johnson.win.cs.ksu.edu/n126-hp9050</code>
 
###*Replace &ldquo;n126-hp9050&ldquo; with the printer you would like to print to. For your convenience, a list of printers can be found below.
 
### Enter a name and location in the appropriate boxes
 
### In the &ldquo;Print Using&ldquo; drop-down box, you may select &ldquo;Generic Postscript Driver&ldquo; as all processing is done by the server, or if you wish, you can select &ldquo;Select a driver to use...&ldquo; and choose an appropriate driver (For HP printers it is usually HP LaserJet Series PCL) for the target printer. ''Note: If you select a specific driver, the icon for the printer will be an image of the actual printer model.''
 
### Click the &ldquo;Add&ldquo; button
 
### Specify additional printer features in the &ldquo;Installable Options&ldquo; popup and click the &ldquo;Continue&ldquo; button. ''Note: If you want to use additonal features for a printer, such as double-sided printing (duplexing) or specific tray selection, you must sleect those options that are available for the printer here. You can do this now or later by clicking on &ldquo;Options & Supplies...&ldquo; for that printer in Print and Fax under System Preferences.''
 
### The first time you chose your newly installed network printer, you will be prompted for your username and password. Enter your CIS account information here and check &ldquo;Remember this password in my keychain&ldquo; box to prevent being prompted for this password in the future.
 
##'''Method C2''' '' '''(For Lion Users Wired)''' ''
 
##*'''NOTE:''' Use this method if you have a Mac that is going to be connected to the wired for extended periods of time (e.g Wired Mini's, Mac Pros, and iMac's)
 
### Open a web browser and go to &ldquo;localhost:631&ldquo;
 
### Click the &ldquo;Administration&ldquo; tab at the top of the page and log in using your local user name and password.
 
### On the right under &ldquo;Server&ldquo; click on &ldquo;Advanced&ldquo; to show more options
 
### Check the box next to &ldquo;Show printers shared by other systems&ldquo; AND
 
### Next to Protocols check the box next to &ldquo;CUPS&ldquo;
 
### Restart your Mac
 
### Go to the settings menu and click &ldquo;Print & Scan&ldquo;
 
### At all the printers in the department should be listed at the left.
 
##'''Method D ''' '' '''(Tested on Yosemite, Mavericks and Lion)''' ''
 
### Download our [[Media:PrinterApp-0.6.0.zip|Mac printer installer]]
 
### Double Click on the CISPrintInstaller.app file
 
### When prompted type in your MAC password
 
### Select the printer(s) you would like to install
 
### The first time you print a document you will be prompted for a username and password. This is your CIS account information, not the  local mac account.  Make sure to save this information into your keychain.
 
  
'''NOTE:''' If you want to install the Savin copier/printer or are on the K-State.net wireless network, you must use Method B as outlined above.
+
==== Troubleshooting ====
 +
If you have installed the printer per the above instructions and get the message ''Hold for authentication'' in the queue when printing, you probably have an old password saved in the keychain. To clear this, open the Keychain utility and delete any entry for <code>johnson.win2.cs.ksu.edu</code>. You should now be prompted to enter your login credentials again the next time you try to print something.
  
'''NOTE:''' If the print job displays "On hold: authentication required", but no password is requested, you may need to remove the password from "Keychain Access" for that printer.
+
'''Note:''' Any printer in the table below that is available for Windows will also be available for MacOS.
  
 
== Current Printer Information ==
 
== Current Printer Information ==
 
<!-- Note this is an embedded page. Go to https://support.cs.ksu.edu/CISDocs/wiki/Printers to edit the table -->
 
<!-- Note this is an embedded page. Go to https://support.cs.ksu.edu/CISDocs/wiki/Printers to edit the table -->
 
{{:Printers}}
 
{{:Printers}}

Revision as of 15:42, 5 October 2018

Departmental printers are available for use in the Student Center (DUE1118), main office (DUE2184), and Grad Student Office (DUE2221). See the printers list or the bottom of this page for a list of current printers available.

NOTE: Use of printers is restricted to CS students/faculty/staff 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 CS department uses the Common UNIX Printing System (CUPS) 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 or lpr : both of these print files, the examples below use lpr
  • lpq : displays queued print jobs
  • lprm : removes queued print jobs
  • lpstat : gives status information for printers
  • lpoptions : 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 printer
  • lpr filename : prints filename to the default printer
  • lpr -P e1118-dell-s5830 filename : prints filename to the printer in the Engineering Hall 1118 Student Center
  • lpr -o sides=two-sided-long-edge filename : prints filename duplex (two-sided) to the default printer
  • lpr -o number-up=2 filename : prints filename using half as much paper
  • lpr -o ColorModel=Gray filename : prints filename in grayscale instead of color
  • lpr -#4 filename : prints 4 copies of filename to the default printer
  • lpq : displays the current queue of print jobs running on the default printer
  • lpq -a : displays the current queue of all print jobs
  • lprm 30 : removes print job 30 from the print queue
  • lpoptions -d e1118-dell-s5830 : sets your default printer to e1118-dell-s5830

Multiple options can be combined as follows:

$ lpr -P e1118-dell-s5830 -o sides=two-sided-long-edge -o number-up=2 -o ColorModel=Gray filename

For more information, refer to Cups online help 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

There is currently only one printer that is available for use by any student, faculty, or staff member in the CS department: e1118-dell-s5830

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 Konica-Minolta copier/printer, you can download it here.

Note for Konica-Minolta printer users: You will also need to configure Account Track Authentication, you can follow this guide.

Windows

To install one of the department printers on your Windows laptop, follow these steps.

  1. Go to your Start Menu > Run
  2. Type \\johnson.win2.cs.ksu.edu in the "Start Search" box and press <Enter>
    • Note: 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.
  3. If prompted, enter your CS username and password
    • In the Username box type "WIN2\<username>", where <username> is your username.
  4. Right click on the printer you want and select "Connect"

OS X

Printer Driver Installation

  1. Open the "Printers & Scanners" preference pane from the System Preferences
  2. Click on the "+" to add a printer
  3. Click on the "Advanced" Icon (it will look like a cog)
    1. If you do not have the Advanced Icon showing up, right-click (or control-click) on a blank area of the "Add" window next to the icons and select "Customize Toolbar"
    2. Then drag the Advanced Icon to the "Add" window
  4. After you have clicked on the Advanced Icon select the "Windows printer via spoolss" type
  5. 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}
  6. Optional: Give the printer setup a name and location
  7. In the "Use" box at the bottom select either "Generic PostScript Printer" or "Generic PCL Printer"
  8. Press the "Add" button at the very bottom, this should verify and try to connect with the print you have specified
  9. If everything works out fine, you will be able to finalize your printer and use it
  10. When you send a print job, you will be challenged for login credentials. Please provide your CS account and password for this.

Troubleshooting

If you have installed the printer per the above instructions and get the message Hold for authentication in the queue when printing, you probably have an old password saved in the keychain. To clear this, open the Keychain utility and delete any entry for johnson.win2.cs.ksu.edu. You should now be prompted to enter your login credentials again the next time you try to print something.

Note: Any printer in the table below that is available for Windows will also be available for MacOS.

Current Printer Information

Printer Name Access Restrictions Location Model Windows Linux Device Options
e1118-dell-s5830 anybody Engineering Hall 1118 (Student Center) Dell s5830 Yes Yes Black&White, 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