Setdefaultpapertray, Setmargins – Apple LaserWriter Select 310 Printer User Manual
Page 41
C H A P T E R 2
LaserWriter Select 310 Software
Setting Compatibility Operators
29
setdefaultpapertray
2
setdostartpage
2
setmargins
2
Syntax
tray setdefaultpapertray –
Definition
When the server begins a job, it establishes the default paper tray as the
tray from which it will feed paper, and it sets up an imageable area
corresponding to the size of paper in that tray. The tray operand is an
integer that must be set to one of the following values:
0
for the main cassette (cassette 250)
1
for the multipurpose tray
2
for the optional cassette (cassette250/500)
Errors
invalidaccess
, rangecheck, stackunderflow, typecheck
Syntax
bool setdostartpage –
Definition
Since the LaserWriter Select 310 printer has no start page, executing this
operator with a value of true has no effect, and is ignored. The operator is
present to maintain compatibility with the Personal LaserWriter NT.
Errors
invalidaccess
, stackunderflow, typecheck
Syntax
top left setmargins –
Definition
This operator adjusts the printer’s margins, thus changing the alignment
of the imageable area on the physical page. The top and left operands are
integers that specify distances in device space. (The unit size is one
device pixel or 1/300 inch.) A positive top widens the top margin, and a
negative top narrows it, relative to the standard margin width. Similarly a
positive left widens the left margin, and a negative left narrows it.
You should use setmargins only at installation time to correct any
existing physical alignment errors. There are limits to the range of
adjustment possible. The printer hardware imposes margins that cause
the image to be clipped it is moved too close to the edge of the paper.
Note 1. The margins imposed by the hardware are not symmetrical
with respect to the center of the paper.
Note 2. This operator in no way affects the dimensions of the
imageable area.
Standard value: 0
Errors
invalidaccess
, rangecheck, stackunderflow, typecheck