Captured from a message in a public CompuServe Forum
Author: Dick Goran, (see EMail
Addresses) (see also Print to a file,
(see also Setup strings for Network
Printer objects, and Release
or hold a printer queue)
The information below is copied from the third edition of the
REXX Reference Summary Handbook:
Class WPPrinter
Key Name Value Description
---------------------------------------------------------
APPDEFAULT YES | NO This PrintObject is, or
is not, to become the
application's default
PrintObject for
printing.
DEFAULTVIEW DETAILS | ICON
Specifies the default
open view for this
PrintObject.
JOBDIALOGBEFORE PRINT
NO | YES Specifies whether the
job properties dialog
is displayed before
printing.
JOBPROPERTIES filename The complete path to a
binary file containing
the default job
properties for this
PrintObject. This file
can be created by
saving the
PRQINFO3->pDriverData
data to a file; this
data can be obtained by
using the SplQueryQueue
API of the spooler.
For more information
about spooler
functions, see the
Presentation Manager
Programming Reference.
OUTPUTTOFILE NO | YES Specifies if the output
of this PrintObject
goes to a file. The
user will be prompted
for a filename each
time a print job is
submitted to this
PrintObject.
PORTNAME portname The names of already
installed ports (i.e.
LPTx, COMx) to which
this PrintObject is to
be attached. In the
case of more than one
port, specify a
comma-separated list.
PRINTDRIVER driver.device
The complete name of
the print driver that
this PrintObject is to
use. For example:
'IBM42XX.IBM 420
Proprinter III',
'LASERJET.HP LaserJet
Series II'. In the case
of more than one print
driver, specify a
comma-separated list.
These printer drivers
must already be
installed.
PRINTERSPECIFICFORMAT
YES The PrintObject spools
print jobs in PM_Q_RAW
format.
NO The PrintObject spools
print jobs in
PM_Q_STANDARD format.
PRINTWHILESPOOLING
NO | YES Printing is not, or is,
enabled while the job
is spooling.
QSTARTTIME time The time when the
PrintObject starts
printing. The time
format is HH:MM, and
the base is a 24-hour
clock.
QSTOPTIME time The time when the
PrintObject is to stop
printing. The time
format is HH:MM, and
the base is a 24-hour
clock.
QUEUENAME queue_name The local queue_name
for the PrintObject. If
a queue name is not
specified, one is
created by the
PrintObject. The
queue_name key will be
ignored if this object
has already been
assigned a queue.
QUEUEDRIVER qdrvname The queue driver name.
The queue driver must
already be installed
and will usually be
PMPRINT.
SEPARATORFILE filename A separator file that
prints before each
print job.