beautypg.com

Setsccbatch, Setting engine device parameters, Darkness – Apple LaserWriter Select 310 Printer User Manual

Page 47: Setting engine device parameters 2

background image

C H A P T E R 2

LaserWriter Select 310 Software

Setting Compatibility Operators

35

setsccbatch

2

Setting Engine Device Parameters

2

This section describes the compatibility operators that set Level 1 engine device
parameters.

darkness

2

Syntax

channel baud options setsccbatch

Definition

This operator sets the communication parameters as specified by
three integers:

channel, which designates the serial channel. Channel 9 only

is available

baud rate, which determines the rate of data transfer

options, which encodes parity, flow control, the number of
data bits, and the number of stop bits to be used in serial

communication mode

The new baud rate and options do not take effect until the end of the
current job. You may not set the serial channel’s baud rate to 0. A 0
setting will cause a rangecheck error to occur.

Example: 9 19200 2 setsccbatch sets the 8-pin serial channel to
19200 baud with even parity.

Refer to the section “SCC Operator Encoding,” in Chapter 3, for detailed
information on this subject.

Errors

invalidaccess

, rangecheck, stackunderflow, typecheck

Syntax

– darkness

real

Definition

This operator returns the darkness value set by setdarkness.

Standard value: .75

Error

stackoverflow