Changes

Jump to: navigation, search

Amstrad/Schneider Printer Control Codes

205 bytes removed, 13:52, 4 September 2010
/* DMP1 Control Codes */
|CR or CR+LF (switch-selectable)
|-
|0E ||14 ||xxx SO ||Width
|Double Width Mode (also restores 1/6" line feed rate; after graphics printing)
|-
|0F ||15 ||xxx SI ||Width
|Normal Width Mode (also restores 1/6" line feed rate; after graphics printing)
|-
|10,xxhi,xx lo ||16,xxhi,xx lo ||xxx DLE "NN" ||Misc
|Print Position in character units (NN = two-digit ASCII, "00..79")
|-
|14 ||20 ||xxx DC4 ||Misc
|CR
|-
|1B,10,hi,lo ||27,16,xxhi,xx lo ||ESC xxx xx xx DLE hi lo ||Misc
|Print Position in dot units (hi:lo = 9bit binary, 0..479) (lo=lower 7bit, hi=upper 2bit)
|-
|Graphics Mode (hi:lo = 9bit count, 0..479) (lo=lower 7bit, hi=upper 2bit) (followed by as many bytes, with bit0=upper pixel .. bit6=lower pixel). This command additionally changes the line feed rate to 1/9 inch; the new rate is kept applied for text and graphocs (until canceled by chr 0Eh/0Fh).
|-
|1C,num,gfx ||28,num,gfx ||xxxFD,num,gfx ||Graphics
|Repetition of one byte of graphic print data (num=1..127 repeat count) (gfx: bit0=upper pixel .. bit6=lower pixel)
|-
|}
 
* Character Mode: 6 lines/inch
* Graphics Mode: 9 lines/inch (each "line" containing 7 pixels vertically) - after Graphics printing: required to issue chr(0Eh) or chr(0Fh) to return to 6 lines/inch mode
== DMP2xxx/3xxx Printer Codes (sorted by number) ==
6,388
edits