Changes

Amstrad Printers

11,169 bytes added, 14:40, 25 August 2010
/* International Characters */
|-
|}
 
== Printer Codes ==
 
{|{{Prettytable|width: 700px; font-size: 2em;}}
|''Hex'' ||''Decimal'' ||''ASCII''
|''Description''
|-
|07 ||7 ||BEL
|Beeper (produce beep sound, can be disabled via DIP-switch)
|-
|08 ||8 ||BS
|Backspace (move print head left by one character unit, allowing to overwrite characters)
|-
|09 ||9 ||HT
|Horizontal tab
|-
|0A ||10 ||LF
|Line Feed (move to next line)
|-
|0B ||11 ||VT
|Vertical Tab
|-
|0C ||12 ||FF
|Form Feed (move to next page)
|-
|0D ||13 ||CR
|Carriage Return
|-
|0E ||14 ||SO
|Select double width for one line (unlike ESC W 0/1 continous)
|-
|0F ||15 ||SI
|Select condensed mode
|-
|11 ||17 ||DC1
|Select printer (online?) (FX80: DIP-switch related)
|-
|12 ||18 ||DC2
|Cancel condensed mode
|-
|13 ||19 ||DC3
|Deselect printer (offline?) (FX80: DIP-switch related)
|-
|14 ||20 ||DC4
|Cancel one line double width mode (unlike ESC W 0/1 continous)
|-
|18 ||24 ||CAN
|Cancel text in line (but not control codes)
|-
|1B 0E ||27 14 ||ESC SO
|Double width for one line (duplicate) (not FX80, better use SO, not ESC SO)
|-
|1B 0F ||27 15 ||ESC SI
|Select condensed mode (duplicate) (not FX80, better use SI, not ESC SI)
|-
|1B 21 n ||27 33 n ||ESC ! n
|Master select where n is a combination of: XXX
|-
|1B 23 ||27 35 ||ESC #
|MSB control sequence cancel (=obtain MSB from Centronics Pin 9) (not on FX80)
|-
|1B 25 00 00 ||27 37 0 0 ||ESC % NUL NUL
|Select normal character set (ROM) (star lc10 without ending NUL)
|-
|1B 25 01 00 ||27 37 1 0 ||ESC % SOH NUL
|Select user defined char set (RAM) (star lc10 without ending NUL)
|-
|1B 26 00 .. ||27 38 0 .. ||ESC & NUL ..
|Define user defined chars (params: first,last char (0..31 each), followed by "attr,d1..d11" per char, attr.bit7=descender flag (0=descend, 1=no descend, usuable only with 8bit printer port), attr.bit6-4=starting pos(0..7, attr.bit3-0=finishing pos i+4..11), d1..d11 are 8-pin columns)
|-
|1B 2A 00 n1 n2 .. ||27 42 0 n1 n2.. ||ESC * NUL n1 n2..
|Select 8pin single density graphics (same as ESC K) (60dpi) (480 pix per 8 inch) (n2:n1 dot columns, each 8pin, bit7=upper pin)
|-
|1B 2A 01 n1 n2 .. ||27 42 1 n1 n2.. ||ESC * SOH n1 n2..
|Select 8pin double density graphics (same as ESC L) (120dpi) (960 pix per 8 inch)
|-
|1B 2A 02 n1 n2 .. ||27 42 2 n1 n2.. ||ESC * STX n1 n2..
|Select 8pin double d.speed graphics (same as ESC Y) (120dpi source data being output at 60dpi)
|-
|1B 2A 03 n1 n2 .. ||27 42 3 n1 n2.. ||ESC * ETX n1 n2..
|Select 8pin quad density graphics (same as ESC Z) (240dpi) (1920 pix per 8 inch)
|-
|1B 2A 04 n1 n2 .. ||27 42 4 n1 n2.. ||ESC * EOT n1 n2..
|Select 8pin 640-pix CRT graphics (80dpi) (640 pix per 8 inch)
|-
|1B 2A 05 n1 n2 .. ||27 42 5 n1 n2.. ||ESC * ENQ n1 n2..
|Select 8pin 576-pix plotter graphics(72dpi) (576 pix per 8 inch)
|-
|1B 2A 06 n1 n2 .. ||27 42 6 n1 n2.. ||ESC * ACK n1 n2..
|Select 8pin 720-pix CRT graphics (90dpi) (720 pix per 8 inch)
|-
|1B 2D 30 ||27 45 48 ||ESC - 0
|Cancel underlining
|-
|1B 2D 31 ||27 45 49 ||ESC - 1
|Select underlining
|-
|1B 2F c ||27 47 c ||ESC / c
|Select vertical tab channel (c=0..7)
|-
|1B 30 ||27 48 ||ESC 0
|Select 9/72 inch aka 1/8 inch line spacing
|-
|1B 31 ||27 49 ||ESC 1
|Select 7/72 inch line spacing
|-
|1B 32 ||27 50 ||ESC 2
|Select 12/72 inch aka 1/6 inch line spacing
|-
|1B 33 n ||27 51 n ||ESC 3 n
|Select n/216 inch line spacing (n=0..255)
|-
|1B 34 ||27 52 ||ESC 4
|Select italic mode (italics can be also used by setting bit7 of the character number)
|-
|1B 35 ||27 53 ||ESC 5
|Cancel italic mode
|-
|1B 36 ||27 54 ||ESC 6
|Enable printing of characters (128-159,255) (Italics?)
|-
|1B 37 ||27 55 ||ESC 7
|Cancel [ESC 6] command
|-
|1B 38 ||27 56 ||ESC 8
|Disable paper out sensor
|-
|1B 39 ||27 57 ||ESC 9
|Enable paper out sensor
|-
|1B 3A 00 00 00 ||27 58 0 0 0 ||ESC : NUL NUL NUL
|Copy charset ROM into RAM (the three NULs are "for future expansion")
|-
|1B 3C ||27 60 ||ESC <
|Select unidirectional mode for one line (Move head home/parking)
|-
|1B 3D ||27 61 ||ESC =
|MSB = 0 (not on LX80)
|-
|1B 3E ||27 62 ||ESC >
|MSB = 1 (not on LX80)
|-
|1B 3F s n ||27 63 s n ||ESC ? s n
|Reassign graphics mode 's'=(K,L,Y or Z) to mode 'n'=(0..6) (default is ESC K=0, L=1, Y=2, Z=3) (these defaults can be reassinged here, eg. ESC K=6)
|-
|1B 40 ||27 64 ||ESC @
|Initialize printer (Reset)
|-
|1B 41 n ||27 65 n ||ESC A n
|Select n/72 inch line spacing (n=0..85)
|-
|1B 42 00 ||27 66 0 ||ESC B NUL
|Clear Vertical tabs
|-
|1B 42 tabs 00 ||27 66 tabs 0 ||ESC B tabs NUL
|Select up to 16 vertical tabs where tabs are ascending values from 1..255 ending with NUL
|-
|1B 43 00 n ||27 67 0 n ||ESC C NUL n
|Select page length in inches (n=1..22)
|-
|1B 43 n ||27 67 n ||ESC C n
|Select page length in lines (n=1..127)
|-
|1B 44 00 ||27 68 0 ||ESC D NUL
|Clears all horizontal tables
|-
|1B 44 tabs 00 ||27 68 tabs 0 ||ESC D tabs NUL
|Sets up to 32 horizontal tabs with ascending values 1-137. NUL or a value less than previous tab ends command.
|-
|1B 45 ||27 69 ||ESC E
|Select emphasized (bold) mode
|-
|1B 46 ||27 70 ||ESC F
|Cancel emphasized (bold) mode
|-
|1B 47 ||27 71 ||ESC G
|Select double strike mode (also an bold-alike effect)
|-
|1B 48 ||27 72 ||ESC H
|Cancel double strike mode (also an bold-alike effect)
|-
|1B 49 30 ||27 73 48 ||ESC I 0
|Disable Printable codes expansion (0-31,128-159) (not on LX80)
|-
|1B 49 31 ||27 73 49 ||ESC I 1
|Enable Printable codes expansion (0-31,128-159) (presumably excluding 27?) (not on LX80)
|-
|1B 4A n ||27 74 n ||ESC J n
|Perform One-shot n/216 inch line feed (n=0..255)
|-
|1B 4B n1 n2 .. ||27 75 n1 n2 .. ||ESC K n1 n2 ..
|Single 8pin density graphics (60 dpi) (n2:n1 = num bytes following) (480 dots/line)
|-
|1B 4C n1 n2 .. ||27 76 n1 n2 .. ||ESC L n1 n2 ..
|Double 8pin density graphics (120 dpi) (960 dots/line)
|-
|1B 4D ||27 77 ||ESC M
|Select elite width (12 cpi) (mini font)
|-
|1B 4E n ||27 78 n ||ESC N n
|Select skip over perforation (n=1..127 lines)
|-
|1B 4F ||27 79 ||ESC O
|Cancel skip over perforation
|-
|1B 50 ||27 80 ||ESC P
|Cancel elite / Select pica width (10 cpi)
|-
|1B 51 n ||27 81 n ||ESC Q n
|Set right margin (n=1..255 character columns) (this is WIDTH, counted from left margin)
|-
|1B 52 n ||27 82 n ||ESC R n
|Select International character set where numeric 'n' is: XXX
|-
|1B 53 30 ||27 83 48 ||ESC S 0
|Select superscript
|-
|1B 53 31 ||27 83 49 ||ESC S 1
|Select subscript
|-
|1B 54 ||27 84 ||ESC T
|Cancel superscript/subscript
|-
|1B 55 30 ||27 85 48 ||ESC U 0
|Cancel unidirectional mode (faster, use bidirectional printing)
|-
|1B 55 31 ||27 85 49 ||ESC U 1
|Select unidirectional mode (slower, left-to-right, more accurate on vertical lines)
|-
|1B 57 30 ||27 87 48 ||ESC W 0
|Cancel double width mode (continous) (unlike DC4: one line)
|-
|1B 57 31 ||27 87 49 ||ESC W 1
|Select double width mode (continous) (unlike SO: one line)
|-
|1B 59 n1 n2 .. ||27 89 n1 n2 ||ESC Y n1 n2
|Select 8pin Hi-speed double den graphics (120 dpi)
|-
|1B 5A n1 n2 .. ||27 90 n1 n2 ||ESC Z n1 n2
|Select 8pin Quad density graphics (240 dpi) (1920 dots/8"line)
|-
|1B 5E d n1 n2.. ||27 94 d n1 n2 ||ESC ^ d n1 n2
|Select 9 pin graphics mode number of columns = n1 + (n2 * 256) (d=density, 0=single, 1=double) (specs doesn'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)
|-
|1B 62 c 00 ||27 98 c 0 ||ESC b c NUL
|Clear vertical tabs in channel (c=0..7)
|-
|1B 62 c tabs 00 ||27 98 c tabs 0 ||ESC b c tabs NUL
|Select up to 16 vertical tabs in channels (c=0..7) where tabs are ascending values from 1..255 ending with NUL
|-
|1B 69 00 ||27 105 48 ||ESC i 0
|Cancel instant character printing (default, ie. print on CRLF etc.) (not on LX80)
|-
|1B 69 01 ||27 105 49 ||ESC i 1
|Select instant character printing (printer each char immediately) (also scrolls printed text into view; when buffer empty) (not on LX80)
|-
|1B 6A n ||27 106 n ||ESC j n
|Perform One-shot reverse linefeed (n/216 inch after buffer) (not on LX80)
|-
|1B 6C n ||27 108 n ||ESC l n
|Set left margin (n=0..255 character columns)
|-
|1B 70 30 ||27 112 48 ||ESC p 0
|Cancel proportional mode (not on LX80 ?)
|-
|1B 70 31 ||27 112 49 ||ESC p 1
|Select proportional mode (not on LX80 ?)
|-
|1B 73 30 ||27 115 48 ||ESC s 0
|Turn half speed mode off
|-
|1B 73 31 ||27 115 49 ||ESC s 1
|Turn half speed mode on (purpose: noise-reduced silent printing)
|-
|1B 78 30 ||27 120 48 ||ESC x 0
|Select draft mode (LX80) (FX86e) (not FX80)
|-
|1B 78 31 ||27 120 49 ||ESC x 1
|Select NLQ mode (LX80) (FX86e) (not FX80)
|-
|7F ||127 ||DEL
|Delete last character from buffer (but not control codes) (works only when buffer isn't yet printer; printing usually starts on terminating lines via CRLF)
|-
|}
 
Amstrad DMP3000/3160 specific - NOT supported on DMP2000/2160, nor on real Epson printers, nor on Epson-compatibles like Star LC10
DMP2000 DMP3160 FX80 Hex Decimal ASCII |Description
- yy!! - 1B 6D n 27 109 n ESC m n |Select charset (0=Epson, 1=IMB#1, 2=IBM#2) <--- Amstrad specific (LX80: 0=graphics set off, 4=graphics set on) (Star LC10: not supported, uses "ESC t 0/1" for similar purpose)
 
 
== International Characters ==
6,388
edits