Changes

Amstrad/Schneider Printer Control Codes

150 bytes added, 09:31, 22 June 2022
/* NLQ401 Control Codes */ DEL isn't supported, tested with a real NLQ401 printer
[[Category:Peripherals]] [[Category:Printers and printer ports]]
{{AmstradPrinterLinks}}
<br>
|Normal Width Mode (also restores 1/6" line feed rate; after graphics printing)
|-
|10,hi,lo ||16,hi,lo ||DLE "NN" ||Misc
|Print Position in character units (NN = two-digit ASCII, "00..79")
|-
|CR
|-
|1B,10,hi,lo ||27,16,hi,lo ||ESC DLE hi lo ||Misc
|Print Position in dot units (hi:lo = 9bit binary, 0..479) (lo=lower 7bit, hi=upper 2bit)
|-
|1B,4B,hi,lo,gfx0,gfx1,.. ||27,75,hi,lo,gfx0,gfx1,.. ||ESC "K" ... ||Graphics
|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 graphics (until canceled by chr 0Eh/0Fh).
|-
|1C,num,gfx ||28,num,gfx ||FD,num,gfx ||Graphics
|Repetition of one byte of graphic print data (num=1..127 repeat count) (gfx: bit0=upper pixel .. bit6=lower pixel)
|-
On a DMP2000 or FX80 it would directly select n/72 inch line spacing (n=0..85) (without needing to execute subsequent ESC "2")
|-
|1B 43 (00 ) n ||27 67 (0 ) n ||ESC "C" (NUL ) n ||Feed|Select page Page length in lines or inches (n=1..22)|-|1B 43 n ||27 67 n ||ESC "C" n ||Feed|Select page length in 127 lines (n=, or 00h,1..12722 inch)
|-
|1B 44 .. 00 ||27 68 .. 0 ||ESC "D" .. NUL ||Tab
|1B 78 n ||27 120 n ||ESC "x" n ||Text Style
|Select Draft/NLQ mode (00h=Draft, 01h=NLQ)
|-
|7F ||127 ||DEL ||Misc
|Delete last character from buffer (but not control codes) (works only when buffer isn't yet printed; printing usually starts on terminating lines via LF)<br>
'''Not confirmed if supported by NLQ401'''
|-
|}
|1B 21 n ||27 33 n ||ESC "!" n ||Text Style
|Master select where n is a combination of:
* 0 PicaBit0 - Elite/mini (same as ESC "M" / ESC "P")* 1 EliteBit1 - Ignored or Proportional (same as ESC "p")* 4 Bit2 - Condensed (same as SI / DC2)* 8 Bit3 - Emphasized (/bold (same as ESC "E" / ESC "F")* 16 Bit4 - Double Strike (same as ESC "G" / ESC "H")* 32 Bit5 - Double Width (same as ESC "W")* 64 Bit6 - Ignored or Italic (same as ESC "4" / ESC "5")* 128 Bit7 - Ignored or Underline (same as ESC "-")Pica & Elite Epson FX-80 and Condensed/Emphasized are mutually exclusive. Amstrad DMP2000..3160 support only bit0,2-5 (not italicAmstrad DMPs do support proportional/italics/underline, but they can be changed only via ESC "p/4/5/-", not via ESC "!").Epson LQ-500 and Star-LC10 do use/support master style bits0-7.Condensed/Emphasized are mutually exclusive.
|-
|1B 23 ||27 35 ||ESC "#" ||Char Code
|-
|1B 25 n 00 ||27 37 n 0 ||ESC "%" n NUL ||Charset
|Select normal character set (00h=Normal/ROM, 01h=User-Defined/RAM) (Star LC10: without ending NUL)
|-
|1B 26 00 .. ||27 38 0 .. ||ESC "&" NUL .. ||Charset
In the two "double speed" modes, dots can be positioned at fine resolution, but the next dot (in the same row) must be white
|-
|1B 2D 30 n ||27 45 48 n ||ESC - "0" ||Text Style|Cancel underlining|-|1B 2D 31 ||27 45 49 ||ESC - "1" n ||Text Style|Select underliningUnderlining on/off (00h=Off, 01h=On)
|-
|1B 2F c ||27 47 c ||ESC "/" c ||Tab
|-
|1B 34 ||27 52 ||ESC "4" ||Text Style
|Select italic mode (unclear if italics can be also used by setting bit7 of the character number?)
|-
|1B 35 ||27 53 ||ESC "5" ||Text Style
|Perform One-shot n/216 inch line feed (n=0..255)
|-
|1B 4B n1 n2 lo hi .. ||27 75 n1 n2 lo hi .. ||ESC "K" n1 n2 lo hi .. ||Graphics
|Print 8-pin 60-dpi graphics (same as ESC "*" 0, see there) (density of ESC "K" can be redefined via ESC "?")
|-
|1B 4C n1 n2 lo hi .. ||27 76 n1 n2 lo hi .. ||ESC "L" n1 n2 lo hi .. ||Graphics
|Print 8-pin 120-dpi graphics (same as ESC "*" 1, see there) (density of ESC "L" can be redefined via ESC "?")
|-
|Double width mode (continous) (00h=Off, 01h=On) (unlike DC4 and SO: one line)
|-
|1B 59 n1 n2 lo hi .. ||27 89 n1 n2 lo hi .. ||ESC "Y" n1 n2 lo hi .. ||Graphics
|Print 8-pin 120/2-dpi graphics (same as ESC "*" 2, see there) (density of ESC "Y" can be redefined via ESC "?")
|-
|1B 5A n1 n2 lo hi .. ||27 90 n1 n2 lo hi .. ||ESC "Z" n1 n2 lo hi .. ||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 n2lo hi .. ||27 94 d n1 n2 lo hi .. ||ESC "^" d n1 n2 lo hi ..||Graphics|Select Print 9 -pin graphics mode number of columns = n1 + at selected density (n2 similar to ESC "* 256) (" d=density, 0=single, 1=doublesee there for details) . Allowed density for ESC "^" is officially only d=00h..01h (specs don't say unknown if 202h..6 06h do work , too) . hi:lo specifies the number of dot columns (each column is a the number of 2-byte pair: pairs) (byte1.bit7..bit0=upper..lower, byte2.bit7=lowest, byte2.bit6..bit0=unused)
|-
|1B 62 c .. 00 ||27 98 c .. 0 ||ESC "b" c .. NUL ||Tab
|-
|1B 69 n ||27 105 n ||ESC "i" n ||Misc
|Cancel instant Instant character printing (00h=Off=default, ie. print only on LF, 01h=On=print each char immediately; also scrolls printed text into view; when buffer empty) (not on LX80)
|-
|1B 6A n ||27 106 n ||ESC "j" n ||Feed
|Perform One-shot reverse linefeed (n/216 inch after buffer) reverse linefeed (not on LX80)
|-
|1B 6C n ||27 108 n ||ESC "l" n ||Misc