Standard control sequences

These constants, which have a variety of different prefixes, may be used to replace both the psc() function call and its arguments.

Manifest constant

Sequence

PSC_INITIALISE

psc(5)

PSC_RESET

psc(6)

PSC_FORM_FEED

psc(7)

PSC_CLEAR_MARGINS

psc(8)

PSC_RESERVED

psc(9)

PSC_FLOATING_UNDERLINES

psc(10)

PSC_UNDERLINE

psc(11)

PSC_END_UNDERLINE

psc(12)

PSC_DOUBLE_WIDTH

psc(13)

PSC_SINGLE_WIDTH

psc(14)

PSC_ENHANCED

psc(15)

PSC_NORMAL

psc(16)

PSC_ALTERNATE

psc(17)

PSC_STANDARD

psc(18)

PSC_PRIMARY_FONT

psc(19)

PSC_SECONDARY_FONT

psc(20)

PSC_FIXED

psc(21)

PSC_PROPORTIONAL

psc(22)

PSC_ENABLE_PERFSKIP

psc(23)

PSC_DISABLE_PERFSKIP

psc(24)

Since Sculptor version 6.2.0 these new sequences have been added, see $SCULPTOR/print/html.s and $SCULPTOR/print/latext.s:

PSC_START_ROW

psc(25)

PSC_END_ROW

psc(26)

PSC_START_COL_ALG_LEFT

psc(27)

PSC_START_COL_ALG_CENTER

psc(28)

PSC_START_COL_ALG_RIGHT

psc(29)

PSC_END_COL

psc(30)

PSC_REAL_SPACE

psc(31)

PSC_REAL_NEWLINE

psc(32)

PSC_ESCAPE_CHARS1

psc(33)

PSC_ESCAPE_VALUES2

psc(34)

1

PSC_ESCAPE_CHARS define characters that must be escaped when printed, see this simplified example (a complete one can be found in the latex.s file):

33: Chars to escape = "áé"
2

PSC_ESCAPE_VALUES define the escape sequence for each char in PSC_ESCAPE_CHARS, for the same previous simplified example:

34[1]: Escaped 1 = "\\'{a}"
34[2]: Escaped 2 = "\\'{e}"

Select orientation

POR_PORTRAIT

psc(51,1)

POR_LANDSCAPE

psc(51,2)

POR_REVERSE_PORTRAIT

psc(51,3)

POR_REVERSE_LANDSCAPE

psc(51,4)


Select paper tray

PPT_EJECT_PAGE

psc(52,1)

PPT_LOWER_CASSETTE

psc(52,2)

PPT_MANUAL_FEED

psc(52,3)

PPT_MANUAL_ENVELOPE

psc(52,4)

PPT_MP_TRAY

psc(52,5)

PPT_500-SHEET_CASSETTE

psc(52,6)

PPT_ENVELOPE_FEEDER

psc(52,7)


Select page size

PPS_EXECUTIVE

psc(53,1)

PPS_LETTER

psc(53,2)

PPS_LEGAL

psc(53,3)

PPS_A4

psc(53,4)

PPS_B5

psc(53,5)

PPS_MONARCH

psc(53,6)

PPS_COM_10

psc(53,7)

PPS_DL

psc(53,8)

PPS_C5

psc(53,9)


Select font style

PFS_UPRIGHT

psc(54,1)

PFS_ITALIC

psc(54,2)

PFS_CONDENSED

psc(54,3)

PFS_CONDENSED_ITALIC

psc(54,4)

PFS_COMPRESSED

psc(54,5)

PFS_EXPANDED

psc(54,6)

PFS_OUTLINE

psc(54,7)

PFS_INLINE

psc(54,8)

PFS_SHADOWED

psc(54,9)

PFS_OUTLINE_SHADOWED

psc(54,10)


Select typeface family

PTF_ALBERTUS

psc(55,1)

PTF_ANTIQUE_OLIVE

psc(55,2)

PTF_CLARENDON

psc(55,3)

PTF_CORONET

psc(55,4)

PTF_COURIER

psc(55,5)

PTF_GARAMOND_ANTIQUA

psc(55,6)

PTF_LETTER_GOTHIC

psc(55,7)

PTF_MARIGOLD

psc(55,8)

PTF_CG_OMEGA

psc(55,9)

PTF_CG_TIMES

psc(55,10)

PTF_UNIVERS

psc(55,11)

PTF_ARIAL

psc(55,12)

PTF_TIMES_NEW_ROMAN

psc(55,13)

PTF_SYMBOL

psc(55,14)

PTF_WINGDINGS

psc(55,15)


Select symbol set

PSS_NORWEGIAN

psc(56,1)

PSS_UK

psc(56,2)

PSS_WIN31_LATIN1

psc(56,3)

PSS_FRENCH

psc(56,4)

PSS_GERMAN

psc(56,5)

PSS_ITALIAN

psc(56,6)

PSS_MS_PUBLISH

psc(56,7)

PSS_DESKTOP

psc(56,8)

PSS_PS_TEXT

psc(56,9)

PSS_MC_TEXT

psc(56,10)

PSS_VENTURA_INT

psc(56,11)

PSS_VENTURA_US

psc(56,12)

PSS_WINGDINGS1

psc(56,13)

PSS_PS_MATH

psc(56,14)

PSS_VENTURA_MATH

psc(56,15)

PSS_MATH8

psc(56,16)

PSS_SYMBOL

psc(56,17)

PSS_LATIN1

psc(56,18)

PSS_LATIN2

psc(56,19)

PSS_LATIN5

psc(56,20)

PSS_SWEDISH

psc(56,21)

PSS_SPANISH

psc(56,22)

PSS_WIN31_LATIN5

psc(56,23)

PSS_PC_TURKISH

psc(56,24)

PSS_ASCII

psc(56,25)

PSS_LEGAL

psc(56,26)

PSS_ROMAN8

psc(56,27)

PSS_WIN30_LATIN1

psc(56,28)

PSS_PC8

psc(56,29)

PSS_PC8_DN

psc(56,30)

PSS_PC_850

psc(56,31)

PSS_PI_FONT

psc(56,32)

PSS_PC_852

psc(56,33)

PSS_WIN31_LATIN1_ANSI

psc(56,34)


RELATED TOPICS

Reports

printer.h