background image

 44

Chapter

2

Graphics

NOTE:

In Table 10, x=dot and o=no dot.

Table 10. ASCII Character Dot Patterns

Char

Hex 

Value

Dots

654321

Char

Hex 

Value

Dots

654321

@

40

oooooo

.

60

xooooo

A

41

ooooox

a

61

xoooox

B

42

ooooxo

b

62

xoooxo

C

43

ooooxx

c

63

xoooxx

D

44

oooxoo

d

64

xooxoo

E

45

oooxox

e

65

xooxox

F

46

oooxxo

f

66

xooxxo

G

47

oooxxx

g

67

xooxxx

H

48

ooxooo

h

68

xoxooo

I

49

ooxoox

i

69

xoxoox

J

4A

ooxoxo

j

6A

xoxoxo

K

4B

ooxoxx

k

6B

xoxoxx

L

4C

ooxxoo

l

6C

xoxxoo

M

4D

ooxxox

m

6D

xoxxox

N

4E

ooxxxo

n

6E

xoxxxo

O

4F

ooxxxx

o

6F

xoxxxx

P

50

oxoooo

p

70

xxoooo

Q

51

oxooox

q

71

xxooox

R

52

oxooxo

r

72

xxooxo

S

53

oxooxx

s

73

xxooxx

T

54

oxoxoo

t

74

xxoxoo

U

55

oxoxox

u

75

xxoxox

V

56

oxoxxo

v

76

xxoxxo

W

57

oxoxxx

w

77

xxoxxx

X

58

oxxooo

x

78

xxxooo

Y

59

oxxoox

y

79

xxxoox

Z

5A

oxxoxo

z

7A

xxxoxo

[

5B

oxxoxx

{

7B

xxxoxx

\

5C

oxxxoo

|

7C

xxxxoo

]

5D

oxxxox

}

7D

xxxxox

^

5E

oxxxxo

~

7E

xxxxxo

Summary of Contents for ANSI Printer

Page 1: ...Programmer s Reference Manual ANSI Printers ...

Page 2: ......

Page 3: ...164305 001D Programmer s Reference Manual ANSI Printers ...

Page 4: ...nslated or incorporated in any other material in any form or by any means whether manual graphic electronic mechanical or otherwise without the prior written consent of Printronix Inc Copyright 1998 2002 Printronix Inc All rights reserved Trademark Acknowledgements ANSI is a registered trademark of American National Standards Institute Inc Centronics is a registered trademark of Genicom Corporatio...

Page 5: ... 16 Flash Memory Message Guide 19 2 ANSI Emulation 23 Overview 23 ANSI Emulation Default Settings 23 Configuring The ANSI Emulation 26 Control Codes 26 Format For Control Code Descriptions 28 Control Codes Index 30 Character Sets International 31 Expanded Mode 33 Forms Length Top Margin Bottom Margin 34 Graphic Rendition 35 Line Spacing 36 Margins Left and Right 37 Private Mode Disable 38 Private ...

Page 6: ... 54 Vertical Bar Codes 54 Oversize Character Font Option 56 Entering And Exiting Oversize 56 Selecting Size 57 3 Vertical Page Formatting 59 Overview 59 Planning A Vertical Page Format 59 VFU Characteristics 60 Proprinter And Epson Vertical Tab Table 60 Executing Vertical Tabs 60 Vertical Tab Positions 60 P Series EVFU 62 Start Load Code 1E or 6E Hex 62 Channel Assignment 62 End Load 1F or 6F Hex ...

Page 7: ...Table of Contents B Conversion Tables 77 C Glossary 85 ...

Page 8: ...Table of Contents ...

Page 9: ... the printer NOTE Information affecting printer operation Related Product Information The User s Manual describes the keys on the control panel and provides quick reference information on daily printer operations such as loading paper and replacing ribbons This book also provides configuration instructions and descriptions and troubleshooting guidelines Software Features The ANSI emulation softwar...

Page 10: ...le to your computer s hard disk then download that file to the printer You can load software through the serial parallel or Ethernet NIC port of the printer NOTE If the NIC is installed you must download the code through the NIC port using ftp NOTE Each printer type line matrix laser and thermal has its own CD with the specific file types for that printer Be sure to use the appropriate CD for your...

Page 11: ...printer 8 Plug the AC power cord into the printer 9 On the printer control panel press and hold down the ONLINE PAPER ADVANCE keys Without releasing the keys power the printer on Continue holding down the keys 10 When you see TESTING HARDWARE PLEASE WAIT on the LCD release the keys 11 Wait until you see WAITING FOR PROGRAM DOWNLOAD on the LCD before proceeding This can take up to 30 seconds to app...

Page 12: ...ftware CD into your computer Figure 1 Navigating to the Appropriate Emulation File on the CD 17 Using Windows Explorer navigate to the appropriate file on the CD based on the printer model number and desired emulation e g T50004IGP See Figure 1 18 Make note of the file name which is a six digit number plus exe e g 123456 exe This is the file you will download into the printer ...

Page 13: ... type filename exe pb Enter where filename exe is the file name you noted in step 18 This command decompresses the file on the hard drive and copies it as a binary file into the flash memory on the printer controller board NOTE If you are loading the file using the LPT2 port on the computer enter the following command filename exe pb2 Enter The 9600 baud rate is the only selection older versions o...

