...
- Ensure that CUPS is installed and started.
- Ensure that the SAMBA4 client packages are installed (SAMBA 3 will not work). If your distribution does not include a default smb.conf config file (usually in /etc/samba), you will need to follow your distribution's instructions to create a default smb.conf .
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
Ensure the following symlink exists:
Code Block language bash /usr/lib/cups/backend/smb → /usr/bin/smbspool
- If using the PaperCut installers, ensure that CURL is installed.
- If using the PaperCut installers, obtain the installer packages from CNF Computing.
Installing
Make sure you have satisifed the above pre-requisites.
...
- Obtain the Debian Net-Print installer from CNF Computing
- Install java, curl, samba, cups, and python3 .
- Obtain an smb.conf file per the Arch Wiki
Start CUPS via:
systemctl restart org.cups.cupsd.service
Install yaourt:
pacman -S yaourt
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.
- 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
Run, as root, the Net-Print installer:
/opt/netprint/client/install_netprintpc_printer
.pl -g
- For Department, select RS-CNF
- 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.
...
- Start the Printer configuration tool at System - Administration - Printing
- Click New
- Enter the administrative password
- You do not need to adjust the firewall or attempt to List available devices
For the "device URI", you will use these UNIX SMB URIs :
Printer NameUNIX SMB URIAccessible byCad Room smb://win2.net-print.cornell.edu/cnf-cad-1c CNF Users & Staff Togging smb://win2.net-printrs-cnf-wp1.cnf.cornell.edu/cnf-togging-2cCNF_Duffield_Togging_Color_Laserjet CNF Users & Staff Visitor Office smb://win2.net-print.cornell.edu/cnf-gradoffice Staff & Users with Visitor Office Access Konica smb://win2.net-print.cornell.edu/cnf-konica-color CNF Staff Only LJ4700 smb://win2.net-print.cornell.edu/cnf-prnt250lj CNF Users during normal CNF office business hours (CNF Staff anytime) Office 262 smb://win2.net-print.cornell.edu/cnf-prnt262 CNF Staff Only - If a driver is not found, you will have to download a driver via the printer gui or separately from the manufacturer's website.
...
The CUPS printer GUI is located at the following URL:
http://localhost:631
...
- Use the UNIX SMB URIs from the above "RedHat - Printer configuration GUI" section.
- Enable authentication for the print queue
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
...
- Download a PPD for the model of printer
- Get the SMB URI for the printer from the sections above
- 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>'
...
Post-Installation Optional Steps
...