Printer parameter files - Section 7: SPECIAL TEXT¶
Contents
EXAMPLE
#7: |
SPECIAL TEXT |
---|---|
1: |
Euro = “\EURtm” |
This section defines special text print control sequences.
Syntax |
---|
Entries in this section are sequences to display special text |
Availability |
---|
Users should not add new entries to this section. All higher-numbered entries are reserved for future use by Sculptor. Section 4 (User control sequences) should be used if additional control sequences are required. |
Entries |
|
---|---|
1 |
Euro character as it is encoded for this special printer. |
Outputting special text - the pstext function¶
Special text is output by means of the print command and the pstext() function, e.g:
print pstext(1);
/* The same using the definition */
print PSTEXT_EURO;
All sequences defined by Sculptor in this section have mnemonic manifest constant definitions in the file $SCULPTOR/include/printer.h (PSTEXT_ values)
RELATED TOPICS |