Page 14: ... the configuration printout s you made in step 1 reconfigure the printer and reload any optional font files Downloading Software Through the Network Interface Card NIC 1 Make a printout of all saved configurations Installing new software erases all saved configurations You will use the printouts to restore the printer configurations 2 Set the printer power switch to O Off 3 On the printer control ...

Page 15: ...he uncompressed files necessary for NIC download 9 Make note of the file name which is a six digit number plus prg e g 123456 prg This is the file you will download into the NIC 10 Copy the file to the download directory 11 Start a command prompt session The Start Menu icon is usually labeled MS DOS Prompt or Command Prompt 12 At the command prompt type C Enter cd download Enter 13 Start the FTP p...

Page 16: ...onfiguration printout s reconfigure the printer and reload any optional font files Downloading Optional Font Files to Flash Memory Optional font files are stored on a 3 5 inch floppy diskette that contains file names comprised of a part number with a dwn extension You will insert the diskette in your IBM compatible computer and use either the parallel or serial port to download the desired font fi...

Page 17: ...pears on the display 11 Insert the optional font diskette into diskette drive A or B of the computer 12 Start a command prompt session The Start Menu icon is usually labeled MS DOS Prompt or Command Prompt 13 Make the diskette drive the active drive by typing A Enter if the diskette is in drive B type B Enter 14 List the contents of the diskette at the command prompt by typing the following dir En...

Page 18: ...b filename dwn LPT1 Enter To download multiple files enter the following at the command prompt for example copy b filename1 dwn filename2 dwn LPT1 Enter 17 While the font file is copied into flash memory the printer LCD informs you of the load process and status When the new file is successfully loaded into memory the printer will reset itself and go online 18 To verify that the optional fonts hav...

Page 19: ... or the validation checksum is corrupt 1 Download the program again 2 If the message occurs again replace the flash memory ERROR EC STOPPED AT STATE XXXX Hardware fault in the engine controller Replace the CMX controller board ERROR FLASH DID NOT PROGRAM The printer could not find any flash memory 1 Download the program again 2 If the message occurs again replace the flash memory ERROR FLASH NOT D...

Page 20: ...R SHORT AT ADDRESS XXXX Hardware failure in DRAM or CMX controller circuitry Replace DRAM If message occurs with new DRAM replace CMX controller board ERROR WRITING TO FLASH Hardware or software fault in flash memory 1 Download the program again 2 If the message occurs again replace the flash memory ERROR WRONG CHECKSUM The printer received the complete program but the checksum did not match The d...

Page 21: ...setting itself None RESTORING BOOT CODE Normal download initialization message None SECURITY CODE VIOLATION The software running or being downloaded does not match the security PAL code Install the correct PAL or program PAL and program must match SENDING PROGRAM TO EC PROCESSOR The printer is loading the engine controller program into the engine controller None TABLE MISMATCH DOWNLOAD AGAIN EC so...

Page 22: ...22 Chapter 1 Installing Printer Emulations ...

Page 23: ... of ANSI control code commands can be sent to the printer from an attached host computer via the printer I O port This chapter describes these ANSI control code commands The printer configuration menus You can modify a subset of the ANSI emulation parameters using the configuration menus and the control panel keys as described in your User s Manual NOTE A parameter value set by a host control code...

Page 24: ...ns Top Margin 0 lines Bottom Margin 0 lines Form Length 66 lines Form Width 136 characters Define CR Code CR CR Auto LF Disable Define LF Code LF CR LF Character Set Latin 1 8859 1 Printer Select ON DC1 OFF DC3 ESC c sequence Enable Reset Cmd CFG Ld Disable Received CR Observe Received Del Observe Private Mode Set 2 Pos on BC OvrSz Set to top BC check digit By host Barcode Darkmode Enable PUM Defa...

Page 25: ...ace Data Processing Proportional Spacing Disable Bold Print Disable Italic Print Disable Slashed Zero Disable Text Position Top of Line Left Margin 0 columns Right Margin 0 columns Bottom Margin 0 lines Perforation Skip Disable Form Length 11 0 inches 279 4 millimeters 66 lines Form Width 13 6 inches 345 4 millimeters 136 characters Reset Cmd CFG Ld Disable ...

Page 26: ...ol Upon the end of transmission of a block of data terminated with an ETX the host stops sending data until the printer interface sends an ACK back to the host BEL Bell 07H Receipt of a BEL code causes the beeper to sound for approximately 1 second BS Backspace 08H A BS permits overprinting of characters This command moves the character position one character width to the left If the current print...

Page 27: ...present each HT received is replaced by the number of space characters required to move the current print position to the next tab location If a horizontal tab table is not present a space is substituted for the HT character LF Line Feed 0AH An LF code causes the line to be printed and the paper is advanced to the next line and the print position will remain at the same character column If the LF ...

Page 28: ...es of the code or command sequence including exceptions or limitations to its use Example A sample program written in BASIC programming language is provided when it is possible to illustrate the effect of a control code or if a specific syntax is required Examples are shown below of escape sequences as written in the text shown with parameters filled in and written in the BASIC program language Ta...

