###############################################################################
##
## Interface Program Map for PCL5
##
## This file contains conversion table from ISO/DPA job and document
## attributes to corresponding PCL5 interface program "-o" options.
##
## o Format: attribute=value attribute=value ... > "-o" options
##
## o Not all "-o" options can be used through this conversion table.
##   Use printer-pass-through attribute for complete control of those
##   options.
##
## o Only single-valued attribute may be described.  For example, the
##   following is not a valid entry.
##   
##   attribute=value1 value2                               > option1
##
## o The first conversion described in this file is used.  For example,
##   suppose that the following two entries are present:
##
##   (1) attribute1=value1 attribute2=value2                > option1
##   (2) attribute1=value1                                  > option2
##
##   If two attributes attribute1 and attribute2 with the value value1
##   and value2 respectively, are specified for the print job, the first
##   entry (1) is used and (2) is ignored.
##
##   If only the attribute1 with the value value1 is specified for the
##   print job, then (2) is used and (1) is ignored.
##
## o Variables may be used to describe the conversion.  The number of
##   available variables is 9 ($1, $2,..., $9).  However, those variables
##   must appear in the same order on both sides of the conversion table.
##
##   For example, suppose that the following entries are present:
##
##   attribute1=$1 attribute2=$2                        > xxx$1xxx$2xxx
##
##   If the attribute1 and attribute2 are specified with valid values
##   "value1" and "value2" as job or document attributes, then the string
##   xxxValue1xxxValue2xxx is passed to the interface program.
##
## o The following attributes are internally set by HPDPS print system
##   based on the specified job and document attributes, and the physical
##   printer configuration.  The purpose of these attributes is to enable
##   conversion from complex ISO/DPA attributes to "-o" options, and
##   pass the information of the physical printer configuration to the
##   interface prorgam.
##   
##   (1) begining-page-requested
##
##       This attribute identifies the beginning page of the document
##       specified by the beginning-page compoment of the document
##       page-select attribute.
##   
##   (2) ending-page-requested
##
##       This attribute identifies the ending page of the document
##       specified by the ending-page compoment of the document page-
##       select attribute.
##
##   (3) output-bin-requested
##
##       This attribute identifies the output bin specified by the
##       output-bin compoment of the job results-profile attribute.
##
##   (4) device-name-assigned
##
##       This attribute identifies the path name of the device file
##       associated with the physical printer, which is specified by
##       the printer device-name attribute.  This attribue is set if
##       the printer attribute attachment-type is serial or parallel.
##
###############################################################################

###############################################################################
##
## Job Attributes
##
###############################################################################

##
## Job Sheets
##
job-sheets=job-set-start				> yb
job-sheets=none						> nb

##
## Output Bin Selection
##
output-bin-requested=$1					> obin$1

###############################################################################
##
## Document Attributes
##
###############################################################################

##
## Document format: Must be appear before 'content-orientation'
##
document-format = pcl					> pcl
document-format = postscript				> postscript
document-format = passthru				> raw
document-format = pjl					> raw
document-format = hpgl content-orientation = portrait	> hpgl2_p portrait
document-format = hpgl content-orientation = landscape	> hpgl2   landscape

##
## Page Orientation
##
content-orientation = portrait				> portrait
content-orientation = landscape				> landscape

##
## Input Tray Selection
##
input-tray-select = top					> ubin
input-tray-select = middle				> ubin
input-tray-select = bottom				> lbin
input-tray-select = manual				> man

default-input-tray = top				> ubin
default-input-tray = middle				> ubin
default-input-tray = bottom				> lbin
default-input-tray = manual				> man

##
## Medium Selection
##
default-medium = na-letter-white			> letter
default-medium = na-legal-white				> legal
default-medium = iso-a4-white				> A4

##
## Printer Resolution/Quality
##
default-printer-resolution = highest			> dpi600
default-printer-resolution = medium			> dpi600
default-printer-resolution = lowest			> dpi300
default-printer-resolution = 600			> dpi600
default-printer-resolution = 300			> dpi300

print-quality = high 					> dpi600
print-quality = normal					> dpi600
print-quality = draft					> dpi300

##
## Margin Selection
##
left-margin=$1						> lm$1
right-margin=$1						> rm$1

##
## Dividing Page
##
number-up=2						> half
number-up=4						> quarter

##
## Page Select
##
beginning-page-requested = $1 ending-page-requested = $2> P$1:$2
beginning-page-requested = $1				> P$1
ending-page-requested = $1				> P1:$1

##
## Sides and Plex
##
sides = 1 plex = simplex				>
sides = 1 plex = duplex					>
sides = 2 plex = simplex				>
sides = 2 plex = duplex					> double
plex = duplex                                           > double
