beautypg.com

Softwareiomode, Setting communication parameters, Packetbackchannel – Apple LaserWriter Select 310 Printer User Manual

Page 45: Setting communication parameters 2

background image

C H A P T E R 2

LaserWriter Select 310 Software

Setting Compatibility Operators

33

softwareiomode

2

Setting Communication Parameters

2

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

2

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

Syntax

packetbackchannel

bool

Definition

This operator returns the current back channel packet protocol setting.

Standard value: false

Error

stackoverflow