Using the LPD Gateway with InfoPrint Manager for Linux
You can use the InfoPrint Manager for Linux line printer daemon (ipmlpd) to receive jobs through the LPD Gateway to an InfoPrint Linux server. InfoPrint Manager LPD is a daemon that lets you submit print jobs from other operating systems using a Line Printer (LPR) client. InfoPrint Manager LPD submits the files it receives directly to an InfoPrint destination and supports the -o options that are available with some LPR clients. (-o options allow you to specify advanced InfoPrint print options, such as form definitions and page definitions. For more information about using -o options with print commands, see InfoPrint Manager: Reference.)
To configure to use the InfoPrint Manager LPD protocol you need to verify if other LPD daemons or processes that do not belong to InfoPrint Manager (for example, the Common UNIX Printing System [CUPS] LPD daemon) are running on the same system, stop them if they are.
Important: Do not uninstall CUPS, just stop the cups-lpd daemon on your Linux server.
The InfoPrint Manager for Linux Line Printer Daemon uses port 515.
The LPD protocol defines a print command called lpr. You can use the lpr command, or several other commands that use the LPD protocol, to submit jobs from AIX, Linux or Windows systems to InfoPrint Manager for Linux LPD destinations. You can also send jobs using the LPD protocol from other systems, such as z/OS. Syntax and available options vary from one print command to another and from one version of lpr to another. You might have to adapt examples of print commands for your own system.
You might also have to configure the sending system to compensate for options that your print command does not provide. For example, if the print command does not have an option for specifying a print server, you must create a remote print queue on the sending system with the same name as the LPD destination.
To start and stop InfoPrint Manager Linux LPD you can use the InfoPrint Manager Management Interface:
Launch the Infoprint Manager Management Interface:
- On RedHat Enterprise Server go to Application->InfoPrint Manager->Management Interface.
- On SUSE Linux Enterprise Server go to Computer->More Applications->InfoPrint Manager->Management Interface.
- Go to InfoPrint Manager-> Objects-> LPD Gateway-> Start or Stop.
From the Management Interface, you can start the LPD Gateway as follows:
- Start at reboot: the LPD Gateway Daemon starts automatically when the system reboots.
- Start now: the LPD Gateway Daemon starts immediately.
- Start both: the LPD Gateway Daemon starts immediately and automatically when the system reboots.
From the command line, you can edit the /etc/rc.lpd.daemons and uncomment the
startlpdcomment to automatically start the InfoPrint Manager Linux LPD daemon at system startup.
From the command line, use the
stoplpdto start and stop InfoPrint Manager Linux LPD. For details on how to use these commands, see InfoPrint Manager: Reference.
Make sure that LPD port number 515 is accessible from other systems by updating the iptables or other firewall rules.
- The CUPS lpr command is not a LPD client; it is a client for the CUPS printing system. It keeps compatibility with the traditional command line interfaces for the Berkley (lpr) print systems.
This topic describes the different LPR clients that you can use to send print jobs to InfoPrint Manager for Linux: