Versions Compared

Key

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

...

  1. Obtain the Debian Net-Print installer from CNF Computing
  2. Install java, curl, samba, cups, and python3 .
  3. Obtain an smb.conf file per the Arch Wiki
  4. Start CUPS via: 

     

    systemctl restart org.cups.cupsd.service
  5. Install yaourt:

     

    pacman -S yaourt
  6. As a non-root user, install dpkg:

     

    yaourt dpkg

    You will be prompted to edit the package build. Choose No. Otherwise, install the missing prereqs and let the build take place.

  7. As root, install the net-print package, eg:

     

    dpkg -i --ignore-depends=smbclient,python3,default-jre,gnome-terminal,curl . /net-print_1 .2-1.deb
  8. Run, as root, the Net-Print installer:

     

    /opt/netprint/client/install_netprintpc_printer .pl -g
  9. For Department, select RS-CNF
  10. 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.

...

  1. Start the Printer configuration tool at System - Administration - Printing
  2. Click New
  3. Enter the administrative password
  4. You do not need to adjust the firewall or attempt to List available devices
  5. For the "device URI", you will use these UNIX SMB URIs :

    Printer Name
    UNIX SMB URI
    Accessible 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
  6. If a driver is not found, you will have to download a driver via the printer gui or separately from the manufacturer's website.

...

  1. List the installed printer queues:

    Code Block
    languagebash
    $ lpstat -a
    cnf-cad-1c accepting requests since Mon 27 Nov 2017 11:11:49 AM EST
    cnf-konica-color accepting requests since Tue 30 Oct 2018 01:58:19 PM EDT
    cnf-prnt250lj accepting requests since Thu 31 Jan 2019 03:27:23 PM EST
    cnf-togging-2c accepting requests since Mon 27 Nov 2017 11:11:49 AM EST
  2. Set the error policy for each printer queue to abort the job (eg for the CAD rm printer):

    Code Block
    languagebash
    $ sudo lpadmin -p cnf-cad-1c -o printer-error-policy=abort-job

Don't require "cornell\" before your NetID or GuestID when printing

Before doing the following, first stop CUPS. Once you have made changes, restart CUPS.

  1. Edit the /etc/cups/ppd/printers.conf file in your favorite text editor
  2. For each printer queue, find the line starting with "DeviceURI" .
  3. Add "cornell/" between the "smb://" and the "win2.net-print.cornell.edu", for example
    DeviceURI smb://cornell/win2.net-print.cornell.edu/cnf-cad-1c
        
  4. Do the above for each printer. Save your changes. And restart CUPS

Printing (including from 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.