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

Service Setup Wizard style installer is available under [appath]\providers\lpd\win\pc-lpd-installer.exe

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:

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

  1. Select System Preferences.
  2. Select Printers & Scanners.
  3. Click + to add a new printer.
  4. Click the IP tab at the top toolbar.
  5. From the Protocol list, select Line Printer Daemon – LPD.
  6. In Address, enter the IP address of the server hosting the printers.
  7. In Queue, enter the printer’s share name.
  8. In Name, define a user friendly name; then select the printer type.
  9. 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)

  1. Log in to the CUPS Administration UI.
  2. Click Administration > Add Printer.
  3. Scroll to Other Network Printers; then select LPD/LPR Host or Printer.

  4. Enter in the Connection string using the example format on the page. i.e.
    • lpd://hostname/queue
    • lpd://10.100.65.38/Global
  5. Queue Name — either the share name or print queue name on the print server. For CUPS the queue name cannot contain spaces.
  6. Create the CUPS queue by entering in the rest of the required information, such as NameDescriptionLocation etc.
  7. Choose the driver; then click Add Printer.

Print jobs are accepted by LPD into the Windows printing system.

Using the PaperCut NG/MF LPD service