Page 29: ... elements Do not insert spaces between code characters when you are programming unless the ASCII space character SP is part of a code sequence For example a code sequence printed in this manual as ESC 1 is programmed as ESC 1 An escape sequence uses two or more bytes to define a specific printer control function The format for an escape sequence is After the ESC character are one or more character...

Page 30: ... Disable ESC 5l 38 Private Mode Enable ESC 5h 38 Proportional Print Mode ESC 6 m 38 Resetting ESC c 39 Subscript ESC K 40 Superscript ESC L 40 Tab Clear ESC p1 g 40 Tab Set Multiple Horizontal ESC p1 p2 pn u 41 Terminate Loading of Data ESC 42 Vertical Position Absolute ESC p1 d 42 Vertical Position Relative ESC p1 e 42 Graphics Commands Dot Graphics ESC P 46 Repeat Graphics Character ESC p1 b 46 ...

Page 31: ... style and enhancement mode may be in effect The default set is Latin 1 8859 1 Table 3 ANSI International Character Sets p1 Country 0 USA ISO standard 1 German 2 French A 3 French B 4 French Canadian 5 Dutch Netherlands 6 Italian 7 United Kingdom 8 Spanish 9 Danish Norwegian A 10 Danish Norwegian B 11 Danish Norwegian C 12 Danish Norwegian D 13 Swedish Finnish A 14 Swedish Finnish B 15 Swedish Fin...

Page 32: ...5 7 Latin Greek 8598 ISO 8895 8 Latin Hebrew 8599 ISO 8895 9 Latin South Europe II 437 IBM PC Set 2 850 IBM PC Multilingual SET 2 851 Microsoft Code Page 851 Greece 852 Microsoft Code Page 852 Slavic 853 Microsoft Code Page 853 Turkey 1 855 Microsoft Code Page 855 Cyrillic 860 Microsoft Code Page 860 Portugal 863 Microsoft Code Page 863 French Canadian 864 Microsoft Code Page 864 Arabic 865 Micros...

Page 33: ...0 599 X2 200 299 X6 600 699 X3 300 399 X7 700 799 X4 400 499 X8 800 up Not valid for horizontal expansion Horizontal and vertical expansion are independent and different values can be mixed in a line Mixed sizes within a line are top justified Since the line feed is based on the size of the characters in the final pass the largest sized characters on a line should be printed last to avoid printing...

Page 34: ... for a 12 inch long form with a top margin of zero and a bottom margin of zero Discussion The printer keeps track of these vertical positions to the nearest half point 5 decipoints 1 decipoint 1 720 inch 1 point 10 decipoints 10 720 inch 1 2 point 5 decipoints 5 720 inch Examples ESC r default values of 12 inch form length zero top and bottom margins ESC 8280r 11 5 inch form length default top and...

Page 35: ...tially set to the default spacing 10 cpi This sequence is also valid in graphics Table 4 Character Types and Enhancements Parameter Enhancement 0 Normal Mode 1 Bold shadow 4 Underline 5 2X horizontal expansion Note This mode cancels any horizontal or vertical expansion previously set Can be cleared by either a parameter value of 0 in this sequence or by ESC p1 p2 SP B 6 Proportional printing Note ...

Page 36: ...ode 27 91 p1 59 p2 32 71 Expression CHR 27 p1 p2 G Purpose Sets line spacing p1 and character spacing or pitch p2 in decipoints Discussion Horizontal spacing p2 is dependent on the font selected Values outside the range of a particular font will be ignored Commonly used line spacings are listed in Table 5 and Table 6 Table 5 Common p1 Values LPI p1 decipoints 3 240 4 180 6 120 8 90 Table 6 Common ...

Page 37: ...t line length is 8784 decipoints minus 720 or 8064 decipoints 11 2 inches 112 columns If the normal print area of 13 2 inches is available the right margin is one inch The last column represented by p2 is the last print position and the right margin begins in the next column Left and right margin default values are column zero and the highest column number in use depending on the CPI setting shown...

Page 38: ...e treated as Nulls Private Mode Enable ASCII Code ESC 5h Hex Code 1B 5B 3E 35 68 Dec Code 27 91 62 53 104 Expression CHR 27 5h Purpose Enables private mode Discussion Selects character set 2 of the selected 8 bit international character set Allows printing of hex codes 15 20 7E and 80 FF Proportional Print Mode ASCII Code ESC 6 m Hex Code 1B 5B 36 6D Dec Code 27 91 54 109 Expression CHR 27 6m Purp...

Page 39: ...leared The default EVFU table is loaded Bar code parameters are set to default values Graphic line density is set to 60 horizontal DPI x 72 vertical DPI The current line is set as the top of form TOF position Table 7 Hardcoded Reset Values Parameter Setting Font style Data processing Character size 1 x vertical 1 x horizontal Character pitch 10 CPI Country selection Latin 1 8859 1 Line spacing 6 L...

Page 40: ...mand was sent Discussion Both Superscript and Subscript can be printed on the same line They cannot be used in succession to advance or reverse the paper to another line They can be used in pairs to change from Superscript to Subscript or Subscript to Superscript NOTE If you do not send a command to return the print position to the original baseline subsequent lines will be misaligned The ESC K an...

Page 41: ...points per column 10 1 72 648 First printed character is in column 10 20 1 72 1368 First printed character is in column 20 40 1 72 2808 First printed character is in column 40 Appendix B contains a conversion table for decipoint calculations If more than 22 tabs are set the highest numbered tabs farthest right will be pushed out of the table Tabs set beyond the right margin are not usable Moving t...

Page 42: ...e used to print inside top and bottom margins The specified position must be set within the current page otherwise the command will be ignored If the parameter value is omitted is less than five decipoints or is greater than 15 840 decipoints the vertical position will move to the top of form position Vertical Position Relative ASCII Code ESC p1 e Hex Code 1B 5B p1 65 Dec Code 27 91 p1 101 Express...

Page 43: ...gnificant Bit MSB Bit 6 is printed last right or bottom bit position Notice that in the horizontal graphics mode the characters are printed on a single horizontal dot row In vertical graphics mode the characters are printed six dots high a character per dot column Using a series of question mark that prints all dots characters in a horizontal graphic produces a one dot high solid line across the p...

Page 44: ...x H 48 ooxooo h 68 xoxooo I 49 ooxoox i 69 xoxoox J 4A ooxoxo j 6A xoxoxo K 4B ooxoxx k 6B xoxoxx L 4C ooxxoo l 6C xoxxoo M 4D ooxxox m 6D xoxxox N 4E ooxxxo n 6E xoxxxo O 4F ooxxxx o 6F xoxxxx P 50 oxoooo p 70 xxoooo Q 51 oxooox q 71 xxooox R 52 oxooxo r 72 xxooxo S 53 oxooxx s 73 xxooxx T 54 oxoxoo t 74 xxoxoo U 55 oxoxox u 75 xxoxox V 56 oxoxxo v 76 xxoxxo W 57 oxoxxx w 77 xxoxxx X 58 oxxooo x ...

Page 45: ...upies six dot rows of one column Each character is one dot wide and six dots high The next character byte 2 is printed beside the first moving from left to right across the page 5F oxxxxx 3F xxxxxx Table 11 Horizontal Format Byte Row Byte 1 Byte 2 Byte n 1 2 3 6 1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6 1 2 3...

Page 46: ...r pes Dot Graphics ASCII Code ESC P Hex Code 1B 50 Dec Code 27 80 Expression CHR 27 P Purpose Enters dot graphics mode at the density and format previously selected by the ESC p1 p2 p3 q sequence Discussion Following this sequence the printer prints discrete dots and leaves spaces based on the 1 s and 0 s in the low order six bits of each byte received forming graphic dot rows from left to right E...

Page 47: ...horizontal dot spacing Table 15 Table 13 Select Graphics Mode p1 Selects Graphics Mode 0 Vertical Format 70H x 72V DPI 1 Invalid default to 70H x 72V DPI 2 Vertical Format 140H x 144V DPI 3 Invalid default to 70H x 72V DPI 4 Horizontal Format plot mode p2 and p3 are ignored in this mode Table 14 Select Vertical Dot Spacing p2 Selects Vertical Density 0 through 6 144 DPI 7 72 DPI Table 15 Select Ho...

Page 48: ... sequence will be interpreted and printed as bar codes To exit ESC 0t LPRINT CHR 27 0t Setting Bar Code Parameters You can set the style height spacing orientation and print density There are 10 parameters p1 p10 to specify The default values are shown on the second line below and in Table 16 ESC p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 LPRINT CHR 27 4 9 1 2 6 2 6 2 0 0 Table 16 Default Bar Code Parameters ...

Page 49: ...n Line 10 p1 style Code 128 p2 height 3 12 inch p9 human readable font use special font The semicolons are place holders for the parameters not being changed A list of the 10 parameters and their values follows p1 Selects the style Table 17 p1 Values If p1 Style 0 Interleaved 2 5 1 German PTT Interleaved 2 of 5 2 Matrix 2 of 5 3 Industrial 2 of 5 4 Code 3 9 5 EAN 8 6 EAN 13 7 Code 11 8 Reserved 9 ...

Page 50: ...r code height in 1 12 inch increments Does not include the human readable line Min 1 1 12 inch Max 120 10 inch Default 9 9 12 inch or 3 4 inch p3 Printing the human readable line 0 Do not print the human readable line 1 Default Print the human readable line p4 Narrow bar width number times 1 120 Range 2 126 Default 2 2 120 inch or approximately 017 inch p5 NOTE p5 p7 and p8 are not programmable in...

Page 51: ...h or approximately 017 inch p9 Rotation and human readable line font p10 Horizontal print density 0 60 dpi horizontal by 144 dpi vertical 1 120 dpi horizontal by 144 dpi vertical 120 dpi is the default for bar code styles 5 6 13 and 14 60 dpi is the default for the other bar code styles Table 18 p9 Values If p9 Rotation Font 0 Default No rotation Use the current font cpi and lpi 1 No rotation Use ...

Page 52: ...ified enhancements Spacing Between Bar Codes The space before and after a bar code is referred to as the quiet zone and equals 25 inch If two horizontal bar codes are placed side by side the designated minimum distance between them is 50 inch You can insert commas spaces and horizontal tabs as delimiters to separate the bar codes comma no extra space added space adds 10 inch for a total 60 inch qu...

Page 53: ...ab If horizontal tabs have not been set a Horizontal Tab code is considered a space adding 1 inch between the bar codes Total separation is 6 inchwhen the Horizontal Tab is added to the quiet zones Line 10 clears all previously set horizontal tabs for this example Bar Code Readers Use a bar code reader that can read medium or low density bar code symbols Avoid readers with apertures less than 7 mi...

Page 54: ... mode Line 20 contains the bar code data Line 30 exits the bar code mode Vertical Bar Codes You can rotate bar codes The following examples show various ways of creating bar codes and adjusting spacing Line 10 sets parameter p9 for 90 degree rotation using the special font for the HRL Line 20 turns on the bar code mode Line 30 contains bar code data Line 40 turns off the bar code mode ...

Page 55: ...tween the bar codes The quiet zones rotate with the symbol leaving almost no horizontal separation between bar codes on the same line Line 10 either enables or disables printing of the human readable line Commas With Human Readable Line Commas Without Human Readable Line Spaces With Human Readable Line Spaces Without Human Readable Line ...

Page 56: ... oversize character feature works with only the ANSI protocol NOTE Control sequences displayed in the following examples show the proper syntax required from the host The program examples provided will help you to become familiar with the oversized feature All characters are printed in actual size Entering And Exiting Oversize The following sequences are used to enter rotate and exit oversize prin...

Page 57: ...ve activated oversize the expansion value defaults to times 2 Since this same sequence is used to change size in the expanded mode the parameters must be cleared to normal size ESC 100 100 B to prevent entering expanded mode when oversize is turned off Oversize defaults to double sized 200 200 even when 100 100 is sent so the 100 100 sequence must be sent after the oversize characters have been pr...

Page 58: ...58 Chapter 2 Oversize Character Font Option ...

Page 59: ...rtical tab table It is a set of programmed vertical tabs Electronic Vertical Format Unit EVFU Only the P Series emulation provides the EVFU capability Information regarding ANSI EVFU starts on page 66 Planning A Vertical Page Format Vertical page formatting with a VFU comprises four steps 1 Select the type of vertical format you want to use This is covered in the next section 2 Design the form det...

Page 60: ... table It is a set of programmed vertical tabs Various lines of the form are assigned vertical tabs which are then accessed by control code for rapid paper advancement to the tab position Two control codes are used for vertical tabbing ESC B sets single channel vertical tabs and VT executes a vertical tab The Epson emulation also has ESC to select one of eight tab channels and ESC b to set the tab...

Page 61: ...ng another VT moves the paper to the second tab position for PART NAME followed by a third VT to access the third tab position for QUANTITY data Figure 4 Example of Vertical Tab Positions PART NUMBER PART NAME QUANTITY Vertical Tabs Tab 1 Form Data Tab 2 Form Line Number Tab 3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Top of Form 20 ...

Page 62: ...ode reserved as the first line on the form or the first line printed top of form position The operating program sends the channel 1 code to advance to the top of the next form After the memory is loaded a Form Feed code FF 0C hex will move the paper to the next channel 1 top of form Channels 2 through 11 13 and 14 Used as general channel codes line identification codes or filler channels Each line...

Page 63: ... PI line must be disabled or low and 2 Data bit 5 must be 1 set Given these conditions the lower four bits of a byte will specify the EVFU channel number Table 19 lists the EVFU channels and their equivalent data bytes with the PI line enabled Table 20 lists the EVFU channel and their equivalent data bytes with the PI line disabled Table 19 P Series EVFU Codes PI Line Enabled ASCII Data Bits Chann...

Page 64: ...2 1 Table 20 P Series EVFU Codes PI Line Disabled or Not Used ASCII Data Bits Channel Hex Dec Code 8 7 6 5 4 3 2 1 10 16 DLE 0 0 0 1 0 0 0 0 1 TOF 11 17 DC1 0 0 0 1 0 0 0 1 2 12 18 DC2 0 0 0 1 0 0 1 0 3 13 19 DC3 0 0 0 1 0 0 1 1 4 14 20 DC4 0 0 0 1 0 1 0 0 5 15 21 NAK 0 0 0 1 0 1 0 1 6 16 22 SYN 0 0 0 1 0 1 1 0 7 17 23 ETB 0 0 0 1 0 1 1 1 8 18 24 CAN 0 0 0 1 1 0 0 0 9 19 25 EM 0 0 0 1 1 0 0 1 10 1...

Page 65: ...her method of moving paper using the PI line results in vertical slews of a specified number of lines within the form relative to the current print line rather than slewing to a specific line For this to occur three criteria must be met 1 The PI line must be enabled and set high 2 Data bit 5 must be 1 set and 3 The EVFU must be the selected Vertical Format Unit The Slew Relative configuration and ...

Page 66: ...t channel code 1 which is reserved for the top of form and channel code 12 which is reserved as the vertical tab channel The same filler channel code can be repeated as necessary for any number of lines Table 21 P Series EVFU Line Slewing ASCII Data Bits Lines Slewed Hex Dec Code PI 8 7 6 5 4 3 2 1 10 16 DLE 1 X X X 1 0 0 0 0 1 11 17 DC1 1 X X X 1 0 0 0 1 2 12 18 DC2 1 X X X 1 0 0 1 0 3 13 19 DC3 ...

Page 67: ...y the ESC sequence Loading the Table The first table location is always loaded with the channel 1 code This is defined as the top of form TOF channel The table may be left without channel 1 and a command to skip to channel 1 will cause a normal formfeed as though there were no VFU Two bytes are loaded for each line of the form to be controlled One or more channel numbers may be indicated in the tw...

Page 68: ...4 1010000 1000000 P Channel 5 96 64 1100000 1000000 Channel 6 64 65 1000000 1000001 A Channel 7 64 66 1000000 1000010 B Channel 8 64 68 1000000 1000100 D Channel 9 64 72 1000000 1001000 H Channel 10 64 80 1000000 1010000 P Channel 11 64 96 1000000 1100000 Channel 12 Table 24 Sample EVFU Loading Program Program Instruction Remarks 1500 WIDTH LPT1 255 Required by some BASIC languages to avoid auto L...

Page 69: ...mediately followed by the end load sequence ESC When the clear vertical tabs ESC 4g sequence is received Table 25 shows how the default EVFU table is defined 1560 LPRINT CHR 72 CHR 64 Selects Channel 4 See Table 23 1570 FOR I 1 TO 31 1571 LPRINT CHR 64 CHR 64 1572 NEXT I 31 filler lines 1580 LPRINT CHR 80 CHR 64 Selects Channel 5 See Table 23 1590 FOR I 1 TO 8 1591 LPRINT CHR 64 CHR 64 1592 NEXT I...

Page 70: ... 11 Channel 1 is always used for TOF channel 12 is always used with the vertical tab character VT OBH If the channel number is greater than 12 then the program defaults to channel 1 If the table has not been loaded and a channel command is received it is ignored 7 Quarter Form 8 Tenth Line 9 Bottom of Form bottom margin 10 Bottom of Form minus 1 line 11 Top of Form minus 1 line last line this form...

Page 71: ...urrent linespacing End load command 6F hex The format of the two byte channel control code is shown in Table 27 Table 26 Skip To Channel Example Program Instruction Remarks Output 10 WIDTH LPT1 255 Required by some BASIC languages to avoid auto LF at column 80 20 LPRINT CHR 27 0 1 p Go to top of form channel 1 30 LPRINT TOP OF FORM Print indicated words 40 LPRINT CHR 27 0 3 p Go to channel 3 50 LP...

Page 72: ...n channel 1 stop in channel x bit has no meaning Table 27 Two Byte Channel Control Code Format Table 28 Channel Control Codes Decimal Value Binary Value ASCII Character Remarks 1 2 1 2 1 2 64 64 1000000 1000000 Fillers 65 64 1000001 1000000 A Channel 1 66 64 1000010 1000000 B Channel 2 68 64 1000100 1000000 D Channel 3 72 64 1001000 1000000 H Channel 4 80 64 1010000 1000000 P Channel 5 96 64 11000...

Page 73: ...0 Channel 9 0011 Channel 41001 Channel 10 0100 Channel 51010 Channel 11 0101 Channel 61011 Channel 12 Slew N Lines Bit NumberFunction PI76543210 1XEE1NNNNAdvance paper the number of lines specified by NNNN or EENNNN Up to 63 lines all bits EENNNN are 1 can be slewed If the number of lines is 63 and the option Truncate PI slew is set to Truncate at TOF the slew will be aborted at Top of Form if the...

Page 74: ...74 Chapter 3 ANSI EVFU ...

Page 75: ... 43 2B 54 44 2C 55 45 2D 56 46 2E 57 47 2F 0 1 2 3 4 5 6 7 8 9 60 48 30 61 49 31 62 50 32 63 51 33 64 52 34 65 53 35 66 54 36 67 55 37 70 56 38 71 57 39 72 58 3A 73 59 3B 74 60 3C 75 61 3D 76 62 3E 77 63 3F A B C D E F G H I J K L M N O 100 64 40 101 65 41 102 66 42 103 67 43 104 68 44 105 69 45 106 70 46 107 71 47 110 72 48 111 73 49 112 74 4A 113 75 4B 114 76 4C 115 77 4D 116 78 4E 117 79 4F P Q...

Page 76: ...76 Appendix A ...

Page 77: ...ches CPI 10 12 13 3 15 16 7 1 16 0 0625 1 1 1 1 1 1 8 0 1250 1 2 2 2 2 3 16 0 1875 2 2 2 3 3 1 4 0 2500 3 3 3 4 4 5 16 0 3125 3 4 4 5 5 3 8 0 3750 4 5 5 6 6 7 16 0 4375 4 5 6 7 7 1 2 0 5000 5 6 7 8 8 9 16 0 5625 6 7 7 8 9 5 8 0 6250 6 8 8 9 10 11 16 0 6875 7 8 9 10 11 3 4 0 7500 8 9 10 11 13 13 16 0 8125 8 10 11 12 14 7 8 0 8750 9 11 12 13 15 15 16 0 9375 9 11 12 14 16 1 10 12 13 15 17 2 20 24 27 ...

