Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. System Preferences
    1. Printers & Scanners
    2. Click the "plus" under the list of Printers to add a printer
    3. Right click the top portion of the "Add" window and choose "Customize Toolbar"
    4. Drag "Advanced" from the dropdown window into the toolbar area (where you right-clicked) of the "Add" window
    5. Click "Done"
    6. Now click "Advanced" in your toolbar.
    7. The window will spin for a moment searching for printers.
    8. For "Type" choose "Windows printer via spoolss"
    9. For "Device" choose "Another device"
    10. For URL, use the UNIX URIs below:

      Printer NameUNIX SMB URIAccessible by
      Cad Roomsmb://win2.net-print.cornell.edu/cnf-cad-1cCNF Users & Staff
      Toggingsmb://win2.net-print.cornell.edu/cnf-togging-2cCNF Users & Staff
      Visitor Officesmb://win2.net-print.cornell.edu/cnf-gradofficeStaff & Users with Visitor Office Access
      Konicasmb://win2.net-print.cornell.edu/cnf-konica-colorCNF Staff Only
      LJ4700smb://win2.net-print.cornell.edu/cnf-prnt250ljCNF Users during normal CNF office business hours (CNF Staff anytime)
      Office 262smb://win2.net-print.cornell.edu/cnf-prnt262CNF Staff Only
    11. Type in a "Name" that makes more sense than one is auto filled
    12. In the "Use" window, choose "Select Software"
      1. If the printer model does not appear in the "Printer Software" window
        1. click "Cancel"
        2. Download and install the driver from the printer manufacturer website
        3. Now re-try "Select Software"
        4. If the printer model still does not appear, cancel the setup and start over.
    13. Click "Add"
    14. Select any options included in the Printer
    15. Click "OK"
  2. The printer is successfully added.

...

  1. Install Samba4 or greater (Samba3 will not work)
    1. RedHat samba4 packages have a bug missing the following symlink, which you must create:

      /usr/lib/cups/backend/smb → /usr/bin/smbspool
    2. Edit the Samba config file (usually /etc/samba/smb.conf) to contain the following two directives in the "[global]" section:

                client min protocol = SMB2
                client max protocol = SMB3
    To install the Printers without

Without using the PaperCut installers

...

:

Use your Linux distribution's GUI (recommended) or the CUPS gui or the commandline to add a Windows printer

In RedHat, you can use the Printer configuration tool at System - Administration - Printing

  1. Click New
  2. Enter the administrative password
  3. You do not need to adjust the firewall or attempt to List available devices
  4. For the "device URI", you will use these UNIX SMB URIs :

    Printer NameUNIX SMB URIAccessible by
    Cad Roomsmb://win2.net-print.cornell.edu/cnf-cad-1cCNF Users & Staff
    Toggingsmb://win2.net-print.cornell.edu/cnf-togging-2cCNF Users & Staff
    Visitor Officesmb://win2.net-print.cornell.edu/cnf-gradofficeStaff & Users with Visitor Office Access
    Konicasmb://win2.net-print.cornell.edu/cnf-konica-colorCNF Staff Only
    LJ4700smb://win2.net-print.cornell.edu/cnf-prnt250ljCNF Users during normal CNF office business hours (CNF Staff anytime)
    Office 262smb://win2.net-print.cornell.edu/cnf-prnt262CNF Staff Only
  5. If a driver is not found, you will have to download a driver via the printer gui or separately from the manufacturer's website.

 

 

Other Linux distributions may have their own GUIs. You can also use the CUPS gui, if enabled, at

        http://localhost:631

 

  1. Use the above UNIX SMB URIsTo install the Printers via the PaperCut installers, obtain
  2. Enable authentication for the print queue
    1. If you cannot enable authentication via the CUPS web gui, edit file /etc/cups/printers.conf to add a line for the NetPrint queue:

      AuthInfoRequired username,password

• Using the commandline

  1. Download a PPD for the model of printer
  2. Get the SMB URI for the printer from the section above
  3. As root or sudo'ed, run the following command (substituting in for the brackets)
    lpadmin -p <your_name_for_the_print_queue> -E -P </path/to/PPD-file> -o auth-info-required=username,password -v '<SMB URI>'

Using the PaperCut installers:  

Obtain the RedHat or Debian Net-Print installers from CNF Computing

  1. Install the packages.
    1. For RedHat use the "yum install" command to install the package. Eg:
      sudo yum install net-print-1.2.1-0.x86_64.rpm
    2. For Debian:
  2. Java8
    1. Install pre-requsities:
      1. python3
      2. gnome-terminal
  3. curl
      1. curlJava8 JRE
        1. sudo add-apt-repository ppa:webupd8team/java
        2. sudo apt-get update
        3. sudo apt-get install oracle-java8-installer
        4. sudo apt-get install oracle-java8-installer
    1. Install the Debian Net-Print package.
    2. Items "Net-Print Queue Installer" and "PaperCut Client" are created in the "Internet", "office", and "System" sub menus of your desktop
  4. Run the Net-Print Queue Installer application
    1. You may need to manually run this from the commandline as follows (eg permissions problems adding the printer):
      sudo /opt/netprint/client/install_netprintpc_printer.pl -g
    2. For the "Department", select "RS-CNF"
    3. You will see multiple "Find-Me" print queues listed at the top of the list of printers. The specific CNF printers are listed at the bottom of the list.

Printing via Net-Print/PaperCut

CNF Managed Windows

In the Print dialogue, select the Net-Print printer.

The PaperCut software will prompt you for your username and password.

  1. For your username, use your <NetID>@cornell.edu or your <GuestID>@cornell.edu . The "@cornell.edu" is all lowercase.

Your document prints.

Other Windows

When you are ready to print, choose the Print command in your application and then select a Net-Print printer.

If prompted to login, enter your  NetID@cornell.edu  address or your GuestID@cornell.edu address and related password
Make sure to include the "@cornell.edu" . You can also use: CORNELL\NetID or CORNELL\GuestID (capitalizing "CORNELL").

Macintosh

Follow the instructions on the "Print with Net-Print for Mac" IT@Cornell page.

If prompted for your username when printing, format your NetID/GuestID as follows: cornell\<GuestID> OR cornell\<NetID>

  • That's the lowercase word "cornell" followed by a backslash followed by your NetID or GuestID.

Linux/CNF Thin

In the Print dialogue, select the Net-Print printer.

  1. The "Status" area may say "Unable to connect to CIFS host after (tried 3 times)". This is OK. You will be prompted to connect with your NetID/GuestID credentials in the next step.

When prompted for your username and password, for your username use: cornell\<NetID> or cornell\<GuestID> – that's the lowercase word "cornell" followed by a backslash followed by your NetID or GuestID.

  1. NOTE that your username will be autofilled without the leading cornell\ ... you MUST add the cornell\ to your username for the document to print (that's the word "cornell" followed by a backslash followed by your NetID or GuestID)
  2. NOTE that the cursor may start in the Password field instead of the Username field. You will need to click into the Username field to make the above necessary change to your username.

Your document prints.