HP Distributed Print Service Administration Guide

98 Chapter5
Creating/Configuring Supervisors and Physical Printers
Creating and Configuring Physical Printers
pdcreate -c printer -x "attachment-type=lp-spool-bsd \
internet-address=15.164.144.04 print-queue-name=RemoteQueue3"
\
Super1:PhyPrt1
If the same attribute is specified both on the command line (using the -x
flag) and in the default attributes for the printer model, HPDPS uses the
attribute value specified on the command line.
Adding A Customized printer-model Attribute
You can create your own printer-model attribute. Your printer-model
must be set up like the HPDPS-supplied printer-model directory. You
will need to perform the following steps:
1. Create the following directory representing your printer model
name:
/var/opt/pd/lib/model/
YourModelName
The model name cannot be the same name as one already present in
the default model directory /opt/pd/lib/model.
2. Your directory must contain the following four files:
attribute This text file contains default attributes for your
printer.
driver This file is the printer driver. The driver file must
have a symbolic link pointing to:
/opt/pd/lib/libfcrm0.sl
ipmap This interface program map contains the conversion
table to map between HPDPS and the LP spooler. It
maps the attribute value pairs and the interface
program file supported options.
ip This interface program file, which is based on PCL5
interface program filefor the LPspooler, is intended
for use by HPDPS supervisor.
These files are similar to those located in the /opt/pd/lib/model
directory.
3. Create a physical printer with your customized printer model. For
example, to create a physical printer MyPtr1 using the MyModel,
enter: