Download Print this page

Epson LQ-1170 - Impact Printer Product Support Bulletin

Understanding and using escp/3 commands and syntax
Hide thumbs Also See for LQ-1170 - Impact Printer:

Advertisement

EPSON AMERICA INC.
Product Support Bulletin
Subject:
Understanding and Using
Date: 12/4/91
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.
Command
ESC X m nl n2
ESC ( C ml m2 nl nl
ESCtn
ESC ( t nl n2 dl d2 d3
ESC( A nln2d,. . .& Print Data as Characters
Commands and Syntax
ESCP/2
Command Name
Select Pitch and Point Size
Set Page Length in Defined Units
Set Relative Vertical Position
Set Absolute Vertical Position
Select Character Table
Assign Character Table
PSB No: P-0082
Originator: JW
PSB Page
2
5
6
8
9
10
14
EPSON

Advertisement

loading

Summary of Contents for Epson LQ-1170 - Impact Printer

  • Page 1 EPSON EPSON AMERICA 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 spacing.
  • 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.” 26 GOT0 10 30 C=VAL(A$) 40 LPRfNT CHR$(27);“X”;CHR$(l);CHR$(B);CHR$(O);”n‘lese are “;A$;”...
  • Page 4 PSB No: P-0082 Page: 4 of 14 tkma uo 8 paint chnctur These are 10 point characters These are 10.5 point characters These are 12 point characters These are point characters These are 16 point characters These are 18 point characters These are 20 point characters These are 21 point characters These are 22 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 m1 m2 n1 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 n1 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 1/4 inch. 1/4 x 360 = 90 90 divided by 256 = 0 with a remainder of 90. 256-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 l/4 inch from the current line.
  • Page 8 PSB No: P-0082 Page: 8 of l4 C ( V m1 m2 n1 n2 is the command for changing the print position vertically (with respect to the Top of Form position) in units where m1, m2, n1 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 n1 n2 d1 d2 d3 (Assign Character Table) ESC ( t n1 n2 d1 d2 d3 is the command for assigning character tables where nl, 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 codes. 90 If the Registered Character Table number is not 0, do not execute 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{,‘}- r b l e 8 PC863 (Canada-French) D~,+~*~o~~~pRU.4:!!~[g,~tl~t~oA !“#$%C’()*+,-./Or23456789 :;<=*?@ABCDEFGHIJKLMNOP XSTUWXYZ[\]--’ a b c d e f g h i j k l m n o ~rstuvwxyz{I)~~~b~Alt~EBbii~~E~E~~X~iiO~6U~fbOf~‘66”.3-f~~~~~a:.,~~~~~~~~~~)~JJJ~ kt-fttL+nLLrrt+l w raprxCalrr~BQG~B~nnfLIFJ9='..Jn2r pble 9...
  • 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 ASCII characbrs. The variables nl and n2 tell the printer Yhe next xx codes are to be interpreted as characters instead of control codes”.
  • Page 15 Al. The LQ-870 and LQ-1170 printers are the direct replacement of the LQ-850 and LQ-1050 printers. Q2. What is ESC/P2? A2. ESC/P2 stands for Epson Standard Code for Printers version Two. ESC/P2 is the newest version of Epson’s printer control language. Q3. What features does ESC/P2 offer? A3.
  • Page 16 PSB No: P-0081 Page: 2 of 4 Q5. Are there different tractors available for the LQ-870 and LQ-1170 printer? A5. The LQ-870 and LQ-1170 printers come with one tractor, this tractor can be positioned for three different purposes. The purposes are as follows: Front Feed Push Tractor Rear Feed Push Tractor Top Mounted Pull Tractor...
  • Page 17 Q9. There was a diskette included in the box with my printer, what is it for? A9. The diskette contains Epson Printer Drivers for use with some of the most popular software programs. Below is a list of these software programs.
  • Page 18 PSB No: P-0081 Page: 4 of 4 Q10. What printers are supported by the printer drivers on the diskette? A10. All drivers on the diskette support the following Epson printers: LQ-570 LQ-1070 LQ-870 LQ-1170 AP-5000 AP-5500 Q11. What are the available accessories for the LQ-870 and LQ-1170 printers? A11.
  • Page 19 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 Model D”:,“n”-“,““c”p4...
  • Page 20 Page(s): 1 of 1 Originator: SLS This PSB provides a quick reference for the paper specifications on Epson’s current line of 9-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.