Session command – Xerox 2025 User Manual
Page 159
Sessions
C-15
Document Option Commands
Session Command Location
The %%Session command must
■
Be placed at the beginning of the data stream of a document
to delimit the session boundaries.
■
Precede all of the data that belongs to an individual subjob.
This will ensure that the command is not saved in the actual
data stream that is passed to a language or emulation.
Some host applications add DOC commands at the beginning of a
document’s data stream before transmitting a job to the QMS Crown
printer. If you do not ensure that such features are completely dis-
abled, the processing of the %%Session command will be termi-
nated, and unexpected results may be printed.
Alternatively, if FTP is used to transmit a document to a QMS Crown
printer supporting the %%Session command, the following FTP com-
mand must be entered prior to sending a file to the printer:
cd no_doc_cmds
The default mode of the FTP protocol for the QMS Crown printer adds
network addressing information, in the form of DOC commands, to
the start of a job and this data would also terminate the session.
Session Command
Since each subjob may use a different end-of-subjob argument, the
%%Session: ... command sequence must be inserted at the begin-
ning of each subjob to specify the end-of-subjob argument for that
particular subjob.
Function:
Signal the start of a subjob within a session.
Syntax:
%%Session:
mode argument terminator
Notes:
The %%Session command provides two methods to
signal the end of a subjob, end by count and end by
delimiter string. Both methods may be used within one
document, but each subjob may only use one method.
Parameter:
mode argument