Printer parameter files - Section 10: NUMERIC VALUE SEQUENCES

EXAMPLE (Sculptor print manager)

#10:

NUMERIC VALUE SEQUENCES

/* %,c Insert value as character (binary) */

/* %,d Insert value as decimal digits */

/* %,x Insert value as hexadecimal digits */

/* %,% A single % character */

1:

Set lines/inch = ESC,&,l,%,d,D

2:

Set vertical motion index = ESC,&,l,%,d,C

3:

Set horizontal motion index = ESC,&,k,%,d,H

4:

Set page length = ESC,&,l,%,d,P

5:

Set top margin = ESC,&,l,%,d,E

6:

Set text length = ESC,&,l,%,d,F

7:

Set left margin = ESC,&,l,%,d,L

8:

Set right margin = ESC,&,l,%,d,M

9:

Set vertical position (rows) = ESC,&,a,%,d,R

10:

Set vertical position (dots) = ESC,*,p,%,d,Y

11:

Set vertical position (decipoints) = ESC,&,a,%,d,V

12:

Set horizontal position (cols) = ESC,&,a,%,d,C

13:

Set horizontal position (dots) = ESC,*,p,%,d,X

14:

Set horizontal position (decipoints) = ESC,&,a,%,d,H

15:

Set characters/inch = ESC,(,s,%,d,H

16:

Set font height (points) = ESC,(,s,%,d,V

17:

Set font weight = ESC,(,s,%,d,B

18:

Set number of copies = ESC,&,l,%,d,X

19:

Set degrees of rotation = ESC,&,a,%,d,P

20:

Set left offset registration = ESC,&,l,%,d,U

21:

Set top offset registration = ESC,&,l,%,d,Z

22:

Set unit of measure (units/inch) = ESC,&,u,%,d,D

This section defines control sequences to set numeric values in the printer.

Entries may be omitted if the printer does not have the specified feature. When Sculptor sends one of these sequences, it sends all the sub-entry sequences, in order. Dividing an entry into sub-entries can greatly aid legibility in the case of lengthy sequences.


Syntax

These entries are control sequences.


Availability

Users should not add new entries to this section. All higher-numbered entries are reserved for future use by Sculptor.


Outputting numeric value sequences - the pset function

Control sequences are output by means of the print command and the pset() function:

print pset (seqno, value);

All sequences defined by Sculptor in this section have mnemonic manifest constant definitions in the file $SCULPTOR/include/printer.h.


RELATED TOPICS

Structure of a parameter file

Control sequences

Printer parameter files