Changes

Jump to: navigation, search

Amstrad/Schneider Printer Control Codes

3 bytes added, 19:48, 9 September 2010
/* DMP2xxx/3xxx Printer Codes (sorted by number) */
|Select superscript/subscript (00h=super, 01h=sub)
|-
|1B 54 ||27 84 ||ESC "T " ||Text Style
|Cancel superscript/subscript
|-
|1B 5A n1 n2 .. ||27 90 n1 n2 ||ESC "Z" n1 n2 ||Graphics
|Print 8-pin 240/2-dpi graphics (same as ESC "*" 3, see there) (density of ESC "Z" can be redefined via ESC "?")
|-
|1B 5E d n1 n2.. ||27 94 d n1 n2 ||ESC "^" d n1 n2 ||Graphics
|Select 9 pin graphics mode number of columns = n1 + (n2 * 256) (d=density, 0=single, 1=double) (specs don't say if 2..6 do work too) (each column is a 2-byte pair: byte1.bit7..bit0=upper..lower, byte2.bit7=lowest, byte2.bit6..bit0=unused)
6,388
edits