Linux Laptop Printing using SAMBA

////Linux Laptop Printing using SAMBA
Linux Laptop Printing using SAMBA2018-11-21T16:12:45+00:00

Linux Laptop Printing Using SAMBA

Here you will find directions for setting up a lab printer to a personal Linux computer

These directions were followed using Ubuntu 18.04, but you can set this up with any Linux or UNIX machine

There are some rules:

  1. You have to be on the VPN for both setting up printers and when you decide to print
  2. It is highly recommended that you are in the lab, physically close to the printer when you set one up

Here are the steps:

  1. Connect to the VPN
  2. Open Terminal
  3. Type “sudo apt install smbclient” and press Enter
  4. Type “sudo apt install python3-smbc” and press Enter
  5. Open Settings
  6. Go to Devices near the bottom of the sidebar
  7. Go to Printers
  8. Click Additional Printer Settings… at the bottom
  9. Click + Add
  10. Click the Network Printers dropdown
  11. Choose Windows Printer via SAMBA
  12. smb://edda.cecs.pdx.edu/(enter printer name here)
  13. Choose Prompt user if authentication is required
  14. Click Verify… (This does not work on Ubuntu 18.10)
  15. Username=MCECS username, Domain=CECS, Password=MCECS password
  16. If the printer is accessible, then proceed and click Forward, if not then try again from step 10
  17. Optionally:
    1. Go back to step 10
    2. Choose Set authentication details now
    3. Username=CECS\(enter MCECS username here)
    4. Password=MCECS password

From this point you can choose to install the specific driver for each printer, or choose a generic printer driver. One advantage to setting up a specific driver is that it gives you more options and details for the printer, like whether it is duplex (double-sided) or not. Also a specific driver would guarantee a working printer, but a generic driver might come across unknown errors that the CAT has no way of fixing.

  1. Specific:
    1. When prompted, click the printer manufacturer (This will most likely be HP)
    2. Choose the printer type (Will be on the front of the machine)
    3. Install the driver
    4. Print a test page (This test is why we recommend you are close to the printer when you set one up)
  2. Generic:
    1. Pick generic
    2. We recommend using the raw queue option
    3. Print a test page of your choosing (this test is why we recommend you are close to the printer when you set one up)