Previous | Contents | Index |
You can create form definitions, which users can include in their PRINT command to modify the appearance of a file. A form definition can specify several attributes for a print job, including the type of paper stock on which it is to be printed; the width, length, and margins associated with the paper; whether long text lines are to be truncated or wrapped onto another line; and setup modules to be implicitly sent to the printer.
When users specify an unknown form name in their PRINT command, DECprint Supervisor informs them immediately. In contrast, if they specify an unknown setup module in their PRINT command, DECprint Supervisor does not inform them of the problem until it starts printing the job and needs to access the setup module.
The commands for creating, maintaining, and deleting forms require that
you have operator privileges.
8.1 Associating Setup Modules with Forms
To associate a setup module with a form, use the DEFINE/FORM command with the /SETUP qualifier.
Example 8-1 defines a form called CONFIDENTIAL that uses a setup module called PRIVATE.
Example 8-1 Sample Form Definition, CONFIDENTIAL |
---|
$ DEFINE/FORM CONFIDENTIAL 101- /DESCRIPTION="prints the word CONFIDENTIAL on each page"- /STOCK=DEFAULT- /SETUP=PRIVATE |
When you define a form, you supply the following qualifiers and information:
The existence of the setup module(s) is not checked until the form is used. |
If users invoke a setup module frequently, you can associate the setup module with a form, then associate the form with a queue. This method ensures that print jobs submitted to the queue automatically use the setup module. Use the following procedure to associate a form with a queue:
$ @SYS$STARTUP:EXECUTION_QUEUE.COM - XLR8- !P1 - Execution queue name "DECNET/XLR8" - !P2 - Device name DCPS_LIB - !P3 - Logical name for /LIBRARY "" - !P4 - Not used "/FORM_MOUNTED=CONFIDENTIAL/DEFAULT=(FORM=CONFIDENTIAL,NOFEED)" !P5 - Queue default qualifiers |
When you define forms for ANSI files, you can use various qualifiers that affect the page layout. For example, the following command defines the form CENTER to have a top margin of 6 and a left margin of 10:
$ DEFINE/FORM /MARGIN=(TOP=6,LEFT=10) CENTER 3 |
You can use the qualifiers in Table 8-1 with form defintions for ANSI files only:
This Qualifier ... | Does the Following ... |
---|---|
/LENGTH= n | Sets the length of each page, in lines. |
/MARGIN= keyword= n |
Sets the margins.
You supply one or more of the following keywords:
To supply more than one margin keyword, enclose the list in
parentheses, as in:
|
/PAGE_SETUP= module | Applies a page setup module to each page in the job. |
/[NO]TRUNCATE | Truncates long lines that do not fit in the page width. |
/WIDTH= n | Sets the width of the page in columns or characters. |
/[NO]WRAP | Wraps lines wider than the page to the next line. |
Notes:
You can display the forms that already exist on your system with the following command:
$ SHOW QUEUE/FORM |
The form definitions display as follows:
Form name Number Description --------- ------ ----------- A4_12 (stock=PLAIN_PAPER) 1129 A4 12-Pitch with margins A4_LPT_GRAY (stock=PLAIN_PAPER) 1118 A4 DP line printer with gray bars A4_LPT_PLAIN (stock=PLAIN_PAPER) 1119 A4 Plain DP line printer format BOOT_CHART (stock=DEFAULT) 37 BOOT_CHART BSS$LANDSCAPE (stock=DEFAULT) 3301 BSS Specific Landscape BSS$PORTRAIT (stock=DEFAULT) 3302 BSS Specific Portrait |
You can display the attributes of a form using the SHOW QUEUE/FORM/FULL command. For example, this command displays the attributes of DCPS$DEFAULT:
$ SHOW QUEUE/FORM/FULL DCPS$DEFAULT |
Form name Number Description --------- ------ ----------- DCPS$DEFAULT (stock=DEFAULT) 1115 DCPS default /LENGTH=66 /STOCK=DEFAULT /TRUNCATE /WIDTH=80 |
Use the DELETE/FORM command to delete a form definition from the system's form table. The format of this command is as follows:
$ DELETE/FORM form-name |
In the command line, you supply form-name, which is the name assigned to the form you are using.
Before you use the DELETE/FORM command, execute the SHOW QUEUE/FULL/ALL command. References to a form can exist as an attribute of an active print queue or as a qualifier to a print request. If you try to delete a form that has outstanding references, you are notified of the condition, and the form is not deleted. (Refer to Appendix A.)
8.6 Using the Default ANSI Form Definition
If users omit a form definition in their PRINT command, but supply one
of the following qualifiers, DECprint Supervisor links the default form
definition DCPS$DEFAULT with the ANSI file.
This chapter describes the accounting information that is supplied to the OpenVMS accounting files by the DECprint Supervisor software.
The OpenVMS Accounting Utility reads information about the use of
system resources from the file SYS$MANAGER:ACCOUNTING.DAT. The
DECprint Supervisor software records information in this file about printer
usage. For information about the OpenVMS Accounting Utility, see the
OpenVMS System Manager's Reference Manual.
9.1 Accounting Information Supplied by the DECprint Supervisor Software
The print symbiont supplies the following information in the accounting file for each print job:
When a print job has been completed successfully, the print symbiont sends a request to the job controller to insert certain accounting data fields into the accounting log file. For successful jobs and jobs terminated by the DELETE/ENTRY command, the accounting file also includes the following message:
%SYSTEM-S-NORMAL, normal successful completion |
If the print job terminates abnormally, the information the print symbiont supplies in the accounting log may be incomplete. To filter out such jobs, count only the jobs that receive the successful completion status message. Any of the following may cause the job to terminate abnormally:
The job controller supplies the following information in the accounting file for print jobs:
$ PRINT/QUEUE=LN03R$SCRIPT4/NOTIFY TEST.MEM Job TEST (queue LN03R$SCRIPT4, entry 222) started on queue SCRIPT4 |
%JBC-S-NORMAL, Normal successful completion |
The job controller fills the following fields with blanks in the accounting file for print jobs:
The job controller fills the following fields with zeros in the accounting file for print jobs:
The PrintServer printers have mechanical page counters.
The mechanical page counter is different from the counter accessible through the PostScript pagecount operator.
Under normal use, the totals of both counters increase at a similar rate, but there can be a significant difference between them. Print engine test pages, initiated with the test button on the printer, are recorded on the mechanical counter but not on the PostScript counter. Also, replacing components can affect the counters. For example, replacing the nonvolatile memory of the controller resets the PostScript counter, but it does not affect the mechanical counter.
Because the counters record different events, they should be used for different purposes:
This chapter provides management information about using DCPS with
specific printers. Printer-specific information that might be of
interest to general users is in the User's GuideUser's Guide rather than in this
manual. The Release NotesRelease Notes may also contain additional printer-specific
information.
10.1 Apple LaserWriter Plus Printer
10.1.1 LPS$PERSISTENT_RESOURCES Not Supported
The DCPS feature to load the module LPS$PERSISTENT_RESOURCES outside
the PostScript server loop for desktop printers is not supported for
the LaserWriter Plus.
10.2 DIGITAL Colorwriter LSR 2000 Printer
10.2.1 NIC Does Not Work with Raw TCP/IP
DCPS cannot communicate with the Colorwriter LSR 2000 NIC via a raw
TCP/IP connection because the NIC does not support raw TCP/IP
communication.
AppleTalk is the only network protocol that DCPS can use to communicate
with the Colorwriter LSR 2000 printer.
10.3 DIGITAL DECcolorwriter 1000 Printer
10.3.1 Printer-Specific Setup Files
You can use the files listed in the table below to alter the persistent state of the printer, affecting all subsequent jobs that the printer receives from your system and from other systems in the network until the printer is turned off and back on. The files are located in the SYS$COMMON:[SYSHLP.EXAMPLES.DCPS] directory.
Setup File | Description |
---|---|
DCW1000_CONFIG.PS | Sets the printer timeouts |
DCW1000_DEVPARAM.PS | Changes configuration of the serial port |
DCW1000_STARTPG.PS | Enables the start page |
DCW1000_NOSTRTPG.PS | Disables the start page |
DCW1000_PRNTCNFG.PS | Enables a software-selected information page |
DCW1000_PSCRIPT.PS | Changes the port to PostScript and default on all ports |
Notes:
When using DCPS with the DEClaser 3500 printer with the optional serial port, the job may remain in a starting state. If this is the case, you must choose one of the following options:
The optional network card supports switching to native PCL; however,
the protocol must be set to autosensing.
10.4.3 NIC Does Not Work with Raw TCP/IP
DCPS cannot communicate with the printer via a raw TCP/IP connection because the NIC does not support bidirectional TCP/IP communication.
As an alternative, you can connect the printer to a print server (for
example, the Rapidprint 500) or a terminal server, or use a LAT
connection instead.
10.5 DIGITAL DEClaser 5100 Printer
10.5.1 Native PCL Is Unavailable with EtherTalk Protocol on NIC
Because of a problem with the Network Interface Card (NIC), DCPS cannot switch the printer into native PCL when using the EtherTalk protocol. Users will see the error:
%DCPS-W-UNDEF, undefined: Name not known - offending command is <1B> %DCPS-E-FLUSHING, Rest of Job (to EOJ) will be ignored |
A partial workaround is possible by specifying a default print job
parameter of PAGE_LIMIT=999999 for the queue when you create
it in DCPS$STARTUP.COM. This parameter forces any PCL files to be
printed through the PCL translator. Remember, though, that the PCL
translator is PCL 4 rather than PCL 5.
10.5.2 NIC Does Not Work with Raw TCP/IP
DCPS cannot communicate with the printer via a raw TCP/IP connection because the NIC does not support bidirectional TCP/IP communication.
As an alternative, you can connect the printer to a print server (for
example, the Rapidprint 500) or a terminal server, or use a LAT
connection instead.
10.5.3 Downloading and Deleting Fonts
You may download or delete fonts from the DEClaser 5100 printer's
optional hard drive using the FONT_DOWNLOADER.COM procedure described
in Appendix C.
10.5.4 Error Page Feature
The DEClaser 5100 printer has a feature that ejects the current sheet and then prints a PostScript Error information sheet when a PostScript interpreter error occurs. While this feature provides a powerful means for analyzing PostScript problems, it is not recommended for everyday use with the DCPS software for the following reasons:
You should disable the feature called "Print Errors" through the DEClaser 5100 front panel before starting print queues with DCPS. Enable the feature only when you are interested in analyzing PostScript problems.
If a job fails to print because of a "Limitcheck" error, also see if "page protection required" is part of the error message. Presence of this error means the job failed because of a banding failure.
Previous | Next | Contents | Index |