PDM DEFS

; ANSI X3.64 commands

; Reset
    COMM 0 = ESC \c
; Initialize
    COMM 1 = ESC \# \1
; Line feed (LF)
    COMM 2 = ESC \D
; CR+LF
    COMM 3 = ESC \E
; Reverse LF
    COMM 4 = ESC \M
; Normal character set
    COMM 5 = ESC \[ \0 \m
; Italics on
    COMM 6 = ESC \[ \3 \m
; Italics off
    COMM 7 = ESC \[ \2 \3 \m
; Underline on
    COMM 8 = ESC \[ \4 \m
; Underline off
    COMM 9 = ESC \[ \2 \4 \m
; Boldface on
    COMM 10 = ESC \[ \1 \m
; Boldface off
    COMM 11 = ESC \[ \2 \2 \m
; Normal pitch
    COMM 14 = ESC \[ \0 \w
; Elite on
    COMM 15 = ESC \[ \2 \w
; Elite off
    COMM 16 = ESC \[ \1 \w
; Condensed fine on
    COMM 17 = ESC \[ \4 \w
; Condensed fine off
    COMM 18 = ESC \[ \3 \w
; Enlarged on
    COMM 19 = ESC \[ \6 \w
; Enlarged off
    COMM 20 = ESC \[ \5 \w
; Shadow print on
    COMM 21 = ESC \[ \6 \" \z
; Shadow print off
    COMM 22 = ESC \[ \5 \" \z
; Double strike on
    COMM 23 = ESC \[ \4 \" \z
; Double strike off
    COMM 24 = ESC \[ \3 \" \z
; NLQ on
    COMM 25 = ESC \[ \2 \" \z
; NLQ off
    COMM 26 = ESC \[ \1 \" \z
; Superscript on
    COMM 27 = ESC \[ \2 \v
; Superscript off
    COMM 28 = ESC \[ \1 \v
; Subscript on
    COMM 29 = ESC \[ \4 \v
; Subscript off
    COMM 30 = ESC \[ \3 \v
; Normalize the line
    COMM 31 = ESC \[ \0 \v
; Partial line up
    COMM 32 = ESC \L
; Partial line down
    COMM 33 = ESC \K
; USA character set
    COMM 34 = ESC \( \B
; French character set
    COMM 35 = ESC \( \R
; German character set
    COMM 36 = ESC \( \K
; UK character set
    COMM 37 = ESC \( \A
; Danish I character set
    COMM 38 = ESC \( \E
; Swedish character set
    COMM 39 = ESC \( \H
; Italian character set
    COMM 40 = ESC \( \Y
; Spanish character set
    COMM 41 = ESC \( \Z
; Japanese character set
    COMM 42 = ESC \( \J
; Norwegian character set
    COMM 43 = ESC \( \6
; Danish II character set
    COMM 44 = ESC \( \C
; Proportional spacing on
    COMM 45 = ESC \[ \2 \p
; Proportional spacing off
    COMM 46 = ESC \[ \1 \p
; Set default proportional spacing offset
    COMM 47 = ESC \[ \0 \p
; Auto left justify
    COMM 49 = ESC \[ \5 SP \F
; Auto right justify
    COMM 50 = ESC \[ \7 SP \F
; Auto full justify
    COMM 51 = ESC \[ \6 SP \F
; Auto justify off
    COMM 52 = ESC \[ \0 SP \F
; Letter space (justify)
    COMM 53 = ESC \[ \3 SP \F
; Word fill (auto centre)
    COMM 54 = ESC \[ \1 SP \F
; 1/8" line spacing
    COMM 55 = ESC \[ \0 \z
; 1/6" line spacing
    COMM 56 = ESC \[ \1 \z
; Perforation skip off
    COMM 59 = ESC \[ \0 \q
; Set left margin
    COMM 60 = ESC \# \9
; Set right margin
    COMM 61 = ESC \# \0
; Set top margin
    COMM 62 = ESC \# \8
; Set bottom margin
    COMM 63 = ESC \# \2
; Clear margins
    COMM 66 = ESC \# \3
; Set horizontal tab
    COMM 67 = ESC \H
; Set vertical tab
    COMM 68 = ESC \J
; Clear horizontal tab
    COMM 69 = ESC \[ \0 \g
; Clear all horizontal tabs
    COMM 70 = ESC \[ \3 \g
; Clear vertical tab
    COMM 71 = ESC \[ \1 \g
; Clear all vertical tabs
    COMM 72 = ESC \[ \4 \g
; Clear all horizontal and vertical tabs
    COMM 73 = ESC \# \4
; Set default tabs
    COMM 74 = ESC \# \5
