Specifications

CHAPTER 3
LaserWriter Pro Software
Setting System Parameters 59
dosysstart 3
emulate 3
pagecount 3
papersize 3
Syntax dosysstart bool
Definition This operator returns true only if the value of the system parameter
StartupMode is 1.
Error stackoverflow
Syntax file name emulate
Definition This operator invokes one of the emulators. The file parameter is used
as an input source for the emulation. For the LaserWriter Pro printer
the file should always be the file that is returned by the currentfile
operator. The name parameter selects which emulator to invoke. The
acceptable name is /hpcl.
If a serial input channel is used as the emulation source, the binary
protocol must be selected. Otherwise, a rangecheck error occurs.
This procedure enables host computers to switch between PostScript
language interpretation and the emulator.
Errors rangecheck, stackunderflow, typecheck, VMerror
Syntax pagecount int
Definition This operator returns the value of the system parameter PageCount.
Error stackoverflow
Syntax papersize name bool
Definition This operator returns the name of the operator that selects a tray
containing paper of the current size. For example, if the current paper
size is letter, this operator returns the value /lettertray. The value
of bool is true if the page feeds short edge first, false if the page
feeds long edge first. For the LaserWriter Pro printer, the value of bool
is always true.
If there are two paper trays installed, and you execute the operator
returned by papersize at a later time, it may not choose the same tray,
if both trays have the same size paper installed.
Error stackoverflow