Difference between revisions of "Setting up Printers"

From RHLUG Wiki
Jump to navigation Jump to search
m
(updated info about printing to use papercut, images to come soon)
Line 1: Line 1:
You can easily set up a printer '''on Rose-Hulman's campus''' by finding it's hostname. To find a list of some of the hostnames you can go to the url [https://servicedesk.rose-hulman.edu/knowledgebase/article/KA-01094/en-us here] and scrolling down to the table of printers. Other hostnames can be found by logging into the \\print network via SAMBA. '''You need to be connected to the eduroam Wi-Fi network to print.'''
You can easily print '''on Rose-Hulman's campus''' using Papercut. '''You need to be connected to the eduroam Wi-Fi network to print.'''


You will need the <code>cups</code> package to interface with printers, or similar. On campus, all of the printers are HP printers. You should install the <code>hplip</code> driver as a package on your system.
You will need the <code>cups</code> package to interface with printers, or similar.  


To check this, in Ubuntu/Debian-based distributions with the apt package manager, type <code>sudo apt-get install cups</code>. This will install cups on your system.
To check this, in Ubuntu/Debian-based distributions with the apt package manager, type <code>sudo apt-get install cups</code>. This will install cups on your system.


In Arch Linux based distributions (Manjaro, EndeavourOS, Parabola, etc.), type <code>sudo pacman -S cups</code>.
In Arch Linux based distributions (Manjaro, EndeavourOS, Parabola, etc.), type <code>sudo pacman -S cups</code>.
Similarly, with <code>hplip</code>, do the same thing, except replace "cups" with "hplip" in both examples.


= Initial Setup =
= Initial Setup =
Line 22: Line 20:
|-
|-
|Black & White Print Queue
|Black & White Print Queue
|smb://print.rose-hulman.edu/RHIT BW Printing
|print.rose-hulman.edu/RHIT%20BW%20Printing
|All other campus printers
|All other campus printers
|}
|}


== Adding Print Queues to Your Machine ==
==Via <code>system-config-printer</code>==
Read the section related to your desktop environment
 
Using the terminal, run <code>system-config-printer</code>
 
Click the unlock button in the top right corner and input your password in the popup.


==Via the command line==
Click Add
You need to have the <code>system-config-printer</code> package already installed on your Linux system.


To add a printer, go to the terminal and run the command
In the new window, expand Network Printer and choose Windows Printer via SAMBA


<code> sudo system-config-printer </code>
in the address box enter ether the color or BW url


This will prompt you for your password which you should type then press enter.
select Set authentication details now and add your rose hulman username and password


It will bring up a printer menu that shows all available printers. To add a printer, click the + Add button in the upper left hand corner.
click Forward


The default option will be to add a printer by the URI which is basically a link to the printer. The URI will be something like this:
leave the driver selection on Generic


<code> socket://PRINTER_HOSTNAME.printer.rose-hulman.edu </code>
click Forward


