Products   Support   Download   Contact

REMOTE JOB SUBMISSION WITH PANPR

Contents | Index | About the Icons

Abstract

The ScriptServer® PAN Printing System is a distributed printing system. This architecture means that it is possible to use the native panpr command line job submission tool on remote nodes.

Job Submission with panpr

A PAN will accept jobs in a number of ways:

panpr provides a more feature-rich interface than the traditional lp/lpr and may be considered as a submission option for server-side generated jobs when either the PAN LPD Gateway cannot be enabled or to take advantage of the additional job submission parameters provided by panpr.

Using panpr on Remote Nodes

Your PAN installation home directory will look something like this:

[admin pan]$ ls
@post_update  INSTALL.PAN           bin   gs         sbin  web
@q1           Network Trash Folder  cmd   mail       tmp
@update       README                conf  resources  var

In the bin/ subdirectory you will find panpr:

[admin pan]$ ls -l bin/*pr
-rwxr-xr-x    1 pan      users     1533601 Apr  7 18:10 bin/panpr

NOTE: The date and size of the file may be different at your installation

Copy this file to the remote node and give it appropriate file permissions (e.g. chmod a+x).

That's all there is to it!

Why This Works

When you configure your PAN, various components are edited so that they know how to "call home"; panpr is one of those. Therefore, even when you copy the program to some other node and run it, it knows where to look for the PAN.

Technically, it is actually a two step process:

  1. It calls home and requests the file conf/topology.html
  2. It uses the information in topology.html to establish the connection with the PAN.

The following are also possible, but beyond the scope of this memo:

If you need to do either of those things, contact our technical support department.

© 2020 GrayMatter Software Corporation