Summary of Contents for Epson C107001 - LQ 570+ B/W Dot-matrix Printer
Page 1
EPSON EPSON AMeRIc& INC. Product Support Bulletin Subject: Understanding and Using Commands and Syntax ESCP/2 PSB No: P-0082 Date: 12/4/91 Originator: JW Page(s): 1 of 14 This bulletin provides detailed explainations and illustrations for some of the more commonly used printer commands used in ESC/P2 Listed below are the commands discussed in this bulletin.
Page 2
PSB No: P-0082 Page: 2 of 14 ESC X m n1 n2 (Select Pitch and Point Size) C X m n1 a is the command for selecting pitch and point size where m, nl and n2 are variables. The vadable W is used to select the pitch, which is the character spa&g.
Page 3
PSB No: P-0082 Page: 3 of 14 10 INPUT “Point Siie”;A$ 20 B=VAL(A$)*2 21 RESTORE 70 22FORX=l TO16 23READY 24 IF B=Y THEN GOT0 30 25NMTX 26CLS 27 PRINT A$ ” is not a valid point size choice.” 28 GOT0 10 30 C=VAL(A$) 40 LPRM CHR$(27);“X”;CHR$(l);CHR$(B);CHR$(O);”n‘lese are “;A$;”...
Page 4
PSB No: P-0082 Page: 4 of 14 T h e s e a r e 8 p o i n t c h a r a c t e r s These are 10 point characters These are 10.5 point characters These are 12 point characters These are point characters...
Page 5
PSB No: P-0082 Page: 5 of 14 ESC ( C m1 m2 n1 n2 (Set Page Length in Defined Units ESC ( C ml m2 nl n2 is the command for setting the page length in units where ml, m2, nl and n2 are variables. The “uniV’ is usually l/380 of an inch unless defined othenwise by the “ESC ( l.Y command.
Page 6
PSB No: P-0082 Page: 6 of 14 1 ESC ( v m1 m2 n1 n2 (Set Relative Verticai~~~ ESC l v ml m2 nl a is the command for advancing the print position verticaiiy in unitswhereml,m2nl andn2arevariables. The5nCisusually1/36Oofaninch unless defined otherwise by the “ESC ( U command. Currently, the values for ml and IT@ MUST be ml =2 and m2=0.
Page 7
PSB No: P-0082 Page: 7 of 14 EXAMPLE The desired distance is l/4 inch. 1/4x 360 = 90 90 divided by 256 = 0 with a remainder of 90. 2%90=166 n1=166 n2=255 In the Basic programming language, the command would look like this. LPRlNT CHR$(27);“(v”;CHR$(2);CHR$(O);CHR$(166);CHR$(255) This command, as listed in the line above, will feed the reverse feed the paper 1/4 inch from the current line.
Page 8
PSB No: P-0082 Page: 8 of 14 C f V m1 m2 n1 a is the command for changing the print position vertically (with respect to the Top of Form position) in units where ml, m2, nl and n2 are variables. TheZlnit”isuswllyl/~afaninchunlessdefinedatherwisebythe”ESC(U command.
Page 9
PSB No: P-0082 Page: 9 of ESC t n is the command for selecting a character table to be used for printing where n is a variable. The following table lists the values for n and the character table associated with the value. T a b l e I PC437 (US) Table 1...
Page 10
PSB No: P-0082 Page: ESC ( t nl n2 dl .d2 d3 (Assign Character Tabie) ESC f t nl n7 dl d2 d3 is the command for assigning character tables where n1, n2, dl,d2,andd3arevariables. CurrenUy,variabknl,n2andd3MlJSTbenl=3, n2=0, and d3=0. Variable dl is a number corresponding to one of the four tables selectable with the ESC t n command.
Page 11
PSB No: P-0082 Page: 11 of 14 page contains a print sample of the Registered Tables available in printers sold in the U.S. In order to print the first 31 characters in Tables 1 through 9, the ESC ( h command must be sent.
Page 12
PSB No: P-0082 Page: 12 of 14 60 If the Registered Character Table number is not 0, print ASCII values 1 through 255 inclusive. Remember, line 70 allows the first 31 ASCII values to print as characters, not control codas. 90 If the Registered Character Table number is ndt 0, do not exacute commands in lines 100 and 110.
Page 13
PSB No: P-0082 Page: 13 of 14 able 0 I t a l i c ‘#$X& ()*+,- ./0123456789:;c=>?~ABCDEFGHIJKLMNOPQRSTU~YZ~\~n-fabcdefghijklm :}‘!“#$X&‘()*+,-./0123456789:; e=> ?BABCDEFGHI JKLMNOPQRSTUVRXYZ[ \ J ^, >pqrstuvwxyz( nbcdefghijklmnopqrstuvwxyz{,‘}- sble 1 P C 4 3 7 ( u s ) D~~~~*no08~bOnu,4I?(~-~tl~~~~A !“#SX&‘()*+,-./0123456789:;*=*?gABCDEFGHIJKLMNOP =TUVWXYZ[\]--’...
Page 14
PSB No: P-0082 Page: 14 of 14 C l h n1 n2 d, . . . dk is the command for printing control codes as data where nl and n2 are variables and d, . ..d,representthedat&atistobeprintedas characbrs. The variables nl and n2 tell the printer Yhe next xx ASCII codes are to be interpreted as characters instead of control codes”.
Page 15
EPSON EPSON AMERIC& INC. Product Support Bulletin Subject: Quick Reference for Current Dot-Matrix Printer Print Speeds Date: 10/9/92 PSB No: P-0030C Page(s): 1 of 1 Originator: SLS 9 - P I N P R I N T E R S...
Page 16
Page(s): 1 of 1 Originator: SLS This PSB provides a quick reference for the paper specifications on Epson’s current line of Q-pin and 24-pin dot-matrix printers when using continuous paper. The ‘Maximum No. of Copies” is the maximum allowable number of copies when using continuous multi-part carbonless paper.