C

C-2

CENTRONICS INTERFACE BOARD

Once the V8.5E Centronics adapter is set to raster mode it will remain in raster mode until the init line of the host Centronics port is pulsed or the plotter power is cycled. This will return the adapter to print mode.

2.) Enhanced transfer format

For more flexibility, a 6 byte header can be sent before each scan of rastered data. This header allows variable bytes/scan plotting. The Centronics adapter also returns to print mode at the end of every scan using this transfer method. This allows the five 1B, 4X commands or the standard ASCII control codes listed below in section 3 to be used during plotting. The format of the 6 byte header is:

1B 2A 72 XX YY 01 where

XX = high byte of the

 

number of bytes/scan

 

YY = low byte of the

 

number of bytes/scan

Example:

To send a plot that is rastered to 200 bytes/

 

scan, send the following 6 byte header be-

 

fore each and every scan of 200 bytes:

1B 2A 72 00 C8 01 00C8 hex = 200 decimal

for a plot consisting of 1728 bytes/scan, send

1B 2A 72 06 C0 01 06C0 hex = 1728 decimal

The valid number of bytes that can be sent to the V8.5E using this transfer method is as follows:

V8.5E bytes/scan menu setting valid number of bytes/scan raster data (XX YY)

V8.5eRev2.2.2002

Page 79
Image 79
HP V8.5 manual Centronics Interface Board