ADC Home > Reference Library > Technical Q&As > Legacy Documents > Printing >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

Printing, Forward and Reverse Line Feeds

Q: What are the possible number-type values for the forward and reverse line feeds?

A: These are the values:

Name Value

rasterNumNone		0

Only the prefix and postfix strings are sent to the device, not the number itself.

rasterNumDirect		1

This pads the number to minwidth (minwidth is a field in the ropt struct) bytes by appending 0s to the front of the number, and then puts the hex data into the stream.

rasterNumToAscii	2

This is similar to rasterNumDirect (above), except the number is converted to ASCII and then front-padded with the pad character specified to make it minwidth characters long. For example, the ImageWriter requires four-digit numbers, so minwidth would be set to four, the padchar would be 0, and this attribute would be set.

[May 01 1995]

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.