C H A P T E R 2

LaserWriter Select 310 Software

softwareiomode

Syntax

int setsoftwareiomode –

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

0binary protocol off

100binary 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

Setting Communication Parameters

The following compatibility operators set Level 1 serial communication parameters. Serial communication channel (SCC) operator encoding is described in Chapter 3, “Communication Channels,” in the section “SCC Operator Encoding.”

packetbackchannel

Syntax

packetbackchannel bool

Definition This operator returns the current back channel packet protocol setting.

Standard value: false

Error stackoverflow

Setting Compatibility Operators

33

Page 45
Image 45
Apple 310 manual Setting Communication Parameters, Softwareiomode, Packetbackchannel