Waittimeout, Setting device parameters, Setsoftwareiomode – Apple LaserWriter Select 310 Printer User Manual

Page 44: Setting device parameters 2

Advertising
background image

C H A P T E R 2

LaserWriter Select 310 Software

32

Setting Compatibility Operators

waittimeout

2

Setting Device Parameters

2

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

setsoftwareiomode

2

Syntax

– waittimeout

int

Definition

This operator is the wait timeout currently in effect, that is, it is the
number of seconds the LaserWriter Select 310 printer will wait to receive
additional characters from the host before it aborts the current job by
executing a timeout. At the beginning of a job, the server initializes
waittimeout

to the default wait time returned by defaulttimeout.

However, a PostScript language program may change it to any
non-negative integer value. In interactive mode, the wait timeout is
always 0.

Standard value: 40

Error

stackoverflow

Syntax

int setsoftwareiomode –

Definition

This operator sets the binary protocol mode of the communications
channel according to the value of int:

0

binary protocol off

100

binary protocol on

Binary protocol is standard in the LaserWriter Select 310 printer, and it
should be used by any driver that sends binary data to the printer.

A driver that does not use the binary protocol and does not filter the back
channel data when softwareiomode is 100 will see receive control
characters as quoted characters. In particular, Control-Ds will be seen as
Control-A/ASCII-D.

The softwareiomode operator does not need to be set outside the
server loop in order to be compatible with other printer implementations
of sofwareiomode. However changes to it do not take effect until the
job that makes the changes is completed.

Standard value: 100

Errors

rangecheck

, stackunderflow, typecheck

Advertising