home *** CD-ROM | disk | FTP | other *** search
- rem Citizen HQP-40, HQP-45 24 pin printer
-
- cc '@'=27,"@"
- cc 'b'=27,"E" ; 27,"F"
- cc 'c'=15 ; 18
- cc 'd'=27,"G" ; 27,"H"
- cc 'e'=27,"M"
- cc 'h'=27,"~","1",1 ; 27,"~","1",0
- cc 'i'=27,"4" ; 27,"5"
- cc 'l'=27,"W",1 ; 27,"W",0
- cc 'n'=27,"P"
- cc 'p'=27,"p",1 ; 27,"p",0
- cc 'q'=27,"x",1 ; 27,"x",0
- cc 'r'=27,"~","2",1 ; 27,"~","2",0
- cc 's'=27,"S",1 ; 27,"T"
- cc 't'=27,"S",0 ; 27,"T"
- cc 'u'=27,"-",1 ; 27,"-",0
-
- rc '#'=27,"R",0,"#"
- rc '$'=27,"R",0,"$"
- rc '@'=27,"R",0,"@"
- rc '['=27,"R",0,"["
- rc '\'=27,"R",0,"\"
- rc ']'=27,"R",0,"]"
- rc '^'=27,"R",0,"^"
- rc '`'=27,"R",0,"`"
- rc '{'=27,"R",0,"{"
- rc '|'=27,"R",0,"|"
- rc '}'=27,"R",0,"}"
- rc '~'=27,"R",0,"~"
- rc 'à'=27,"R",1,"@"
- rc '°'=27,"R",1,"["
- rc 'ç'=27,"R",1,"\"
- rc '§'=27,"R",1,"]"
- rc 'é'=27,"R",1,"{"
- rc 'ù'=27,"R",1,"|"
- rc 'è'=27,"R",1,"}"
- rc '¨'=27,"R",1,"~"
- rc 'Ä'=27,"R",2,"["
- rc 'Ö'=27,"R",2,"\"
- rc 'Ü'=27,"R",2,"]"
- rc 'ä'=27,"R",2,"{"
- rc 'ö'=27,"R",2,"|"
- rc 'ü'=27,"R",2,"}"
- rc 'ß'=27,"R",2,"~"
- rc '£'=27,"R",3,"#"
- rc 'Æ'=27,"R",4,"["
- rc 'Ø'=27,"R",4,"\"
- rc 'Å'=27,"R",4,"]"
- rc 'æ'=27,"R",4,"{"
- rc 'ø'=27,"R",4,"|"
- rc 'å'=27,"R",4,"}"
- rc 'É'=27,"R",5,"@"
- rc 'ò'=27,"R",6,"|"
- rc 'ì'=27,"R",6,"~"
- rc '¡'=27,"R",7,"["
- rc 'Ñ'=27,"R",7,"\"
- rc '¿'=27,"R",7,"]"
- rc 'ñ'=27,"R",7,"|"
- rc '¥'=27,"R",8,"\"
- rc 'á'=27,"R",11,"@"
- rc 'í'=27,"R",11,"{"
- rc 'ó'=27,"R",11,"}"
- rc 'Ú'=27,"R",11,"~"
-
- rc ''=27,"K",6,0, 32,64,254,64,32,0
- rc ''=27,"K",6,0, 8,4,254,4,8,0
- rc 26 =27,"L",12,0, 16,0,16,0,16,0,84,40,16,0,0,0
- rc ''=27,"L",12,0, 16,40,84,0,16,0,16,0,16,0,0,0
- rc 'ª'=27,"L",12,0, 18,40,130,40,130,40,130,112,10,0,0,0
- rc 'º'=27,"L",12,0, 2,112,138,0,138,0,138,112,2,0,0,0
- rc '½'=27,"L",12,0, 64,0,248,0,9,18,1,20,9,0,0,0
- rc '¼'=27,"L",12,0, 64,0,250,4,10,0,31,0,2,0,0,0
- rc '«'=27,"K",6,0, 16,40,84,40,68,0
- rc '»'=27,"K",6,0, 68,40,84,40,16,0
- rc '¶'=27,"L",12,0, 64,0,240,0,254,0,128,126,128,0,0,0
-
- rc 'Ç'="C",8,","
- rc 'â'="a",8,27,"R",0,"^"
- rc 'ê'="e",8,27,"R",0,"^"
- rc 'î'="i",8,27,"R",0,"^"
- rc 'ô'="o",8,27,"R",0,"^"
- rc 'û'="u",8,27,"R",0,"^"
- rc 'ë'="e",8,27,"R",1,"~"
- rc 'ï'="i",8,27,"R",1,"~"
-
- hl 27,"J",15
- pscode 27,"9"; 27,"8"
-
- rem NOTE: the following is perfectly correct but slow!
- mm 1
- mf 6
- pw 32
- cw 36
- rem ... and so is superceded by below...
-
- rem NOTE: for faster printing the following bit assumes LQ and 1 dot = 1/180"
- MM 0
- MC 27,"\",1,0
- MF 2
- CW 36
- PW 32
-
- rem the following widths are in units of 2*1/180" (taken from manual)
-
- width ''=2*18
- width ''=2*18
- width ''=2*18
- width 26 =2*18
- width '¶'=2*18
-
- width ' '=2*15
- width '!'=2*9
- width '"'=2*13
- width '#'=2*18
- width '$'=2*16
- width '%'=2*17
- width '&'=2*17
- width '''=2*7
- width '('=2*10
- width ')'=2*10
- width '*'=2*14
- width '+'=2*17
- width ','=2*8
- width '-'=2*16
- width '.'=2*8
- width '/'=2*14
- width '0'=2*16
- width '1'=2*16
- width '2'=2*16
- width '3'=2*16
- width '4'=2*16
- width '5'=2*16
- width '6'=2*16
- width '7'=2*16
- width '8'=2*16
- width '9'=2*16
- width ':'=2*9
- width ';'=2*9
- width '<'=2*15
- width '='=2*17
- width '>'=2*15
- width '?'=2*14
- width '@'=2*17
- width 'A'=2*18
- width 'B'=2*17
- width 'C'=2*17
- width 'D'=2*17
- width 'E'=2*17
- width 'F'=2*17
- width 'G'=2*17
- width 'H'=2*18
- width 'I'=2*14
- width 'J'=2*16
- width 'K'=2*18
- width 'L'=2*17
- width 'M'=2*18
- width 'N'=2*18
- width 'O'=2*17
- width 'P'=2*17
- width 'Q'=2*17
- width 'R'=2*18
- width 'S'=2*17
- width 'T'=2*17
- width 'U'=2*17
- width 'V'=2*18
- width 'W'=2*18
- width 'X'=2*18
- width 'Y'=2*18
- width 'Z'=2*16
- width '['=2*11
- width '\'=2*14
- width ']'=2*13
- width '^'=2*13
- width '_'=2*18
- width '`'=2*13
- width 'a'=2*17
- width 'b'=2*17
- width 'c'=2*16
- width 'd'=2*17
- width 'e'=2*17
- width 'f'=2*14
- width 'g'=2*17
- width 'h'=2*18
- width 'i'=2*13
- width 'j'=2*13
- width 'k'=2*18
- width 'l'=2*13
- width 'm'=2*18
- width 'n'=2*18
- width 'o'=2*18
- width 'p'=2*18
- width 'q'=2*18
- width 'r'=2*16
- width 's'=2*17
- width 't'=2*14
- width 'u'=2*18
- width 'v'=2*18
- width 'w'=2*18
- width 'x'=2*18
- width 'y'=2*18
- width 'z'=2*17
- width '{'=2*11
- width '|'=2*8
- width '}'=2*11
- width '~'=2*13
-