HOWTO Install Printers Under Linux: Difference between revisions

From Research
Jump to navigation Jump to search
No edit summary
 
 
Line 1: Line 1:
== Linux (and Unix) Printer Installation (using CUPS) ==
== Linux (and Unix) Printer Installation (using CUPS) ==


On any system running CUPS (Common Unix Printing System - all modern Unices), you can point a browser at port 631 on the local machine, and click on the "Printer" heading:
On any system running CUPS (Common Unix Printing System - all modern Unices), you can point a browser at port 631 on the local machine (http://localhost:631), and click on the "Administration" menu item.
 
<br>
<br>
[[Image:Cups_printeroverview_in_browser.png]]
[[Image:Linux-printer-setup-2012-01.jpg]]
<br>
<br>
<br>
<br>
To add a printer, click "Add Printer" (seen in lower-left, above)
<br>
<br>
[[Image:cups_add_printers_screenshot1.png]]
Click on "Add Printer".
<br>
<br>
[[Image:Linux-printer-setup-2012-02.jpg]]
<br>
<br>
All our Research printers are PostScript-capable, and are network-enabled.  With that in mind, on the next screen we choose "JetDirect":
<br>
<br>
[[Image:cups_add_printer_screenshot2.png]]
<br>
<br>
All our Research printers are PostScript-capable, and are network-enabled.  With that in mind, choose AppSocket/HP JetDirect, and click "Continue".
<br>
<br>
Use this "socket://" syntax, combined with the appropriate IP-address of the printer you want.  The final ":9100" means Port 9100, which is the standard JetDirect port to use.  If you are adding a Windows XP shared printer, the syntax to use is trickier:  smb://''valid_username_on_XP_machine:valid_local_password:''142.58.183.xxx/''winxp_sharename''.
[[Image:Linux-printer-setup-2012-03.jpg]]
 
<br>
<br>
[[Image:cups_add_printer_screenshot3.png]]
<br>
<br>
<br>
<br>
Since our printers are native-PostScript, and Postscript is the native output from every Linux (Unix) application I know of, we will use the "Raw" queue, to pass the data unaltered from app to printer:
Now type in the network name of the printer you want to connect to, using the following format and socket.  All research lab printers are labelled with their names.  When you're done, click on "Continue".<br>
 
''The final ":9100" means Port 9100, which is the standard JetDirect port to use.  If you are adding a Windows XP shared printer, the syntax to use is trickier:  smb://''valid_username_on_XP_machine:valid_local_password:''142.58.183.xxx/''winxp_sharename''.''
<br>
<br>
[[Image:cups_add_printer_screenshot4.png]]
[[Image:Linux-printer-setup-2012-04.jpg]]
<br>
<br>
<br>
<br>
[[Image:cups_add_printer_screenshot5.png]]
<br>
<br>
Give the printer a name and descriptive information.  You don't need to enable sharing.  Click on "Continue" when you're done.
<br>
<br>
You should now see this "Success" screen, when a printer has been successfully added:
[[Image:Linux-printer-setup-2012-05.jpg]]
 
<br>
<br>
[[Image:Cups_add_printer_success_screenshot6.png]]
<br>
<br>
<br>
<br>
Re-visiting the CUPS "Printers" page should show all yoru printers.  Print a test-page if you wish to verify correct connection to your newly-added-printer.  Lastly, please set a sensible (ie Black and White laser) as your default printer.  DON'T set a colour-laser for default output; use this for special circumstances.
Choose the manufacturer name.  Click "Continue" when done.
 
<br>
[[Image:Linux-printer-setup-2012-06.jpg]]
<br>
<br>
<br>
Choose the printer model that most closely matches the printer you want to add.  Click "Add Printer" when done.
<br>
[[Image:Linux-printer-setup-2012-07.jpg]]
<br>
<br>
<br>
Now that the printer has been added, click on the "Options Installed" menu item, and ensure that Duplex is marked as "Installed".  Note: this step only applies to printers that actually have a duplexer unit attached or built-in to them.  As of June 2012, only our Lexmark monochrome laser printers support duplex printing.  Click "Set Default Options" when done.
<br>
[[Image:Linux-printer-setup-2012-08.jpg]]
<br>
<br>
<br>
Now that we're finished installing the printer, click on "Printers" in the main header menu, and confirm that you see your newly-added printer in the list of available printers.  Print a test-page if you wish to verify correct connection to your new printer.  Lastly, please use a monochrome laser printer as your default printer.  PLEASE DON'T set a colour-laser for default printing because it costs us a LOT more money in supplies and equipment wear and tear.
<br>
[[Image:Linux-printer-setup-2012-09.jpg]]
<br>
<br>
<br>
[[Image:Cups_printers_result_screenshot7.png]]
<br>
<br>

Latest revision as of 20:31, 15 June 2012

Linux (and Unix) Printer Installation (using CUPS)

On any system running CUPS (Common Unix Printing System - all modern Unices), you can point a browser at port 631 on the local machine (http://localhost:631), and click on the "Administration" menu item.
Linux-printer-setup-2012-01.jpg


Click on "Add Printer".
Linux-printer-setup-2012-02.jpg


All our Research printers are PostScript-capable, and are network-enabled. With that in mind, choose AppSocket/HP JetDirect, and click "Continue".
Linux-printer-setup-2012-03.jpg


Now type in the network name of the printer you want to connect to, using the following format and socket. All research lab printers are labelled with their names. When you're done, click on "Continue".
The final ":9100" means Port 9100, which is the standard JetDirect port to use. If you are adding a Windows XP shared printer, the syntax to use is trickier: smb://valid_username_on_XP_machine:valid_local_password:142.58.183.xxx/winxp_sharename.
Linux-printer-setup-2012-04.jpg


Give the printer a name and descriptive information. You don't need to enable sharing. Click on "Continue" when you're done.
Linux-printer-setup-2012-05.jpg


Choose the manufacturer name. Click "Continue" when done.
Linux-printer-setup-2012-06.jpg


Choose the printer model that most closely matches the printer you want to add. Click "Add Printer" when done.
Linux-printer-setup-2012-07.jpg


Now that the printer has been added, click on the "Options Installed" menu item, and ensure that Duplex is marked as "Installed". Note: this step only applies to printers that actually have a duplexer unit attached or built-in to them. As of June 2012, only our Lexmark monochrome laser printers support duplex printing. Click "Set Default Options" when done.
Linux-printer-setup-2012-08.jpg


Now that we're finished installing the printer, click on "Printers" in the main header menu, and confirm that you see your newly-added printer in the list of available printers. Print a test-page if you wish to verify correct connection to your new printer. Lastly, please use a monochrome laser printer as your default printer. PLEASE DON'T set a colour-laser for default printing because it costs us a LOT more money in supplies and equipment wear and tear.
Linux-printer-setup-2012-09.jpg