Products   Support   Download   Contact

ENABLING THE SCRIPTSERVER® PAN LPD GATEWAY

Contents | Index | About the Icons

Abstract

The ScriptServer® PAN Printing System (PAN) has an LPD gateway feature which accepts jobs from LPR clients and other printing systems. This memo highlights issues pertinent to configuring that gateway; complete instructions can be found in the release notes.

Preconditions

There are two preconditions which must be met prior to attempting to enable the LPD gateway.

No other LPD listener on port 515

No other LPD listener can be configured on port 515 on the server; the PAN LPD gateway will be the LPD listener configured on the server.

An easy way to determine whether or not something is listening on port 515 is to attempt to telnet to it; in most cases if there's "nobody home", you'll get a connection refused message (assuming that you're running a shell session on the host which will be configured as the PAN LPD gateway):

[admin home]$ telnet localhost 515
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

"Nothing happens" is usually an indicator that indeed you have established a telnet connection with something (but it doesn't speak "humanese").

In conclusion: prior to configuring the PAN LPD gateway, connection refused is good and what you should expect to see.

chmod a+s pancom

pancom is what listens on port 515. For historical reasons, port 515 is considered a privileged port. In order to install itself as a listener on the port, pancom needs to run as root. In order to make this possible, you need to perform the following steps:

su root
chown root pan/sbin/pancom chmod a+s pan/sbin/pancom

Note that the actual directory pan/sbin is installation-dependent, although it will be called <something>/sbin.

Enabling the LPD Gateway

The gateway is enabled from PAN Administration -> Manage hosts -> change host.

© 2020 GrayMatter Software Corporation