Page 78: ...3 216 180 162 144 129 4 288 240 216 192 172 5 360 300 270 240 215 6 432 360 324 288 258 7 504 420 378 336 301 8 576 480 432 384 344 9 648 540 486 432 387 10 720 600 540 480 430 11 792 660 594 528 473 12 864 720 648 576 516 13 936 780 702 624 559 14 1008 840 756 672 602 15 1080 900 810 720 645 16 1152 960 864 768 688 17 1224 1020 918 816 731 18 1296 1080 972 864 774 19 1368 1140 1026 912 817 20 144...

Page 79: ...2808 2496 2236 53 3816 3180 2862 2544 2279 54 3888 3240 2916 2592 2322 55 3960 3300 2970 2640 2365 56 4032 3360 3024 2688 2408 57 4104 3420 3078 2736 2451 58 4176 3480 3132 2784 2494 59 4248 3540 3186 2832 2537 60 4320 3600 3240 2880 2580 61 4392 3660 3294 2928 2623 62 4464 3720 3348 2976 2666 63 4536 3780 3402 3024 2709 64 4608 3840 3456 3072 2752 65 4680 3900 3510 3120 2795 66 4752 3960 3564 316...

Page 80: ...2 4464 3999 94 6768 5640 5076 4512 4042 95 6840 5700 5130 4560 4085 96 6912 5760 5184 4608 4128 97 6984 5820 5238 4656 4171 98 7056 5880 5292 4704 4214 99 7128 5940 5346 4752 4257 100 7200 6000 5400 4800 4300 101 7272 6060 5454 4848 4343 102 7344 6120 5508 4896 4386 103 7416 6180 5562 4944 4429 104 7488 6240 5616 4992 4472 105 7560 6300 5670 5040 4515 106 7632 6360 5724 5088 4558 107 7704 6420 577...

Page 81: ...7128 6336 5676 133 7980 7182 6384 5719 134 8040 7236 6432 5762 135 8100 7290 6480 5805 136 8160 7344 6528 5848 137 8220 7398 6576 5891 138 8280 7452 6624 5934 139 8340 7506 6672 5977 140 8400 7560 6720 6020 141 8460 7614 6768 6063 142 8520 7668 6816 6106 143 8580 7722 6864 6149 144 8640 7776 6912 6192 145 8700 7830 6960 6235 146 8760 7884 7008 6278 147 8820 7938 7056 6321 148 8880 7992 7104 6364 1...

Page 82: ...9234 8208 7353 172 9288 8256 7396 173 9342 8304 7439 174 9396 8352 7482 175 9450 8400 7525 176 9504 8448 7568 177 8496 7611 178 8544 7654 179 8592 7697 180 8640 7740 181 8688 7783 182 8736 7826 183 8784 7869 184 8832 7912 185 8880 7955 186 8928 7998 187 8976 8041 188 9024 8084 189 9072 8127 190 9120 8170 191 9168 8213 192 9216 8256 193 9264 8299 194 9312 8342 195 9360 8385 196 9408 8428 197 9456 8...

Page 83: ...72 205 8815 206 8858 207 8901 208 8944 209 8987 210 9030 211 9073 212 9116 213 9159 214 9202 215 9245 216 9288 217 9331 218 9374 219 9417 220 9460 221 9503 222 9546 223 9589 224 9632 225 9675 226 9718 227 9761 228 Table 30 Decipoints for Column vs CPI Values continued MARGIN COLUMN CPI 10 12 13 3 15 16 7 ...

Page 84: ...84 Appendix B ...

Page 85: ...acter encoding scheme introduced in 1963 and used widely on many computers and printers It is a 7 bit code with 128 different bit patterns There is no parity recommendation attributes print Operations performed on text that alter its appearance but do not change the font Examples underlining superscripting bold etc B bar code A printed code consisting of parallel bars of varied width and spacing a...

Page 86: ...e usually consists of 8 bits but may contain more or fewer bits depending on the computer or protocol C character cell The invisible rectangular space occupied by a character including the white space around the character The height of a cell remains constant even with changes in the current line spacing and the width is equal to the current character spacing Used as a unit of spacing character pr...

Page 87: ...C compatibility The ability of one printer to accept and properly process commands meant for a different printer See also emulation and protocol compressed Refers to a typeface with a font width approximately 60 smaller than normal Character height is not changed configuration Refers to the operating properties that define how the printer responds to signals and commands received from the host com...

Page 88: ... if another is not specified by the user descender The portion of a printed lowercase character that appears below the base line For example g j p q and y all are characters with lowercase descenders diagnostic Pertains to the detection and isolation of printer malfunctions or mistakes DIP Dual In line Package A method of packaging semiconductor components in rectangular cases with parallel rows o...

Page 89: ...m uppercase M usually the widest character in a set emulation Refers to the ability of a printer to execute the commands of another printer protocol When used as a proper noun e g Proprinter III XL Emulation it means printer protocol See also compatibility and protocol en A unit of measure in typesetting equal to half the width of an em enable To activate make true 1 or set to on escape sequence A...

Page 90: ...scape A font printed parallel to the long edge of a page font monospaced Also called fixed pitch fonts Every character regardless of horizontal size occupies the same amount of font pattern space All monospaced fonts use specific pitch size settings Monospaced fonts are sometimes used when strict character alignment is desired tables charts spreadsheets etc font name See typeface font pattern The ...

