You can enter all PS (Print System) commands from a CANDE session. The way in which the output is returned to the terminal is similar to the listing of a work file. End of output is signified with a number sign (#). You can enter spaces to continue with the output. The Print System tailors output for terminals at least 80 characters wide. If your terminal is configured for less than 80 characters, you might notice improper formatting of the output.
The PS commands execute with the restrictions and privileges associated with the session usercode. Unlike most other CANDE commands, PS commands are not session-oriented and can affect the behavior of the Print System in general. Privileged users should be aware that some of the commands they enter might change the behavior of the Print System on the host.
For syntax diagrams and explanations of the PS commands, refer to the Print System Administration, Operations, and Programming Guide.
Table 3. PS (Print System) Commands
Command |
Purpose |
---|---|
PS |
Display the versions of all the Print System softwares, followed by a list of the Print System commands. |
PS ACTIVE |
Enable or disable printing of site requests, remote requests, or BNA requests. Also, specify the maximum number of servers allowed for site requests or remote requests. |
PS ADDFILES |
Add print requests for existing backup files with standard system-generated titles that do not have an active task, job, session, or print request associated with them. |
PS ASSOCIATE |
Associate input devices or usercodes with output devices or device groups, or display all of the existing associations. The association affects the selection of devices for printing output. |
PS BANNER |
Display or set the contents and format of the banner pages that separate the individual files within a print request. |
PS BDIR |
Display a list of printer backup files created under the current session or job, a specific session or job, or a specific print request. The session number and job number are typically the same. However, if the job originates from WFL, the job is assigned a number different from the session number. |
PS BNA |
Display the current state of BNA Remote Print System, enable or disable BNA Remote Print System, or enable or disable the tracing feature of BNA Remote Print System. |
PS CONFIGURE |
Display, assign, modify, or cancel the following characteristics of output devices and device groups: The block size the system uses when writing output to the device. The use of checkpoints, to reduce the amount of reprinting needed after a print request is interrupted. The assignment of a descriptive comment that appears in PS DEVICE displays. The assignment of control stations and control users, to prevent other users at other stations from issuing PS commands that affect the output device or device group. The assignment of fonts available on the device. The assignment of font sets available on the device. |
The specification of the PAGECOMP file attribute, to use certain printer capabilities and control the formatting of output. The assignment of PRINTERKIND values, which indicate the page description languages supported by the selected output device. The assignment of the virtual server that processes the print requests routed to a virtual device, to create a virtual device or to change its virtual server. The assignment of the device driver that processes the print requests routed to a device, to control certain printing capabilities. A device driver can be used in conjunction with the PAGECOMP file attribute to control the formatting of output. The manner in which channel-skipping operations are to be performed. The assignment of a value for the FORMID file attribute, to indicate whether or not an output device or device group has a special form required for tasks such as printing paychecks or invoices. The printing of header pages and trailer pages, to indicate the start and end of a print request. The creation of I/O handlers, or the assignment of the I/O handler functions to be used by a I/O handler. The assignment of size limits and time limits, to restrict the size of print requests that can be accepted during a certain time. The assignment of the estimated lines per page, to enable you to skip a printer (usually one with a special form) to another page instead of another line. The assignment of limits for the maximum number of fonts that can be downloaded to a printer and the maximum memory available for use with downloadable fonts. |
|
PS DEFAULT |
Set (or display the current setting of) the following defaults for the Print System: The compression of the SYSTEM/BACKUPFILELIST file at each system initialization The configuration of unknown remote devices The printer group to be used for printing requests that do not have a specific destination The printing of job summary files when the JOBSUMMARY task attribute has the value DEFAULT The PAGECOMP specification to be used with job summary files The system-wide PAGECOMP specification to be used with backup files or data files |
The point in a job when a print request is generated The PRINTERKIND specification to be used for printing files The removal of backup files with a value of TRUE for the LOCKEDFILE file attribute The maximum value that can be assigned as a print request number The ordering of print requests displayed by the PS SHOWREQUESTS command |
|
PS DELETE |
Delete print requests from the print queue, or delete a file within a print request. |
PS DEVICES |
Provide information about the configuration of a device or device group. |
PS FONTLIB |
Manage the font library. |
PS FORCE |
Mark one or more print requests as candidates for immediate printing. |
PS GROUP |
Define a group of printers that can be referred to by a single logical name, or display information about the existing device groups. |
PS HEADER |
Display or set the contents and format of the header page which marks the start of each print request. |
PS LOAD |
Execute a text file containing Print System commands. |
PS MODIFY |
Retry a print request, or alter one or more file attribute or print modifier values of a print request and retry it. |
PS NOTOK |
Indicate that the paper alignment on a printer needs to be checked again, so the alignment test pattern should be printed another time. |
PS OK |
Start a printing device or a print request from a stopped state that resulted either from a PS STOP command or from the forms alignment process. |
PS QUIT |
Close down the Print System, to install a different version of the PrintS software or to fall back to an earlier version of the MCP. PS QUIT causes the Print System to reject new requests for the Print System, its utilities, or the PRINTSUPPORT library. The PS QUIT NOW command terminates all Print System tasks completely, including all backup processor sessions. |
PS READY |
Ready a printing device from a saved state resulting from a PS SAVE command. |
PS REQUEUE |
Stop a currently printing request, print a trailer page, and return the request to the print request list. |
PS RESTART |
Restart the Print System after it has been closed down by a PS QUIT command. |
PS SAVE |
Prevent the Print System from considering the specified device as the destination for any further print requests. |
PS SELECTION |
Display or change the print request selection criteria that decide the order in which print requests are printed. |
PS SHOWREQUESTS |
Show information about the print requests in the system. |
PS SKIP |
Make the print server skip forward or backward from the current position in the backup file and continue printing from the new position. |
PS STATUS |
Display the status summary of all current print requests. |
PS STOP |
Stop a device or a print request. The device remains stopped until a PS OK command is entered to resume printing. |
PS TRAILER |
Display or set the contents and format of the trailer page that marks the end of each print request. |