Most printer hostnames can be found on [https://servicedesk.rose-hulman.edu/knowledgebase/article/KA-01094/en-us Rose-Hulman's EIT knowledgebase]. Pick the location you want to print from.
Select PostScript from the left box


For example, for Olin-257, the hostname is "o257-ps" meaning the URI would be <code> socket://o257-ps.printer.rose-hulman.edu </code>.
Click Forward


So type that value into the uri field and press "Forward".
Check the Duplexer box


Next you have to pick the printer driver. All printers on Rose-Hulman's campus are HP so pick HP and press "Forward".
Click Foward


Next pick the model for the printer. This information can also be found in the link where hostnames are found. The 9040dn is under the driver name "LaserJet 9040dn".
Give the printer a name such as BWprinting


When you find the appropriate driver, press "Forward". This will bring you to the Installable Options. The defaults are usually fine so press "Forward" again.
Click apply


Next you can give the printer a Printer Name, Description, and Location. These values are just to make it easy to remember which printer is which. Choose values and press "apply"
Choose yes to printing a test page


Now in the menu you should see the printer was added. You can right click on the printer, choose "Properties" and then press "Print Test Page" to print a test page. This will verify if the printer is correctly configured.
The page should report as printing successfully


Now you can print from any application as normal.
Click on on the Printer Properties window


==KDE==
Go to https://print.rose-hulman.edu:9192/mobile/release?#printers


Click on the Application Launcher in the bottom-left panel. Type "system settings" and click on the "System Settings" item. You can also go to the "Computer" tab > System Settings.
Login with your rose username and password


In KDE Plasma 5.11 and newer, the settings are arranged on the left panel. In older KDE Plasma versions, the settings are arranged in a grid.
Click on the printer you want to print from


In either case, scroll down to Hardware section > Printers. Click on "Add Printer". A "Select a Printer to Add" dialog box should come up. Click on "Manual URI" and type in the printer hostname.
You should see (Test Page) in the print que


Click "Next". In "Pick a Driver", click on the driver matching the printer model and name. See the EIT knowledgebase link above for details. If there are multiple drivers, you should choose the (recommended) version, and (en) version if it is listed. If you see "requires proprietary plugin" in one of the listings, you can install that driver, unless you prefer not to install it.
Cancel the print job


Click "Next". You can give a name and description to the printer if you want to, or disable sharing. Click "Finish" to finish setup. You can print a test page by clicking on the printer name > "Maintenance" > "Print Test Page" to see if the configuration works properly.
If the print job exists you can now print from any application to the newly added printer and then use Papercut to send it to any of the printers on campus


=Troubleshooting =
=Troubleshooting =

Revision as of 19:40, 31 August 2023

You can easily print on Rose-Hulman's campus using Papercut. You need to be connected to the eduroam Wi-Fi network to print.

You will need the cups package to interface with printers, or similar.

To check this, in Ubuntu/Debian-based distributions with the apt package manager, type sudo apt-get install cups. This will install cups on your system.

In Arch Linux based distributions (Manjaro, EndeavourOS, Parabola, etc.), type sudo pacman -S cups.

Initial Setup

You must be logged into the eduroam network. These tutorials assume you have cups already installed on your system. When you setup printers on your laptop, there are two available print queues. One is for black and white printing and one for printing to the library. You only need to add these two to your system and you should be able to use any printer on campus by scanning that printer's QR code to release the job. The hostnames for the queues are:

Name URL Printers
Color Print Queue Library Color Printer
Black & White Print Queue print.rose-hulman.edu/RHIT%20BW%20Printing All other campus printers

Via system-config-printer

Using the terminal, run system-config-printer

Click the unlock button in the top right corner and input your password in the popup.

Click Add

In the new window, expand Network Printer and choose Windows Printer via SAMBA

in the address box enter ether the color or BW url

select Set authentication details now and add your rose hulman username and password

click Forward

leave the driver selection on Generic

click Forward

Select PostScript from the left box

Click Forward

Check the Duplexer box

Click Foward

Give the printer a name such as BWprinting

Click apply

Choose yes to printing a test page

The page should report as printing successfully

Click on on the Printer Properties window

Go to https://print.rose-hulman.edu:9192/mobile/release?#printers

Login with your rose username and password

Click on the printer you want to print from

You should see (Test Page) in the print que

Cancel the print job

If the print job exists you can now print from any application to the newly added printer and then use Papercut to send it to any of the printers on campus

Troubleshooting

Can't print

Make sure cups is enabled in a terminal: sudo systemctl status cups. If it says it's disabled or stopped, try typing: sudo systemctl enable cups && sudo systemctl start cups

Paper looks weird

Make sure you have selected Letter paper and not A4 paper in your printer settings and make that the default. That will make the page margins appear less "airy" on real paper. Sometimes Linux defaults to A4 when setting up a printer for the first time.