MAIL PRINT — VMS 5.5
Queues a copy of the message you are currently reading (or have just
read) for printing. The file(s) created by the PRINT command are
not released to the print queue until you exit from MAIL.
Multiple messages are concatenated into one print job.
The PRINT command can take optional qualifiers. Also see the DCL command
PRINT for more information on each qualifier.
Format:
PRINT
Additional information available:
Qualifiers
Additional information available:
/AFTER/ALL/BURST/CANCEL/COPIES/FEED/FLAG
/FORM/HOLD/NAME/NOTIFY/NOW/PARAMETERS
/PRINT/QUEUE/SPACE/TRAILER
/AFTER
/AFTER=time Requests that the job not be printed until a specific time of day. You can specify either absolute or delta time.
/ALL
/ALL Indicates that all the currently selected messages be printed.
/BURST
/[NO]BURST=( ALL : ONE ) Controls whether a burst page is printed preceding a message. The qualifier can take either of two keywords: ALL or ONE. The ALL keyword indicates that each file in the job be preceded by a burst page and flag page. The ONE keyword indicates that a burst page is appended only to the first copy of the first file in the job.
/CANCEL
/CANCEL Cancels all messages that have been queued for printing during the current session.
/COPIES
/COPIES=n Indicates the number of copies to be printed. The default is 1.
/FEED
/[NO]FEED Controls whether the PRINT command automatically inserts form feeds when it nears the end of a page. /FEED is the default.
/FLAG
/[NO]FLAG=( ALL : ONE ) Controls whether a flag page is printed preceding a message. The qualifier can take either of two keywords: ALL or ONE. The ALL keyword indicates that each file in the job be preceded by a flag page. The ONE keyword indicates that a burst page is appended only to the first copy of the first file in the job.
/FORM
/FORM=form-name Specifies the name or number of the form that you want for the print job. Enter the DCL command SHOW QUEUE/FORM to list which forms are available on your system.
/HOLD
/[NO]HOLD Controls whether the message is available for print immediately. The job is not released for actual printing until you use the DCL command SET QUEUE/ENTRY/RELEASE to release it.
/NAME
/NAME=job-name Defines the name string to identify the job.
/NOTIFY
/[NO]NOTIFY Indicates that you be notified by a broadcast message when the file or files have been printed. The default is /NONOTIFY.
/NOW
/NOW Sends all messages that have been queued for printing with the PRINT command during this session to the printer. Synonymous with the /PRINT qualifier.
/PARAMETERS
/PARAMETERS=(parameter[,...]) Specifies from one to eight optional parameters to be passed to the job.
/PRINT Indicates that all files previously queued to be printed are to be released to the print queue. If you do not specify the /PRINT qualifier, files are not released to the print queue until you exit from MAIL. The PRINT/PRINT command does not queue the current message for printing.
/QUEUE
/QUEUE=queue-name The name of the queue to which a message is to be sent. If the /QUEUE qualifier is not specified, the message is queued to the SYS$PRINT printer.
/SPACE
/[NO]SPACE Controls whether output is to be double-spaced. The default is /NOSPACE (single-spaced).
/TRAILER
/[NO]TRAILER=( ONE : ALL ) Controls whether a trailer page is printed at the end of message. The qualifier can take either of two keywords: ALL or ONE. The ALL keyword indicates that each file in the job is followed by a trailer page. The ONE keyword indicates that a trailer page is appended to the last copy of the last file in the job.
Examples
1.
MAIL> 5
MAIL> PRINT/QUEUE=LMNO_PRINT
MAIL> EXIT
Job MAIL (queue LMNO_PRINT, entry 333) started on LMNO_PRINT
$
This example shows how to print message number 5 on printer LMNO_PRINT
2.
MAIL> 14
MAIL> PRINT
MAIL> 23
MAIL> PRINT
MAIL> PRINT/PRINT
Job MAIL (queue QUASAR_PRINT, entry 316 started on QUEUE$LPAO
This example shows how to release mail messages (14 and 23) to the
print queue by entering the /PRINT qualifier.
3.
MAIL> 2
MAIL> PRINT
MAIL> 7
MAIL> PRINT
MAIL> 9
MAIL> PRINT/QUEUE=WRITERS_PRINT
Job MAIL (queue WRITERS_PRINT, entry 332) started on QUEUE$LPA0
MAIL> 24
MAIL> PRINT
MAIL> 31
MAIL> PRINT/QUEUE=READERS_PRINT
Job MAIL (queue WRITERS_PRINT, entry 335) started on QUEUE$LPA0
MAIL>exit
Job MAIL (queue READERS_PRINT, entry 336) started on QUEUE$LPB0
This example shows how mail messages are released to the print queue
when you use the /QUEUE qualifier. The system queue message is only
output when you have changed the queue name.
4.
MAIL> PRINT/AFTER=20
MAIL> exit
Job MAIL (queue ABCD_PRINT, entry 116) holding until 22-MAY-1988 20:00
This example shows how to specify the job not be printed until after
8:00 PM.