Page 91: ...radix of 16 hex dump A hex dump is a translation of all host interface data to its hexadecimal equivalent A hex dump is a printer self test typically used to troubleshoot printer data reception problems HGS Horizontal Grid Size host computer The computer that stores processes and sends data to be printed and which communicates directly with the printer The term host indicates the controlling compu...

Page 92: ...to the paper motion LCD Liquid Crystal Display The LCD is located on the operator panel Its purpose is to communicate information to the operator concerning the operating state of the printer LED Light Emitting Diode logical link The parameters that specify data transfer control or communication operations lpi lines per inch A measurement indicating the vertical spacing between successive lines of...

Page 93: ...a are not lost when the power is interrupted or turned off A battery supplies power to NVRAM when the system does not Unlike ROM another type of nonvolatile memory NVRAM is accessible and its contents can be altered O OCR Optical Character Recognition A process by which a machine can read characters printed in a special standardized font Data are read by a photoelectric optical scanner and recorde...

Page 94: ... ICs sockets etc mounted on it PGL Printronix Graphics Language The software version of the old hardware based IGP that is used in the Printronix PSA line of printers It provides the same forms and barcode generation capabilities as the IGP PI Paper Instruction A signal from the host with the same timing and polarity as the data lines pica A name indicating a monospaced font with a pitch of 10 cpi...

Page 95: ... convey and print characters and graphics A printer protocol includes character codes printer function codes and machine to machine communication codes In this manual protocol and emulation mean the same thing See also compatibility and emulation PSA Printronix System Architecture A print engine design that puts all data and electro mechanical control logic on one circuit board The use of flash me...

Page 96: ... not have serifs This font is sans serif SCS System Network Architecture SNA Character String Usually commands to set printer format etc serial communications The sequential transmission of data in which each element is transferred in succession serial matrix A type of printing technology used in some impact printers Data are sent to the printer through either a serial or a parallel interface but ...

Page 97: ...d treated as a unit in graphics applications size type See point SLD Set Line Density slewing Rapid vertical paper movement SNA Systems Network Architecture A hardware and software protocol used on IBM mainframe networks soft reset See warm start SOH Start Of Header spacing See font proportional and font monospaced SSCC SuperSet Control Code It is of the form SFCC and is used to execute superset c...

Page 98: ...e point type style Refers to either the upright or italic character style in a specific font family Roman is upright like this italic is slanted like this typeface A descriptive name or brand name that identifies a particular design of type Also called type family typographic font See font proportional U UPC Universal Product Code USET User defined Set An IGP command that creates custom character ...

Page 99: ...actory default configuration values weight See character weight word 1 A storage unit consisting of the number of bits that comprise one storage location in main memory 2 The name used for a variable or constant in a program 3 The data value occupying a storage location write To place data in memory RAM NVRAM or in mass storage hard disk floppy diskette etc X X OFF A character transmitted by the p...

Page 100: ...100 Appendix C ...

Page 101: ... 19 21 Clearing tabs 40 Configuring 26 Control code 30 functions 28 D Default values 23 Line Printer Plus 25 Density graphics 47 DIAGNOSTICS PASSED 19 Dot graphics mode 46 Downloading Optional Font Files to Flash Memory 16 Downloading software 14 E Epson vertical tabs 60 ERROR DC PROGRAM NOT VALID 19 DRAM AT ADRESS XXXXXXXX 19 EC PROGRAM NOT VALID 19 EC STOPPED AT STATE XXXX 19 FLASH DID NOT PROGR...

Page 102: ...ode 33 F Factory settings 23 Flash memory 10 Flash messages CLEARING PROGRAM FROM FLASH 19 21 DIAGNOSTICS PASSED 19 ERROR DC PROGRAM NOT VALID 19 DRAM AT ADDRESS XXXXXXXX 19 EC PROGRAM NOT VALID 19 EC STOPPED AT STATE XXXX 19 FLASH NOT DETECTED 19 NO DRAM DETECTED 19 NVRAM FAILURE 19 PROGRAM NEEDS MORE DRAM 19 PROGRAM NEEDS MORE FLASH 20 PROGRAM NOT COMPATIBLE 20 PROGRAM NOT VALID 20 SECURITY PAL ...

Page 103: ...esetting 39 RESTORING BOOT CODE 21 Right margin 36 S SECURITY CODE VIOLATION 21 SENDING PROGRAM TO EC PROCESSOR 21 Skip to Channel Command ANSI Using PI Line 73 Skip to Channel command ANSI 70 Slewing Paper ANSI emulation 66 Epson emulation 60 Proprinter emulation 60 P Series emulation 62 Slewing Program loading EVFU ANSI 67 Software downloading 14 Spacing between bar codes 52 Special function cod...

Page 104: ...104 ...

Page 105: ......

Page 106: ...Solutions Center 714 368 2686 Printronix Nederland BV P O Box 163 Nieuweweg 283 NL 6600 Ad Wijchen The Netherlands Phone 31 24 6489489 Fax 31 24 6489499 Printronix Schweiz GmbH 42 Changi South Street 1 Changi South Industrial Estate Singapore 486763 Phone 65 6542 0110 Fax 65 6542 0220 Visit our Web site at www printronix com ...

Reviews: