Using the PaperCut NG/MF LPD service
Install the PaperCut NG/MF LPD service
After installing the Microsoft Windows version of PaperCut’s Primary, Secondary, or Site Server software, the PaperCut LPD
LPD Servers listen on port 515 by default, so Administrators must ensure that this port is open to requests from clients (check that the port is not blocked by your firewall). The installation wizard also checks for previous versions of the Windows LPD Server, and disables these to ensure there is no port conflict.
It’s important at this point to consider how the print jobs are being tracked. The print jobs are sent with the username from the client system; e.g. the Unix, Linux, or Mac username associated with the print job. If the username is not consistent with the Windows username you want to associate with the job, consider additional PaperCut features like:
- Username aliasing
- Unauthenticated printing. See Handling unauthenticated (non-domain) laptops
- If this queue services a single account, enable the Override user-level settings at a given queue and charge all jobs to a given shared account.
NOTE
- You must share the printer before being able to connect to it using LPR. This is different to Microsoft’s implementation, but provides an extra level of control over which queues can be printed to using LPR.
- The PaperCut LPD Service accepts inbound print data over TCP/IPv4. The PaperCut LPD service does not support data over TCP/IPv6.
- The PaperCut LPD service records routed print jobs in the Windows Application Event log.
- PaperCut LPD responds to LPQ commands with “OK”. No pending print job information is revealed.
- For customers currently using the Windows LPD Service, installations of the PaperCut LPD Service should not require any changes to the client.
Connect to an LPD Service
Most operating systems, including Windows, support connecting to an LPD Service via the LPR printing protocol. You need the following information:
- The address of the server running the PaperCut LPD Service.
- The name of the queue: either share name or queue name.
NOTESome print systems (e.g. CUPS) do not allow spaces in queue names, so a share or queue name that does not include spaces improves the likelihood of connection.
An example using Mac OS X System Preferences
- Select System Preferences.
- Select Printers & Scanners.
- Click + to add a new printer.
- Click the IP tab at the top toolbar.
- From the Protocol list, select Line Printer Daemon – LPD.
- In Address, enter the IP address of the server hosting the printers.
- In Queue, enter the printer’s share name.
- In Name, define a user friendly name; then select the printer type.
- Select the driver or printer model from the list; then click Add.
An example using the CUPS Admin web interface
This example assumes you are using the CUPS web based Admin web interface. Other methods are also available (e.g. GNOME printer manager in GNU/Linux)
- Log in to the CUPS Administration UI.
- Click Administration > Add Printer.
- Scroll to Other Network Printers; then select LPD/LPR Host or Printer.
- Enter in the Connection string using the example format on the page. i.e.
- lpd://hostname/queue
- lpd://10.100.65.38/Global
- Queue Name — either the share name or print queue name on the print server. For CUPS the queue name cannot contain spaces.
- Create the CUPS queue by entering in the rest of the required information, such as Name, Description, Location etc.
- Choose the driver; then click Add Printer.
Print jobs are accepted by LPD into the Windows printing system.