Configuring a printer for LPR printing in Linux
Adding and setting up a new printer in the graphical user interface
Adding and setting up a new printer in the graphical user interface
About
LPR is a network protocol for submitting print jobs to a remote printer (the YSoft SafeQ server in this case). This page explains how to configure a printer in a Linux system to use LPR for printing.
Adding and setting up a new printer in the graphical user interface
NOTE: The method for adding and setting up a new printer in a Linux system varies according to the distribution and working environment. Various display managers are available, but the instructions here guide you through the installation process in the popular Gnome environment, and Ubuntu distribution. For other display managers (or the command line), the procedure may be different but the basics are always the same.
1 | To add a new printer, go to System Settings > Printing - localhost and click Add.
|
2 | In the device list, expand the Network Printer list and select LPD/LPR Host or Printer. Fill in the necessary data. Host is the IP address or hostname of your YSoft SafeQ server. Queue is the name of the queue to which print jobs will be sent.
|
3 | Select the driver for the printer from the database, PPD file, or download it from the Internet.
|
4 | Follow the wizard and fill in all the information according to your needs. Once everything is done, finish the wizard.
|
5 | Now it is possible to send print jobs to the newly created printer, which is configured to send the jobs to YSoft SafeQ. |
Adding and setting up a new printer in the CUPS interface
Adding and setting up a new printer in the graphical user interface
NOTE: The method for adding and setting up a new printer in a Linux system varies according to the distribution and working environment. Various display managers are available, but the instructions here guide you through the installation process in the popular Gnome environment, and Ubuntu distribution. For other display managers (or the command line), the procedure may be different but the basics are always the same.
The procedure for adding and setting up a new printer in the CUPS interface is almost the same as for the graphical user interface. All you need to do is to select a hostname and queue for your printer as follows:
1 | Open the CUPS interface (usually http://<CUPS IP address>:631). Select the Administration tab; then click Add Printer. If necessary, enter the CUPS administrator credentials. |
2 | In the Other Network Printers section, select LPD/LPR Host or Printer; then* click *Continue.
|
3 | The Connection text box is filled according to the following example: lpd://hostname/queue Example: If the server has the IP address 10.0.2.232 and the queue name secure, the connection string is lpd://10.0.2.232/secure
|
4 | Proceed through the remaining steps and set up the printer according to your needs. Once you complete all the steps of the Add Printer wizard, your printer can send prints to YSoft SafeQ. |
Using LPR and LPRNG settings
This section is for experienced administrators and describes printcap settings.
This is an example of local printcap for printing to YSoft SafeQ:

With these settings, a print sent to the safeq_printer will be sent directly to the YSoft SafeQ server.





