Page 1
Compuprint 4247 Serial Matrix Printers Compuprint 4247 Model X03/Z03 Printers: Programmer Manual MAN10299.00.00...
Page 2
Before using this information and the product it supports, read the information in “Notices” on page 357. First edition (October 2011) This edition applies to the Compuprint 4247 X03-Z03 printers and to all subsequent releases and modifications until otherwise indicated in new edition.
Page 7
Double-Wide Continuous Mode (ESC W) ..... . . 59 Dual Density Bit Image Graphics Type 2 (ESC Y) ....59 High Density Bit Image Graphics (ESC Z) .
The 4247 Model X03/Z03 Serial Matrix Printers The 4247 Model X03/Z03 printers are professional, industrial impact-matrix printers. The 4247 Model X03/Z03 printers are rugged printers designed for harsh environments and demanding applications. Each of the 4247 models offers user-installable interface cards. The 4247 Model X03/Z03 printers can have either one or two straight continuous-forms paper paths.
Print qualities Fast Draft is a print quality available only for the 4247 Model Z03 printer. The Data Processing (DP), Data Processing Text (DP Text), Near Letter Quality (NLQ), OCR-A, and OCR-B print qualities on the 4247 Model X03 printer is equivalent in character size, shape, and resolution to the print qualities available on the 4247 Models Z03 printer.
How to Use This Manual The following lists describes the contents of each chapter and the appendixes: Chapter 1, “Personal Printer Data Stream (PPDS),” on page 1 describes the Personal Printer Data Stream (PPDS) programming commands for use when your printer is attached and emulation mode is set to 4247, 4202 III XL, or 2381 Personal Printer.
Chapter 1. Personal Printer Data Stream (PPDS) The 4247 Model X03/Z03 printers implement a subset of PPDS. The environment in which the printer data stream processor operates is described below. Print Job Processing There are no PPDS controls that explicitly define print job boundaries. A print job for the 4247 is established by the host system and consists of any set of related print objects.
Page 22
relationships of some of these parameters. Current Print Position (LM ≤ CPP ≤ RM). Current Print Line Maximum Print Position (in characters at current CPI) PMPP Physical Maximum Print Position. The largest number of characters that can be placed on one line of the surface (the largest value that MPP can assume).
Equal to MPP Horizontal tabs are set at each 8th column, starting with column 9 (9, 17, 25, 33, and so on.) Vertical tabs are all cleared Graphic and Control Character Sequences PPDS uses an ASCII encoding scheme to define controls and printable graphics. Multiple code pages for printable graphics are supported.
PPDS Compatibility PPDS is supported in 4247, 2381 Personal Printer, and 4202 Proprinter III XL emulation modes. When 4247 is selected, PPDS control codes are supported in the same manner as if emulating the 2381 Personal Printer. The Emulation Mode can be selected from the Configuration Menu using the operator panel.
Backspace (BS) This control moves the print position horizontally one character width to the left. If the current print position is at the left margin, the printer ignores this command. Horizontal Tab (HT) This control moves the print position to the next horizontal tab stop. If there are no tab stops to the right, or if the next tab stop is beyond the current right margin, the control is ignored.
This control moves the current horizontal print position to the left margin. The vertical print position does not change unless automatic line feed mode is active (see “Set Auto Line Feed (ESC 5)” on page 13). Shift Out (SO) / Double-Wide Print This control causes the printer to start double-width printing.
This control is treated as a NUL. Device Control 4 (DC4) / Select This control cancels double-wide printing if double wide was selected with the Shift Out control. The characters-per-inch setting returns to the previous value. Cancel (CAN) This control purges all buffered data. All data received after the most recent buffer terminating control is discarded.
Page 28
Control Name ESC DC3 1B 13 Device Control 3 (Deselect) ESC DC4 1B 14 Device Control 4 (Cancel Double-Wide Print) ESC CAN 1B 18 Cancel ESC EM 1B 19 Turn Auto Sheet Feeder On or Off ESC - 1B 2D Auto Underscore ESC 0 1B 30...
Control Name ESC ] 1B 5D Reverse Line Feed ESC ^ 1B 5E Print Single Characters ESC _ 1B 5F Continuous Overscore ESC d 1B 64 Relative Move Right ESC e 1B 65 Relative Move Left ESC [ - (See Note) 1B 5B 2D Select Line Scoring ESC [ @...
This control advances the paper one line. The horizontal position does not change unless automatic carriage return mode is activated from the operator panel Configuration Menu. If the paper advance crosses the bottom margin, the printer completes all deferred printing on the current page and then does an automatic form feed.
Shift In is a buffer terminating control; if printable data at a different character-per-inch setting is buffered, that data is printed before the setting is changed. The current print position becomes the next printable column at the new character-per-inch setting. CPI can be changed within a print line, and this control changes the maximum number of characters that can be printed on one line.
Auto Underscore (ESC -) This control turns on and off the continuous underscore function. If NN is 1, the printer underscores all text characters and spaces following this sequence. The printer does not underscore white space caused by horizontal tabs. If NN is 0, the printers stops the underscore of all data following this sequence.
Set Top of Form (ESC 4) This control establishes the current vertical position as the top of form. Set Auto Line Feed (ESC 5) This control sets the automatic line feed mode of the printer. When automatic line feed is on, the printer does a line feed each time it receives a carriage return.
This command selects unidirectional printing for one line only. The print head moves to the home position at the left side of the printer and prints one line, left to right. The command is then cancelled by the carriage return that sends the print head back to the home position. Character Font Image Download (ESC =) XX...XX This control downloads special character images.
Image Length = 11 with a remainder of 2 Image Length = 12 bytes per character If both printer provided images and downloaded images are to be printed from the same local font ID, we recommend that the downloaded images be sent, using this control, at the start of a print job when the print environment for the job is established.
IN is a one-byte hexadecimal number that specifies the page length in inches. IN is present only if parameter LL equals 0. Valid values for IN are X'01' to X'71'. If IN is greater than the maximum value, the maximum value is used. If both LL and IN are zero, the control is ignored. Set Horizontal Tabs (ESC D) TT...TT This control sets the horizontal tab stops.
NN is the one-byte local font identifier number that specifies the font. The mapping of the local font identifier is dependent upon the printer's emulation mode setting. In the Configuration Menu, if the emulation mode is set to 4202 III XL, the Change Font control code selects fonts compatible with the 4202 Proprinter III XL Printer.
NN is a one-byte hexadecimal value that specifies the move amount in units of 1/216 inch. The printer will adjust the value to the nearest 1/144 inch. If Automatic Carriage Return on Line Feed is set in the operator panel Configuration Menu, a carriage return is also performed when a Relative Move Baseline code is received (see “Carriage Return (CR)”...
This control ends skip perforation. Proportional Space Mode (ESC P) This control starts or stops proportional space mode. NN is a one-byte hexadecimal value that sets proportional space mode on or off. v If NN is 1, proportional space mode is on. v If NN is 0, proportional space mode is off.
End Subscript/Superscript (ESC T) This controls stops subscript and superscript printing. Set Print Direction (ESC U) This control specifies bidirectional or unidirectional printing. v If NN is 1, unidirectional printing is selected. v If NN is 0, bidirectional printing (default) is selected. Double-Wide Continuous Mode (ESC W) This control turns double-wide printing on or off.
Dual Density Bit Image Graphics Type 2 (ESC Y) NN...NN This control prints the supplied bit image data at 120 horizontal pel by 72 vertical pel. Bit image data can be mixed with text data on the same line. Horizontally adjacent dots are not allowed and will be removed if specified.
Note: If Printer Compatibility 4 - Automatic Carriage Return on Line Feed is set to Enabled in the Configuration Menu, the next print position is print position 1 at the left margin. If Printer Compatibility 4 - Automatic Carriage Return on Line Feed is set to Disabled, the next print position is the current print position.
The values for N1 are: X'01' Underscore X'02' Strikethrough X'03' Overscore X'00' Cancel X'01' Single Line X'02' Double Line Set Presentation Highlight (SPH) (ESC [ @) SPH activates or deactivates double wide, double high, and italic printing. This command is supported in 4247, 4202 III XL, and 2381 emulation with some exceptions as noted.
Font and Pitch Courier 10 Courier 12 Courier 15 Courier 17 Courier 20 Courier Proportional Font and Pitch Gothic 10 Gothic 12 Gothic 15 Gothic 17 Gothic 20 Gothic Proportional Set Initial Conditions (SIC) (ESC [ K) INIT This control initializes the printer. A two-byte count (LL HH) indicates the number of bytes that follow in this control.
Page 45
Parameter Byte for 4201 III XL Emulation 7 Discard Byte Ignore Process 6 Reserved 5 Alarm Disable Enable 4 Auto CR CR on Vertical Movement No CR on Vertical Movement 3 Auto LF Auto LF after CR No Auto LF after CR 2 Form Length 12 inch forms 11 inch forms...
– Printer Compatibility 7 – Condensed Print – Interface Type – Input Buffer Size – Select-In Signal – AutoFeed XT v All Printer Adjustments Values v All Printer Setup Values v Display Language v All Vital Product Data v Active Form Path Select Code Page (SCP) (ESC [ T) This control selects a code page for printing where HC and LC specify the code page in hexadecimal.
Character Set CP915 Cyrillic (ISO 8859-5) CP916 Latin 8 (ISO 8859-8) CP920 Latin 5 (ISO 8859-9) CP921 Baltic Multilingual CP922 Estonian CP923 Latin 9 (ISO 8859-15) CP1006 Urdu CP1046 Arabic Extended CP1089 Latin 6 (ISO 8859-6) CP1098 Farsi (Personal Computer) CP1116 Estonian (Personal Computer) CP1117 Latvian (Personal Computer) CP1118 Lithuanian (Personal Computer)
Function Note: If printer configuration Host Fast Draft setting is Enabled then Fast Draft quality is selected. If Host Fast Draft is disabled then DP quality is selected. (Model Z03 only) 4247 Commands Control Name DC4 DC4 ESC ! NN 1 PP EM 14 14 1B 21 01 Select EAN-8 Bar Code DC4 DC4 ESC ! NN 2 PP EM...
Control Name DC4 DC4 ESC p 14 14 1B 70 Select Print Quality Select EAN-8 Bar Code (DC4 DC4 ESC ! NN 1 PP EM) This control selects the EAN-8 bar code. The DATA field must contain only ASCII numeric (0 to 9) data, and must be eight bytes long, check digit included.
Do not print human readable characters Print human readable characters Select MSI Bar Code (DC4 DC4 ESC ! NN 4 PP EM) The control selects the MSI bar code. The DATA field for this bar code does not have a defined length, but the DATA field must contain only ASCII numeric (0 to 9) data.
Print human readable characters Select UPC 5-Digit Bar Code (Magazine) (DC4 DC4 ESC ! NN 7 PP EM) This control selects the UPC 5-Digit bar code. The DATA field must contain only ASCII numeric (0 to 9) data, and must be six bytes long, check digit included.
Select 2 of 5 MATRIX Bar Code (DC4 DC4 ESC ! NN 19 PP EM) The control selects the 2 of 5 Matrix bar code. The DATA field for this bar code does not have a defined length, but the DATA field must contain only ASCII numeric (0 to 9) data.
NN is a one-byte hexadecimal number that specifies the height of the bar code symbol as 1 to 12 (1/6 to 12/6 inch, or 2 inches). PP is a one-byte hexadecimal number that specifies whether or not to print the bar code in Human Readable Characters as follows: Do not print human readable characters Print human readable characters...
Print Bar Code Selection (DC4 DC4 ESC ( GS {N1} {DATA1} GS {N2} {DATA2} EM) DD...DD DD...DD This sequence causes the bar code symbol to be printed according to the Bar Code Selection command. Sequential bar codes of the same type and height may be printed. GS N# defines the distance from the beginning of the line or between two bar code symbols in multiples of 1/72 of an inch.
This command sets line spacing to 3 lines per 30 mm. Set Vertical Spacing 4 Lines/30mm (DC4 DC4 ESC 3 4) This command sets line spacing to 4 lines per 30 mm. Set Vertical Spacing 6 Lines/30mm (DC4 DC4 ESC 3 6) This command sets line spacing to 6 lines per 30 mm.
Load or Park Fanfold from a Front Path (DC4 DC4 ESC T) This command loads or performs the Park function for fanfold paper fed from the front path. The values for NN are: The printer selects the front path. If fanfold paper is already loaded in a paper path that is not requested, the printer automatically performs the Park function before loading the front path.
Printer Configuration Response (DC4 DC4 ESC h) D1...DN This is the response Request to Read Configuration command. The printer must be configured for 1284 Parallel mode. LL and HH indicate the number of bytes that follow this control. LL is the least significant byte of the count and HH is the most significant byte. (The number of bytes that follow equal HH x 256 + LL.) The other values are: Model Type...
Fast Draft (Model Z03 only) DP Text Buffer Terminating Conditions The following controls cause buffered data to be released for printing: v Carriage Return v Line Feed v Reverse Line Feed v Form Feed v Horizontal Tab (if there is print head movement) v Vertical Tab v Backspace v Set 1/8 Inch Line Spacing...
Chapter 2. Epson FX-1050 Data Stream When the 4247 is in Epson emulation mode, the printer can print files coded for the Epson FX-1050 printer using the Epson ESC/P printer control language. Use the Configuration menu to select Epson FX emulation mode as the active printer configuration.
Page 60
Length, Set Horizontal Margins, for example). The physical print position does not move outside the range of these two parameters. The left margin (LM) and right margin (RM) are variable parameters within the presentation surface. The logical print position does not move outside the range of the vertical margins nor outside the horizontal margins + 1.
MPP (depth) Operator panel setting Operator panel setting Operator panel setting 0 inches (Column 1) Equal to MPP Horizontal tabs are set at each 8th column, starting with column 9 (9, 17, 25, 33, and so on.) Vertical tabs are all cleared One-Byte Controls Note: Control hex values within parentheses are recognized only within PC Character Set 1.
Backspace (BS) This control moves the print position horizontally one character width to the left. If the current print position is at the left margin, the printer ignores this command. Horizontal Tab (HT) This control moves the print position to the next horizontal tab stop. If there are no tab stops to the right, or if the next tab stop is beyond the current right margin, the control is ignored.
This control moves the current horizontal print position to the left margin. If Carriage Return equals Carriage Return + Line Feed, a Line Feed is executed when Carriage Return is received. Otherwise, the vertical position does not change. Carriage Return is a line ending control code that causes buffered data to print.
Device Control 4 (DC4) / Cancel Double-Wide Print This control cancels double-wide printing if double wide was selected with the Shift Out control. The characters-per-inch setting returns to the previous value. Cancel (CAN) This control purges all buffered data. All data received after the most recent buffer terminating control is discarded.
Page 65
Control Name ESC DC3 1B 13 Device Control 3 (Deselect) ESC DC4 1B 14 Device Control 4 (Cancel Double-Wide Print) ESC CAN 1B 18 Cancel ESC EM 1B 19 Turn Auto Sheet Feed On or Off ESC SP 1B 20 Set Intercharacter Spacing ESC ! 1B 21...
Control Name ESC O 1B 4F End Skip Perforation ESC P 1B 50 Select 10 CPI ESC Q 1B 51 Set Right Margin ESC R 1B 52 Select Character Set ESC S 1B 53 Begin Subscript/Superscript ESC T 1B 54 End Subscript/Superscript ESC U 1B 55...
This control causes the audible alarm to sound, if enabled. The alarm may be disabled or enabled from the Configuration menu. Backspace (ESC BS) This control moves the print position horizontally one character width to the left. If the current print position is at the left margin, the printer ignores this command.
Carriage Return (ESC CR) This control moves the current horizontal print position to the left margin. The vertical print position does not change unless automatic line feed mode is active. Shift Out (ESC SO) / Double-Wide Print This control causes the printer to start double-width printing. Double-width printing prints the characters twice as wide as the current character spacing.
Device Control 4 (ESC DC4) / Cancel Double-Wide Print This control cancels double-wide printing if double wide was selected with the Shift Out control. The characters-per-inch setting returns to the previous value. Cancel (ESC CAN) This control purges all buffered data. All data received after the most recent buffer terminating control is discarded.
Cancels the most significant bit (MSB) control. Set Absolute Print Position (ESC $) This control specifies the distance that subsequent characters are to be printed from the set left margin in 1/60 inch units. Where the total number of dots equals N1 + (N2 × 256). If the position is beyond the right margin, the control is ignored and the previous setting remains active.
Select Graphics Mode (ESC *) This control selects the graphics mode MM from the table below. The total number of columns equals N1 + (N2 ×256). Horizontal Alternate Density Option Code (dots/in.) Single-Density ESC K Double-Density ESC L High-Speed Double-Density * ESC Y Quadruple-Density * ESC Z...
The application program is responsible for keeping track of the vertical position on the current page relative to the current line spacing. Changing the line spacing within a print job without changing the page length can cause printing on the page perforation. For additional information, see “Set Page Length (ESC C)”...
Printable Code Area Expansion (ESC 6) This control enables codes X'80' through X'9F' from the active character set to become printable characters instead of control characters. Cancel Printable Code Area Expansion (ESC 7) This control cancels Printable Code Area Expansion (ESC 6). Copy ROM into Ram (ESC : NUL) This control copies the characters in ROM into RAM.
Horizontal Density Option Alternate Code (dots/in.) Single-Density ESC K Double-Density ESC L High-Speed Double-Density * ESC Y Quadruple-Density * ESC Z CRT I NONE Plotter (1:1) NONE CRT II NONE Double-Density Plotter NONE Note: (*) Adjacent dots cannot be printed in this mode. Initialize Printer (ESC @) This control resets all print related parameters to values previously saved and clears the buffer of printable data.
Set Page Length (ESC C) This control sets the physical page length in lines or inches and resets skip perforation mode. LL is a one-byte hexadecimal number that specifies the page length in lines. The value is converted to inches based upon the current line spacing. Valid values for LL are X'01' to X'FF', but the resulting page length in inches must be less than 113.8 inches (2890 mm).
End Double-Strike Print (ESC H) This control ends double-strike printing. Printable Code Area Expansion (ESC I) This control defines whether codes X'00' through X'1F' and codes X'80' through X'9F' are printable characters or control characters of the active character set. When NN equals X'01', the codes become printable characters, which allows them to be used as user-defined characters.
A two-byte count (LL HH) indicates the number of bytes that follow in this control. LL is the least significant byte of the count; HH is the most significant byte. (The number of bytes that follow should equal HH × 256 + LL.) If the count equals X'0000', the control is ignored.
This control specifies an international character set as shown in the table below and is available in both DP and NLQ. The following values for NN are: Hex Codes Character Set ¦ France à ° ç § é ù è Germany §...
This control specifies bidirectional or unidirectional printing. v If NN is an odd value (1, 3, 5, ...) unidirectional printing is selected. v If NN is an even value (0, 2, 4, ...), bidirectional printing (default) is selected. Double-Wide Continuous Mode (ESC W) This control turns double-wide printing on or off.
Set Relative Position (ESC \) This control moves the print head to a horizontal print position relative to the current print position using 1/120 inch increments. To calculate the correct values for N1 and N2, determine the displacement required in 1/120 of an inch. Send the resulting number using the formula total number of dots equals N1 + (N2 × 256).
This control spaces backward in 1/120s of an inch. To find the values for N1 and N2, determine the required displacement in 1/120s of an inch. Send the resulting number in the formula: N1 + (N2 X 256). Set 15 CPI (ESC g) This control prints any data stored in the print buffer, and initializes following text to print at 15 CPI.
This control activates and deactivates Quiet Mode (half-speed printing). The following are the values for Set Quiet Mode Off Set Quiet Mode On Select Character Table (ESC t) This control selects italic characters from the Epson Italic character set. The characters selected are ASCII codes 128 to 255 (X'80' through X'FF').
Control Name DC4 DC4 ESC ! NN 6 PP EM 14 14 1B 21 06 Select UPC 2-Digit Bar Code (Magazine) DC4 DC4 ESC ! NN 7 PP EM 14 14 1B 21 07 Select UPC 5-Digit Bar Code (Magazine) DC4 DC4 ESC ! NN 17 PP EM 14 14 1B 21 11 Select 2 of 5 INTERLEAVED Bar Code...
NN is a one-byte hexadecimal number that specifies the height of the bar code symbol as 1 to 12 (1/6 to 12/6 inch, or 2 inches). PP is a one-byte hexadecimal number that specifies whether or not to print the bar code in Human Readable Characters as follows: Do not print human readable characters Print human readable characters...
PP is a one-byte hexadecimal number that specifies whether or not to print the bar code in Human Readable Characters as follows: Do not print human readable characters Print human readable characters Select UPC-E Bar Code (DC4 DC4 ESC ! NN 5 PP EM) The control selects the UPC-E bar code.
PP is a one-byte hexadecimal number that specifies whether or not to print the bar code in Human Readable Characters as follows: Do not print human readable characters Print human readable characters Select 2 of 5 INTERLEAVED Bar Code (DC4 DC4 ESC ! NN 17 PP EM) The control selects the 2 of 5 Interleaved bar code.
Do not print human readable characters Print human readable characters Select CODE 3 of 9 Bar Code (DC4 DC4 ESC ! NN 20 PP EM) This control selects the Code 3 of 9 bar code. The DATA field for this bar code does not have a defined length, but must start and end with an *. The DATA field may contain alphanumeric data as follows: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z...
The DATA field for this bar code does not have a defined length, and must contain only the data characters belonging to the selected ASCII character set, including control characters. Since GS and EM are control codes, the host application must set the high-order bit of the control code to allow the printer to distinguish between encodable data and terminator strings.
ASCII: DC4 DC4 ESC ( GS 72 12345678 EM HEX: 14 14 1B 28 1D 48 31 32 33 34 35 36 37 38 19 Example 2: Print two Code 3 of 9 bar code symbols. The first symbol on the right margin; the second symbol one inch to the right of the first symbol.
Set Vertical Spacing 8 Lines/30mm (DC4 DC4 ESC 3 8) This command sets line spacing to 8 lines per 30 mm. Eject Single Sheet or Form Feed (DC4 DC4 ESC 5) This command causes a form feed on fanfold forms. Set 15, 17.1, 20 CPI (DC4 DC4 ESC A) This command sets horizontal spacing (characters per inch) to 15, 17.1 or 20.
Select Emulation (DC4 DC4 ESC Y) This command selects the printer emulation mode. The values for NN are: Epson FX 1050 4202 Proprinter III XL 4247 or 2381 Personal Printer Select AFTA in Column (DC4 DC4 ESC Z) This command selects the column at 10 CPI where the Automatic Forms Thickness Adjustment (AFTA) will be made.
D1...DN Configuration Data Checksum of the data bytes Write Configuration Response (DC4 DC4 ESC i) D1...DN This command writes configuration data to non-volatile memory (NVM). The printer must be configured for 1284 Parallel mode. LL and HH indicate the number of bytes that follow this control.
v Backspace v Set 1/8 Inch Line Spacing v Set 7/72 Inch Line Spacing v Set 1/6 Inch Line Spacing v Set n/216 Inch Line Spacing v Set n/72 Inch Line Spacing v Invoke Text Line Spacing (if the line spacing is changed) v Move Right n/120 v Move Left n/120 v Feed Paper n/216 Reverse...
Chapter 3. Intelligent Printer Data Stream This chapter explains the concepts of the Intelligent Printer Data Stream (IPDS). IPDS is an orderable feature for your printer. The intent of this chapter is to provide a basic overview of how IPDS works. The Intelligent Printer Data Stream Reference provides detailed information about IPDS programming in general while Chapter 4, “IPDS Programming Information,”...
Figure 1. The Physical Medium The physical medium defined above is assumed to coincide with the actual physical medium (form) as that terminology is used in the following discussion. IPDS Coordinate Systems IPDS uses coordinate systems to define any point on a page. All IPDS commands containing location parameters use these coordinate systems to define distance measurements.
Figure 2. The X Medium Coordinate System Logical Page Layout IPDS describes the printed output in terms of logical pages. The logical page does not have to be contained completely on the physical medium. However, printing can only occur where the two areas overlap.
between the X and Y coordinates and the logical and physical medium. Figure 4. The X and Y Coordinate System and the Logical Page I and B Coordinate System In addition to the X,Y coordinate system, IPDS uses another coordinate system, the I-B coordinate system. These coordinates describe the placement and orientation of text or images on the logical page.
Figure 5. The I and B Coordinate System on the Logical Page Notes: 1. The 4247 Printer text character box is 180 units high by 144 units wide at 10 CPI when the X units equal 1,440 per inch. The left edge of the character box is at the specified inline position and the bottom edge of the character box is 20 units below the specified baseline position.
IPDS Command Format All of the printer commands use the following format: Length Command Flag Correlation ID Data Note: Bit numbering follows the EBCDIC convention with bit zero being the most significant bit. A description of each field follows. Length Length is a two-byte field that specifies the length of this command.
Data is an optional field and is not present for all commands. This field contains specific subcommands, parameters, and data appropriate for the given command. The length of the data field can range from 0 to 32760 (X'7FF8') if the correlation ID is present. If the correlation ID is not present, the length of the data field can range from 0 to 32762 (X'7FFA').
Acknowledge Reply (ACK) The printer uses the Acknowledge Reply to return device status, sense information, and any additionally requested information to the host application program. The application program uses the Acknowledge data to maintain control of the printing application and to initiate error recovery actions when necessary.
DATA is the field that follows the correlation ID field or the flag byte if no correlation ID is present. The length of this field can be 0-250 (X'00'-X'FA') if no correlation ID is present, and 0-248 (X'00'-X'F8') if the correlation ID is present.
The printer sends a Negative Acknowledge Reply (NACK) to the host to indicate that an error has occurred. The printer can send an ACK or a NACK in response to an ARQ. If an error occurs, the printer can send a NACK without receiving an ARQ.
Overlay (BO)” on page 194. Figure 7 shows various data types on a page. Figure 7. A Sample Page Constructed on an IPDS Printer Notes: 1. Overlays and page segments can be merged on this page. 2. Text and data blocks can be positioned at different places on this page. 3.
v The pels of a rule v The one pels of an image v The pels of a graphic line or arc v The one pels of a filled area v The one pels of a bar code. Background pels are all other pels. Text data, because it prints at a different physical resolution than the data in the other blocks, does not logically mix with any other data type.
Control, or Write Bar Code (block) Control commands in the data stream indicates that the printed page contains individual blocks of image, graphics, or bar code data for positioning on the page. These commands cause a state transition to occur to an appropriate page block state. In the block state, the printer establishes the initial conditions and processes the block of data onto the page.
Figure 9. The Relationship between Home State, Overlay State, and Block State Page Segment State The printer enters the page segment state from the home state as a result of receiving a Begin Page Segment command. A parameter in the Begin Page Segment command provides an identifier for later references to this segment.
Figure 10. The Relationship between Home State, Page Segment State, and Block States A Summary of the IPDS States and Commands Table 2 shows all the valid IPDS commands for the 4247 Printer and the initial and ending states for each command.
Page 110
Table 2. IPDS Command Code Summary for the 4247 Printer (continued) Code Description Initial State Ending State WBCC D680 Write Bar Code Control Page, Page Segment, or Page Bar Code Block, Page Overlay Segment Bar Code Block, or Overlay Bar Code Block D681 Write Bar Code Page Bar Code Block, Page...
Figure 11. The Complete IPDS State Diagram A Typical IPDS Command Sequence The following chart shows an example of a typical IPDS command sequence. This sequence contains five basic categories: 1. Initialization 2. Preparation 3. Page Segment 4. Overlay 5. Page Chapter 3.
Page 112
Each category starts with a command from the host to the printer and ends with an acknowledgment from the printer to the host. An analysis of each category follows this example. Note: → indicates a command from the host to the printer. ← indicates a reply from the printer to the host. Table 3.
Table 3. An Example of an IPDS Command Sequence (continued) Command Printer State Direction Command Name Description End Block End Overlay Graphics Block State State Write Text Store Text in Overlay Write Text Store Text in Overlay Include Overlay Include Another Overlay Include Page Segment Include Page Segment in Overlay End Page...
ACK (Acknowledgment Reply): If the previous command had the ARQ bit on, the printer responds with type and model information to the host. This information includes printer number (4247), model, and the various function set vector information. SHS (Set Home State): The host sends the SHS command to make sure the printer is in the home state before the start of a print job.
WT (Write Text): The WT command sends text data to the printer. Because the printer is currently in a page segment state, this text information does not print at this time. Instead, the data becomes part of the page segment. The host can send multiple WT commands to the printer while in the page segment state. WIC (Write Image Control): The WIC command causes the printer to enter the image block state.
WGC (Write Graphics Control): The WGC command causes the printer to enter the graphics block state. Parameters in this command specify the placement, size, and orientation of the graphics block. WG (Write Graphics): The WG command sends graphics data to the printer. The graphics data (contained in drawing orders) specifies the various elements of the graphic.
IO (Include Overlay): The IO command causes a previously stored overlay to merge onto the current page. This command contains an ID field, which selects the desired overlay. IPS (Include Page Segment): The IPS command causes a previously stored page segment to merge onto the current page.
Page 118
The host application program can use the Exception Handling Control order to accomplish many specific control capabilities necessary in data printing environments. For example, through the proper selection of settings, it is possible to: v Enforce control over printing of page information v Enable automatic skipping of data types not supported by the printer v Suppress the return of meaningless or redundant exception reports when alternate actions are acceptable to the user.
Chapter 4. IPDS Programming Information This chapter contains programming information for the Intelligent Printer Data Stream (IPDS) commands. The information is for the experienced programmer. A knowledge of data stream requirements, hexadecimal numbering systems, and data processing terminology and concepts is assumed. In addition to the information in this chapter, Chapter 3, “Intelligent Printer Data Stream,”...
2. The printer default font is Gothic for DP and fast draft print quality and Courier for DP Text and NLQ print quality. To determine the current values for CPI, language and quality, refer to the User’s Guide for your printer. 3.
Byte Field Description Flag Bit 0 0 = Acknowledge Response Not Required 1 = Acknowledge Response Required Bit 1 0 = Correlation ID Not Included 1 = Correlation ID Included Bit 2 0 = Acknowledge Reply Response is Complete 1 = Second Buffer of XOH - OPC Reply Required Bit 3 - 6 Reserved (Always Zero) Bit 7...
Command Hex Code Description D66D Logical Page Position WBCC D680 Write Bar Code Control D681 Write Bar Code D684 Write Graphics Control D685 Write Graphics D63D Write Image Control D64D Write Image D62D Write Text D6DF Begin Overlay D6EF Deactivate Overlay D67D Include Overlay D65F...
Command Hex Code Description D66D Logical Page Position D6CF Logical Page Descriptor D6AF Begin Page D64F Deactivate Font D6BF End Page D65D D68F Execute Order Home State D633 Execute Order Any State The following pages describe the device control function set commands in detail. No Operation (NOP) Length D603...
Page 124
Decimal Description 67-78 43-4E Graphics Function Set Vector 79-84 4F-54 Page Segment Function Set Vector 85-92 55-5C Overlay Function Set Vector 93-98 5D-62 Loaded Font Function Set Vector 99-110 63-6E Bar Code Function Set Vector Note: The format for byte 8, the printer model number, is “03 - Ethernet Host Interface” The function set vectors contain information relating to each specific command function set.
Page 125
Notes: 1. 4247 native mode. 2. 4224 and 4230 emulation mode. 3. For Limited Simulated Color support, all valid but unsupported color values for text data are accepted and result in simulation of the specified colors without generation of unsupported color exceptions. In the 4247 Printer, simulation of Color of Medium is done by printing in Color of Medium, except where not possible because of different resolutions when text overlays graphics, image, or bar code.
Decimal Value Description 93-94 5D-5E 0006 Vector Length 95-96 5F-60 C3C6 Loaded Font Function Set Identifier 97-98 61-62 FF20 Symbol Sets Bar Code Function Set Vector Decimal Value Description 99-100 63-64 000C Vector Length 101-102 65-66 C2C3 Bar Code Function Set Identifier 103-104 67-68 FF10...
v Whenever the printer detects a command stream error or device error and a negative response must be sent. A negative response has priority over a positive response. If the printer can identify the command and the command has a correlation ID, the Acknowledge Reply contains a correlation ID that matches the command.
Page 128
of the page segment add to the font equivalence tables during the include page segment process up to a maximum of 20 loaded font ID/print quality combinations. Each Begin Overlay command starts the overlay with the loaded font IDs currently defined and will add its LFE entries during the overlay’s definition up to a maximum of 20 loaded font ID/print quality combinations total.
6. A font cannot be both double high and italicized. Code Page ID Values Hex Value Code Page Hex Value Code Page 0025 USA/Canada 01A4 Arabic 0100 International Set 1 01A7 Greek 0104 Canadian French 01A8 Hebrew 0111 Austria/Germany 01B5 PC Character Sets 1 and 2 0112 Belgium...
2. The printer receives a Begin Suppression control (inside a Write Text command) with a suppression ID that matches a value in the LCC command. 3. All subsequent text data does not print (text suppression), until the printer receives an End Suppression control (inside a Write Text command) with the same ID.
Page 132
Decimal Value Description 24-25 18-19 0000 I-Axis Orientation of 0 Degrees 5A00 I-Axis Orientation of 180 Degrees (See Note 5) FFFF Printer Default (0 Degrees) (See Note 3) 26-27 1A-1B 2D00 B-Axis Orientation of 90 Degrees FFFF Printer Default (90 Degrees) 29-29 1C-1D 0000-FFFF...
Figure 12. Using the Load Page Descriptor Command to Specify the Logical Page Logical Page Position (LPP) Length D66D Flag Correlation ID (Optional) DATA This command positions the upper left corner of the logical page (defined by the Logical Page Descriptor control) with respect to the physical medium.
Only positive values are valid for the data field. The format of the data field (DATA) for this command is: Decimal Value Description Reserved 000000-007FFF X Displacement Reserved 000000-007FFF Y Displacement 0000 Reserved Deactivate Font (DF) Length D64F Flag Correlation ID (Optional) DATA The Deactivate Font command provides a means for the control unit to delete one or more fonts from the printer.
Page 135
Order Description 0100 Print Buffered Data (PBD) 0500 Erase Residual Print Data (ERPD) 0700 Erase Residual Font Data (ERFD) 0D00 Stack Received Pages (SRP) 1500 Select Input Media Source (SIMS) 1700 Set Media Size (SMS) F300 Obtain Printer Characteristics (OPC) Print Buffered Data (PBD) This subcommand causes the printer to print all buffered data pages prior to sending the Acknowledgment Reply, if requested.
Page 136
Figure 14. Using the Set Media Size Command to Specify the Physical Medium The data field for the Set Media Size subcommand has the following format: Decimal Value Description Unit Base (10 in.) Unit Base (10 cm.) 5A0-7FFF Units per Base Value (per 10 in.) 1626-7FFF Units per Base Value (per 10 cm) 000A-4A40...
Page 137
Acknowledge Type and Counters: Decimal Value Description Acknowledgement Type (4 byte) XXXXXXXX Page/Copy Counters Printable Area Self-Defining Field: The page extents are set at initialization time to reflect the operator panel settings. The Set Media Size command can change the page extents. For 4247 mode and all emulation modes with one or two tractors installed: Decimal Value...
Page 138
Decimal Value Description X-Box Size in Pels (20) Y-Box Size in Pels (18) Reserved Repeating Group Length 10-11 000B 10 CPI Courier (NLQ) 12-13 0055 12 CPI Courier (NLQ) 14-15 00DF 15 CPI Courier (NLQ) 16-17 10-11 0013 10 CPI OCR-A (NLQ) 18-19 12-13 0003...
Page 139
Decimal Value Description Reserved 62-63 3E-3F 0960 Units per Unit Base (2400) Maximum X-Box Size in Pels (255) Y-Box Size in Pels (9) Reserved Repeating Group Length 67-68 44-45 00A0 PSM Essay (DP Text) Image/Coded-Font Self-Defining Field: Decimal Value Description 000A Length of this field 0003...
Page 140
Available Features Self-Defining Field: Decimal Value Description 0006 Length of this field 0007 Available Features 0B00 Continuous Forms Output Resident-Symbol Set Support Self-Defining Field: For Ethernet interfaces: Decimal Value Description 00B6 Length of this field 0008 Resident Symbol Set Support Length of this field Code Page Support Length of Code Page List...
Page 142
Decimal Value Description 136-137 88-89 000B 10 CPI Courier (DP Text and NLQ) 138-139 8A-8B 0055 12 CPI Courier (DP Text and NLQ) 140-141 8C-8D 00DF 15 CPI Courier (DP Text and NLQ) 142-143 8E-8F 001A 10 CPI Gothic (Fast Draft and DP) 144-145 90-91 0057...
Page 143
Decimal Value Description DP Text Quality These values apply if Host Fast Draft is enabled in the printer configuration menu: Decimal Value Description 0008 Length of this field 0009 Print Quality ID Fast Draft Quality DP Quality DP Text Quality XOA RRL RT &...
Decimal Value Description 44-59 2C-3B XX...XX Device Specific If the printer is in 4224 emulation mode: Decimal Value Description 003F Length 0013 Product Identifier Length of this Field 0000 4224 with Page Counter Fix ID Length of this Field 0001 4224 Product Identifier Parameter ID 10-15 F0F0F4F2F4F7 Device Type...
Page 145
Activate Printer Alarm (APA) The XOA Activate Printer Alarm (APA) subcommand signals the printer to activate the alarm mechanism. As long as the printers alarm function is enabled, the alarm will be turned on in response to this command. It will remain on until Stop is pressed. After processing this command, the printer continues to process the incoming IPDS data stream.
Page 146
Acknowledge Reply for Request Resource List: Length D6FF Flag Correlation ID (Optional) DATA The format of the resource list returned with the Acknowledge Reply is as follows: Decimal Value Description Unordered List End of List Length of this Entry Resource Type Resource Size equals 0.
Page 147
Decimal Value Description Bit 1 Bit 1 Page Position Check Do Not Report Exceptions Report Exceptions Bit 2-6 Bit 2-6 Reserved Bit 7 Bit 7 All other Errors Do Not Report Exceptions Report Exceptions Alternate Exception Action Bit 0-6 Bit 0-6 Reserved Bit 7 Bit 7...
Page 148
The first asynchronous NACK is the only one reported, even though other synchronous NACKs may be detected before the first NACK is reported. If the printer has a pending exception (the exception has occurred but has not yet been reported), the printer reports the exception when exception handling control directs.
Page 149
- Write Graphics Control - End Page - Set Home State - XOA Discard Buffered Data - Load Font Equivalence. If the following terminating conditions occur, the printer returns to home state and reports the indicated exception: – An asynchronous exception occurs such that the printer cannot recover without host intervention. The asynchronous exception is reported and the exception that caused the skip and continue action is discarded.
Figure 15. Exception Handling Control (Part 1 of 3) Programmer Manual...
Page 151
Figure 15. Exception Handling Control (Part 2 of 3) Chapter 4. IPDS Programming Information...
Page 152
Figure 15. Exception Handling Control (Part 3 of 3) Print Quality Control (PQC) The Print Quality Control subcommand allows the host to specify the desired print quality without changing fonts (see notes). The quality selection (from the PQC subcommand) specifies the quality for printing text associated with fonts selected by the Set Coded Font Local (SCFL) command and defined by the Load Font Equivalence (LFE) command.
The following bytes contain the print quality selection, as shown: Byte Value Description Bit 0-1 F800 PQC Order Code Bit 2 01 - 2A Fast Draft Quality 2B - 55 56 - AA DP Text AB - FE Depends on Operator Panel setting Note: Model Z03 only with Host Fast Draft enabled.
If a Load Copy Control command refers to a suppression identifier that has not been specified as an external value in an LE command, the identifier (external value) will map to itself. This is the only case where the identifier will map to itself unless specified. This mapping remains in effect until the printer receives another Load Equivalence command, at which time its values will totally replace this mapping.
Page 155
Control Description Control Description CO (C1) Set Inline Margin (SIM) F4 (F5) End Suppression (ESU) C2 (C3) Set Intercharacter Adjustment (SIA) E4 (E5) Draw I-Axis Rule (DIR) D0 (D1) Set Baseline Increment (SBI) E6 (E7) Draw B-Axis Rule (DBR) C6 (C7) Absolute Move Inline (AMI) EE (EF) Repeat String (RPS)
Page 156
Description: This control specifies a distance, which the printer adds to the current baseline coordinate when the printer performs a Begin Line control. Parameters P1P2 form a two byte value that specifies the baseline increment in units. All values between X'8000' and X'7FFF' are valid.
Page 157
Description: This control moves the baseline coordinate relative to the current baseline coordinate position. Parameters P1P2 form a two byte value that specifies the displacement value in units. All values between X'8000' and X'FFFF' are valid. Note: Baseline displacement values that require a negative baseline displacement in order to print results in an error if the LPD command specifies ordered printing.
Page 158
Description: This control marks the beginning of a string of text that the printer can suppress from the printed output. Parameter P1 is a one byte suppression identifier. Valid values are from 1 to X'FF'. An End Suppression control, with the same suppression identifier, must follow the Begin Suppression control. An error results when BSU-ESU text controls are not paired properly or have different suppression IDs.
Page 159
Parameters P3P4 specify the width of the rule in the inline direction in units. Valid values are from X'8000' to X'7FFF'. Negative values are in twos-complement form. Also valid is X'FFFF'. This selects the printer default of 5 pels wide. Parameter P5 is ignored by the 4247 Printer.
Page 160
Color Color 0000 Black (Default) 0008 Black FF00 Black FFFF Use Current Default FF07 Black (Default) Note: For Limited Simulated Color Support, all valid but unsupported color values for text data are accepted and result in simulation of the specified colors without generation of unsupported color exceptions.
Page 161
An OVS command with a bypass value of 00 ends overstrike mode. Underscore (USC) 2BD3 76 (77) P1-P3 Description: This control identifies text the printer underscores at the baseline of the current line. The underscore prints using the same print quality as the text. Parameter P1 is the bypass identifier.
A substitute font with characteristics identical to the current font may be used to simulate baseline shift (superscript/subscript). Same as 00. Note: When subscript or superscript is active, double high printing will not occur. Parameters P3 and P4 are the temporary baseline increments. Its values are: 0000 - 7FFF Temporary Baseline Increment FFFF...
Page 163
Decimal Value Description 12-13 0000 Zero Degrees Scan Line Direction 14-15 2D00 90 Degrees Scan Line Sequence Direction Coordinate Type (See note 1) Absolute I, Absolute B Absolute I, Relative B Relative I, Absolute B Relative I, Relative B Absolute X, Absolute Y 17-19 11-13 FF8000 - 7FFF...
-coordinate origin. When the block is within an overlay that is invoked using an IO command, WIC bytes 11 through 13 and 15 through 17 specify the offset from the X-coordinate and Y-coordinate origin specified in the IO command. Bytes C through D must equal 0 degrees scan line direction and bytes E through F must equal 90 degrees scan line sequence direction.
Note: The Graphics X and Y coordinates are not the same as the media X and Y coordinates. The horizontal axis is Graphics X; the vertical axis is Graphics Y. The intersection of the Graphics X and Y axes is coordinate (0,0). The horizontal axis is positive to the right of center and negative to the left of center.
Figure 17. The Graphic Medium Presentation Space and Its Limits Graphic Window The graphic window is a user-defined, rectangular area within the graphic medium presentation space. This area is the source from where information is selected for printing. Figure 18 illustrates the relationship of the graphic window to the graphic medium presentation space.
Figure 19. The Graphic Block Area on the Physical Medium Positioning the Graphic Window in the Graphic Block Area As mentioned previously, the graphic window can be any size within the graphic presentation space limits. The graphic block area size can be the entire physical Medium or a portion of the physical medium. The Write Graphics Control command, described in detail in “Write Graphics Control (WGC)”...
Write Graphics Control (WGC) Length D684 Flag Correlation ID (Optional) DATA The Write Graphics Control command causes the printer to enter the graphics block state. The parameters of this command define the size, placement, and orientation of the graphic block area and establish the initial conditions for interpreting the graphic data.
Decimal Value Description Reference Coordinate System: Absolute I, Absolute B Absolute I, Relative B Relative I, Absolute B Relative I, Relative B Absolute X, Absolute Y 11-n Reserved Figure 20 shows the Graphic Block Area Position control specifying the top left reference point for the graphic block area.
Page 170
If byte 10A equals X'A0', the current logical page X and Y coordinates determine the origin. When the block is within a page, GAP bytes 4 through 7 specify the offset from the X-coordinate and Y-coordinate origin specified in a previously received LPP command (or from the printer default coordinates if no LPP command was received).
Decimal Value Description 16-17 10-n Reserved Notes: 1. For bytes 5 through 6 (units per base value), 14400/10 in. is supported precisely. Multiples of 14400/10 in. are also supported. If byte 4 specifies units in centimeters and byte B specifies 20 (center-and-trim) or 30 (position-and-trim), then bytes 5 through 6 must be equivalent to a supported value such as X'1626' or X'2C4C'.
Page 172
Decimal Value Description 001C - (n + 1) Length of this Structured Field A6BB Structured Field ID Unit Base (10 in.) Unit Base (10 cm) Reserved 05A0 - 7FFF Units per Unit Base (10 in.) (See Note) 1626 - 7FFF Units per Unit Base (10 cm) (See Note) 05A0 - 7FFF Units per Unit Base (10 in.) (See Note)
Figure 22. Graphic Data Descriptor and the Graphic Medium Presentation Space Area Mapping Control Options Byte B in the GOC data field is the area mapping control option byte. The option values are: v 10 - Scale to fit v 20 - Center and trim v 30 - Position and trim.
Notes: 1. The printer will not rescale graphics image data. If the image data does not fit within the output area, clipping of the image data occurs. 2. Graphics markers are not scaled; they are always 3 mm (0.12 in. [17/144-in.]) square. If markers are drawn close to the boundary of a page and the page is then scaled down, the center points of the markers are scaled closer to the boundary of the page but the marker size is still the same.
Figure 24. Center-and-Trim Mapping Position and Trim Mapping: The upper left-hand corner of the graphic window is mapped to the graphic block area using the specified offset and presented at the specified scale. Any portion of the picture that goes outside the graphic block area is clipped to the area boundary. Figure 25 on page 156 shows the result of position-and-trim mapping.
Figure 25. Position-and-Trim Mapping Self-Describing Instructions This portion of the Graphic Data Descriptor structured field contains zero or more self-describing instructions that set the drawing defaults for the graphics picture. The general format of a self-describing instruction is: Length Mask Default Data The first byte, 21, indicates that the following parameter is a Set Current Defaults instruction.
Page 177
The Data bytes contain immediate data that specifies values for the attributes in this instruction. If the Default byte is 0F, these Data bytes are not present. The Set byte specifies one of the following attributes or parameters: Set Value Description Drawing Attributes Line Attributes...
Page 178
Length Mask Bit Item Name (Bytes) Reserved (Mask Bits = 0) – Reserved (Mask Bits = 0) – Precision Symbol Set Reserved (Mask Bits = 0) – Marker Symbol 8-15 Reserved (Mask Bits = 0) – Pattern Attributes Set (Set = 04): Length Mask Bit Item Name...
Description Value Arc Parameters P = Q = 1, R = S = 0 Foreground Mix Overpaint Background Mix Leave Alone Character Precision Character Precision Marker Precision Character Precision Marker Symbol Set Resident Set in Printer Note: Standard NLQ text character images (18 1/144 in. high by 20 1/200 in. wide) map to the standard size graphics character so that their upper left corners are coincident.
Page 180
Decimal Content Description Length of the Following Parameters in BSI NAME Name of Segment (Printer ignores this field) Reserved Bit 0-2 Reserved (Must be Zeros) Bit 3 Prologue Flag 0 - No Prologue 1 - Prologue Bit 4 Reserved Bit 5-6 Segment Flags 00 - New Segment (Reinitialize Current Drawing Attributes) 11 - Append This Segment to the Previous Segment (Do Not...
Page 181
Code Drawing Code Drawing No Operation Set Character Cell Size Comment Set Character Angle Reserved (Treated as a No-op) Set Character Set Set Pattern Set Set Character Precision Set Color (Graphics) Set Character Direction Set Mix Set Marker Precision Set Background Mix Set Marker Set Set Fractional Line Width End Prologue...
Page 182
Description: This order is for compatibility with existing products and is a No Operation order. Set Pattern Set Description: This order sets the value of the current pattern set attribute. Parameter byte P1 has the following value: Pattern default Set Color Description: This order sets the value of the current graphic color attribute.
Page 183
Set Background Mix Description: This order sets the value of the background mix. The background mix controls the way the printer combines the color of the background with the color of the graphics medium presentation space. Parameter byte P1 contains the value of the current mix attribute. The only valid values for this byte are: Use the default (leave alone) Leave Alone - The color attribute value of the medium presentation space does not change.
Page 184
Set Line Width Description: The Set Line Width order specifies the line width for subsequent graphics. This order changes the fractional line width attribute only. The printer uses the last line width received, no matter which order, Set Fractional Line Width Order or Set Line Width, sets the line width. Parameter P1 specifies the width of the line for the graphic output.
Page 185
Set Extended Color Description: This order functions the same as the Set Color order except that it specifies a length field and the color parameter contains two bytes. The color for non-graphics (for example, text) does not change with this order.This order does not change any other graphic drawing attributes. This order aids graphics interchange compatibility.
Page 186
Line Type No Shading Solid Shading Blank Set Marker Symbol Description: This order sets the value of the current marker symbol attribute for subsequent markers. See “Marker” on page 174 and “Marker at Current Position” on page 170 orders. Parameter P1 specifies the marker symbol attribute value. This value determines which marker from the marker symbol set the printer uses for subsequent orders.
Page 187
For the second format, the width and height of the character cell contain both integer and fractional values. Parameters P5P6 form a two byte value that specifies the fractional portion of the width of the character in drawing units. Parameters P7P8 form a two byte value that specifies the fractional portion of the height of the character in drawing units.
Page 188
Description: This order sets the value of the current character precision attribute. Parameter P1 specifies the type of precision. Precision 2 (character precision) is the only valid type of precision for this printer. P1 must equal 01 or 02. P1 set to X'00' is the current default. Set Character Direction Description: This order sets the value of the character direction attribute.
Page 189
Description: This order indicates the end of the boundary of an area specified with a Begin Area order. This order does not change any other graphic drawing attributes. However, orders between a Begin Area/End Area pair can update the current position. L1 is the length of the data, P1 to Pn.
Page 190
Bit 1 0 = Do Not Draw Boundary Lines 1 = Draw Boundary Lines Bits 2-7 Reserved The printer uses the current values of color, mix, background mix, pattern, and pattern set when shading the area. If boundary lines are drawn, the printer uses the current values of graphics color, line type, and line width.
Page 191
and P2 form a two byte value that specifies the second X coordinate. P3 and P4 form a two byte value that specifies the second Y coordinate. Any remaining parameters specify additional coordinate values for additional markers, using the same format. The printer uses the current values of color, mix, background mix, marker, precision marker set, and marker symbol for drawing the marker.
Page 192
This order updates the current graphics position to the coordinates of the last point. Full Arc at Current Position Description: This order specifies a full arc (circle or ellipse) with the center at the current graphics position. A previous Set Arc Parameters order determines the shape and orientation of the arc. If no Set Arc Parameters order has been received, then the printer draws an arc using the default values of the arc parameters.
Page 193
Parameters P1 to Pn are values that specify the image dot data, a zero indicating the absence of a dot, a one indicating the presence of a dot. The dots are 0.18 mm (0.007 in. [1/144 in.]) apart horizontally and vertically.
Page 194
Line P1-Pn Description: This order specifies one or more connected lines. L1 is a one-byte value that specifies the length of the parameter field that follows. The value of L1 must be a multiple of four and cannot be zero. If L1 equals four, no line is drawn, but the printer updates the graphics current position to the points specified by parameters P1 to P4.
Page 195
The printer places the character cell of the first character in the string at the specified graphics position. The Set Character Cell, Set Character Angle, and Set Character Direction orders determine the character size, character angle, and character direction, respectively. The printer uses the current values of color, mix, background mix, and character precision when drawing the string.
Page 196
The scale value acts as a multiplier for the arc parameters, as follows: For a circle: The radius is P5P6 x r. A previous Set Arc Parameters order specifies the value of r. For an ellipse: The major axis is P5P6 x a and the minor axis is P5P6 x b. A previous Set Arc Parameters order specifies the values for a and b.
one-byte value that specifies the Y coordinate of the second end point as an offset from the first end point. The remaining parameters, if present, specify additional X and Y coordinate values as offsets from the previous point, following the same format. The printer draws the line in the current values of color, mix, line type, and line width.
Page 198
Table 6. Related Drawing Order (continued) Set Current Position Line at Current Position Fillet at Current Position Full Arc at Current Position Begin Image at Current Position Marker at Current Position Character String at Current Position Relative Line at Current Position Set Arc Parameters Full Arc, Full Arc at Current Position Set Extended Color...
Page 199
Table 6. Related Drawing Order (continued) Line at Current Position Line, Relative Line Relative Line at Current Position Set Line Type Set Line Width Set Fractional Line Width Set Color Set Extended Color Set Current Position Marker at Current Position Marker Set Marker Symbol Set Color, Set Extended Color...
Table 6. Related Drawing Order (continued) Line Line at Current Position Relative Line Relative Line at Current Position Set Line Type Set Line Width Set Fractional Line Width Set Color Set Extended Color Marker Marker at Current Position Set Marker Symbol Set Color, Set Extended Color Character String Character String at Current Position...
Write Bar Code Control (WBCC) Length D680 Flag Correlation ID (Optional) DATA BCAP BCOC BCDD The Write Bar Code Control command causes the printer to enter the bar code block state in the current page, overlay, or page segment state. The parameters of this command define the size, placement, and orientation of the bar code block.
Decimal Content Description 8000 - 7FFF X Coordinate of Origin of Bar Code Block 8000 - 7FFF Y Coordinate of Origin of Bar Code Block 0000 When you use the X,Y coordinate system or the I,B coordinate system with the inline orientation equal to 0 degrees, you must 2D00 use the 0 or 90 degree orientation for bar codes.
Page 203
If byte A equals X'20', the absolute I and relative B coordinates determine the top left corner. BCAP bytes 4 and 5 specify the text inline coordinate. BCAP bytes 6 and 7 add to the last text baseline coordinate position prior to bar codes. If byte A equals X'40', the relative I and absolute B coordinates determine the top left corner.
Decimal Content Description 12-13 8000 - 7FFF X Offset of Medium Presentation Space Origin in Units 14-15 8000 - 7FFF Y Offset of Medium Presentation Space Origin in Units 16-x 10-x Reserved Figure 27 shows the BCOC field specifying the size of the bar code block on the logical page. Figure 27.
Page 205
Decimal Content Description 10-11 1 - 7FFF X-Extent of Medium Presentation Space (Width) FFFF Use BCOC bytes 7-8 if BCOC is present. Otherwise, use LPD value. 12-13 1 - 7FFF Y-Extent of Medium Presentation Space (Height) FFFF Use BCOC bytes 9-A if BCOC is present. Otherwise, use LPD value.
Page 206
Decimal Content Description Unit/Module Width (See Note 2) 0.36 mm (0.014 in.) Width 0.43 mm (0.017 in.) Width (Must have 0 in bytes 8-9 of BCAP) 0.53 mm (0.021 in.) Width 0.71 mm (0.028 in.) Width Printer Default 22-23 16-17 1 - 7FFF Element Height (See Note 3) FFFF...
Page 207
OCR-A OCR-B UPC - Two Digit Add-On (Magazine) 2 of 5 Industrial UPC - Five Digit Add-On (Paperback) 2 of 5 Matrix EAN-8 2 of 5 Interleaved EAN-13 Codabar EAN Two Digit Add-On EAN Five Digit Add-On 5. Wide-to-Narrow ratio is only valid for the following bar code types: v Code 3 of 9 (X'01') v MSI (X'02') v 2 of 5 Industrial (X'0A')
Figure 28. Specifying the Bar Code Medium Presentation Space Size. Using the Bar Code Data Descriptor Modifier Byte: 3 of 9 Code: Print bar code with no printer generated check character. Generate check character and print with bar code. MSI Code: Print bar code with no printer generated check character.
Page 209
Print bar code with both check digits generated by the printer and put at the end of the data. The second check digit will be IBM Modulus 10. The first check digit will be IBM Modulus 11. Check digit equals 11 minus remainder; check digit of 10 equals zero. Print bar code with both check digits generated by the printer and put at the end of the data.
data consists of only the add-on digits. The preceding EAN-13 symbol prints under control of separate Write Bar Code Control and Write Bar Code commands. EAN Five Digit Add-On: Print the five add-on digits (bar/space pattern and HRI). The Write Bar Code command variable data consists of only the add-on digits.
Page 211
The HRI code prints in the OCR-A or the OCR-B font, depending on the bar code type. The following bar codes print the HRI in OCR-A: v Code 128 v Code 3 of 9 v MSI v 2 of 5 Industrial v 2 of 5 Matrix v 2 of 5 Interleaved v Codabar.
Decimal Content Description Notes: If bar codes with human readable interpretation (HRI) are placed too close to the page edges, the human readable characters may fall outside the physical medium boundaries. If the HRI falls outside the physical medium boundaries, the characters may not print and a Position Check error, X'041100', may occur. To ensure that the human-readable characters print, choose X and Y parameter values that allow sufficient space for the characters to print.
Table 7. Code 128 Character Set (EBCDIC) (continued) Character Character Character Character " FNC3 Note: All START, STOP, SHIFT, and CODE characters are generated by the printer in order to produce the shortest bar code possible from the given data. Overlay Function Set Commands The overlay function set contains the commands the printer uses to store, delete, and present information in the overlay memory of the printer.
Begin Overlay (BO) Length D6DF Flag Correlation ID (Optional) DATA The Begin Overlay command causes the printer to leave the home state and enter the overlay state. This command defines data that the printer saves for later use within an overlay. The printer later merges the stored overlay with ordinary printed pages by using the Include Overlay command or the Load Copy Control command.
Decimal Content Description Y Coordinate 000000 - Positive Offset Value Relative to the Logical Page 007FFF FF8000 - Negative Offset Value Relative to the Logical Page FFFFFE FFFFFF Use the Current Baseline Text Position Note: Negative values must be specified in twos-complement form. Page Segment Function Set Commands The page segment function set contains the commands the printer uses to store, delete, and present information in the page segment memory of the printer.
The DATA field is two bytes in length and can be any value between X'01' and X'7F'. This value is the page segment identifier, and it specifies the page segment to include. A value specifying a page segment identifier that is not defined in the printer causes an exception to occur. Deactivate Page Segment (DPS) Length D66F...
Page 217
Decimal Content Description Reserved 01-FF Ending Code Point Reserved Reserved Reserved 15-16 F-10 0001 - 7EFF Loaded Font Identifier (See Note 3) 17-x 11-x 00...00 Reserved (See Note 4) (x+1) - xx (x+1) - xx 02FF...XX Self-Defining Fields XX...XX Character Raster Data Notes: 1.
Page 218
Character Raster Patterns: Data in this field contains the actual code points (bit patterns) for the font specified in bytes 0F and 10. If the font identifier matches an existing font ID, and one or more of the code points specified in bytes 2 and 0B overlap previously specified code points, then the printer replaces the character patterns of the previously specified code points, regardless of how they were originally loaded.
Chapter 5. IPDS Exception Reporting Codes The following tables contain the exception reporting codes, which the printer sends to the host in the NACK reply. These codes are in a three-byte format. The first byte, byte 0, is the error group. The remaining two bytes, bytes 1 and 2, are the individual error identifiers.
Alternate Exception Action: None. X'400100' Printer Out of Forms Alternate Exception Action: None. X'40E000' Forms Jam Alternate Exception Action: None. X'401300' Tear-Off Required Explanation: The printer needs operator intervention X'40E400' Cancel Print Key Pressed to tear off a continuous forms paper source so paper source switching can be done.
Page 221
Explanation: The unit/module width specified in the X'040E00' Check Digit Calculation Error Write Bar Code Data Descriptor field is not supported. Explanation: A first check digit calculation resulting in Alternate Exception Action: Use closest smaller a value of 10 is defined as an error in various of the width supported or the device default for those devices modifier options (byte 17 of the Bar Code Data with only one fixed default value.
Specification Check-Graphics - X'03' The following exception codes are the valid codes for a graphics specification check condition: The end of a segment was reached without an End X'030001' Unallocated Graphic Order or Prologue order. Command Code Alternate Exception Action: None. Explanation: 1.
Page 223
X'036802' Supported Order Invalid in Area X'039301' Incorrect Number of Image Data Orders Explanation: A supported order is detected that is not Explanation: The number of Image Data orders valid within an area. between the Begin Image and End Image orders is not equal to the number of rows in the image (as given by Alternate Exception Action: None.
Explanation: The Height value specified in the Begin X'03D102' Graphic Image Format Not Supported Image order exceeds the maximum image height Explanation: The value specified for the graphic supported by the product. image format parameter is not supported. Alternate Exception Action: The image height is Alternate Exception Action: None.
Page 225
command is not a valid or supported value. Alternate Exception Action: None. Alternate Exception Action: None. X'020805' Invalid Mapping Option X'020501' Invalid Spanning Sequence Explanation: A mapping option specified in the Output Control structured field of the WGC or WBCC command Explanation: A Write Text or Write Graphics command is not a valid or supported value.
Page 226
Note: In an LPD command, no Alternate Exception X'021802' Invalid Font ID Action occurs. Explanation: 1. The two-byte Font Identifier on a Load Symbol Set X'021202' Font Storage is Full or Load Font Equivalence command is not a valid or Explanation: There is insufficient pattern storage to supported value.
Page 227
X'021E01' Invalid Text Control Length X'022802' LSS Pattern Download Format Reserved or Not Supported Explanation: The length of a text control is not valid. Explanation: The specified pattern download format in Alternate Exception Action: None. LSS is either a reserved value or not supported. Alternate Exception Action: None.
Page 228
Alternate Exception Action: None. X'023F02' Font Index Not Loaded Explanation: X'024702' Invalid LFE Font Inline Sequence 1. The font inline sequence in Load Font Equivalence Explanation: The Font Inline Sequence parameter in command is not supported or not supported with the a Load Font Equivalence command is not a valid or current Text Orientation.
Page 229
X'024A02' Invalid WIC Coordinate Specification X'026102' Invalid LPD Y Units/Unit-Base Explanation: The Ending Code Point specified in the Explanation: LSS command is not a valid or supported value. 1. On the Logical Page Description command, the Y units per unit-base value is not a valid or supported Alternate Exception Action: None.
Page 230
X'026A01' Insufficient Source Image Data X'028101' Insufficient Storage for Overlay or Page Segment Explanation: The number of source image bytes received < the number implied in the Write Image Explanation: There is insufficient storage to process Control command. an overlay or page segment. Alternate Exception Action: None.
Page 231
X'029201' Overlay Number Not Loaded X'029801' Suppression Number Outside Valid Range Explanation: The overlay identified by the Overlay Identifier on the Include Overlay, Deactivate Overlay or Explanation: LCC command was not loaded or was already deleted 1. On a Write Text command, the Begin Suppression prior to its attempted use.
Page 232
X'02AD01' Invalid Logical Page Position X'02C802' Invalid Internal/External Value on LE Parameter Explanation: The Internal or External value on a Load Explanation: The X Coordinate value on the Logical Equivalence command is not a valid or supported value. Page Position command is not a valid or supported Alternate Exception Action: None.
Conditions Requiring Host Notification - X'01' X'010100' Media Size or Input Media Source ID Changed Explanation: 1. The size of the media in one or more of the installed input media sources was changed. 2. The input media source ID of one or more of the installed input media sources was changed.
Chapter 6. Print Samples and IPDS Coding Example The following pages contain examples of the printing capabilities of the 4247 Printer and one IPDS coding example. Text Print Samples Various print styles are available with this printer. The data stream sent by the host computer determines the print style, characters per inch, and character set.
Graphics Patterns The following example shows the area fill patterns, line widths, line types, and marker symbols available with this printer. Chapter 6. Print Samples and IPDS Coding Example...
Graphics Example The following drawing is an example of the graphics capabilities of the 4247 Printer. The actual IPDS graphics data stream commands necessary to draw this graphic follow the example. Data Stream for Graphics Example ********* BEGIN PAGE 0009D6AF0000000000 ********* Write Graphics Control 003CD68400000BAC6B000000000000A0 0010A66B0038403DE030001000000000...
Page 239
********* Begin Area 6840 ********* Full Arc C706ED680A8CF000 ********* End Area 6000 ********* Color 0A00 ********* Set Pattern Symbol 2803 ********* Begin Area 6840 ********* Full Arc C706F6DC0A8CF000 ********* End Area 6000 ********* Color 0A00 ********* Set Pattern Symbol 280D ********* Begin Area 6840 ********* Full Arc...
Page 240
Set Line Type 1800 ********* Begin Area 6840 ********* Fillet C528EDB8021CF1F00087F628 0384FA6001C2FE98FE3E02D0 00B40708FE110B40FFA60CA8FD8A0F78FCD6 ********* Set Line Type 1808 ********* Line 810C0F78FB14EDB8FB14EDB8021C ********* End Area 6000 ********* Color 0A08 ********* Set Pattern Symbol 2800 ********* Set Line Type 1800 ********* Begin Area 6840 ********* Fillet C528EDB8FE3EF1F0FD8AF628...
Page 241
********* Line C108EDB8005AED04005A ********* Line C108EDB8021CED04021C ********* Line C108EDB803DEED0403DE ********* Line C108EDB805A0ED0405A0 ********* Line C108EDB80762ED040762 ********* Line C108EDB80924ED040924 ********* Line C108EDB8FBF5ED5EFBF5 ********* Line C108EDB8FDB7ED5EFDB7 ********* Line C108EDB8FF79ED5EFF79 ********* Line C108EDB8013BED5E013B ********* Line C108EDB802FDED5E02FD ********* Line C108EDB804BFED5E04BF ********* Line C108EDB80681ED5E0681 ********* Line C108EDB80843ED5E0843 ********* Line C108F358FB14F358FA8D...
Page 242
********* Character String, 80 C306EB4208ca F8F0 ********* Character String, 70 C306EB420708 F7F0 ********* Character String, 60 C306EB420546 F6F0 ********* Character String, 50 C306EB420384 F5F0 ********* Character String, 40 C306EB4201C2 F4F0 ********* Character String, 30 C306EB420000 ********* Character String, 20 C306EB42FE3E F2F0 ********* Character String, 10 C306EB42FC7C...
IPDS Coding Example The 4247 Printer produced this example of text, bar codes, and block graphic characters printing on the front continuous forms paper source. The code used to print the example appears in Figure 30. Figure 30. Print Sample from an IPDS Application Program The following chart is an example of an IPDS application program that prints the block graphic characters, two bar codes, and text information shown in Table 9, printing on the front continuous forms paper source.
Page 244
Table 9. IPDS Coding Example (continued) IPDS Command Hexadecimal Code Code Explanation — Print All Data and Exit XOA(DBD) 0007 Control Length — D633 Execute Order Any Style — Flag Byte — F200 Discard Buffer Data 0030 Control Length — D6CF Load Page Descriptor —...
Page 245
Table 9. IPDS Coding Example (continued) IPDS Command Hexadecimal Code Code Explanation — D68F Execute Order Home State — Flag Byte — 1700 Set Media Size (SMS) — Units Base Value equals (10 in.) — 3840 Units per Base Value —...
Page 246
Table 9. IPDS Coding Example (continued) IPDS Command Hexadecimal Code Code Explanation 0014 Control Length — 262D Write Text — Flag Byte — 2BD3 Escape Sequence — 03F107 Set Coded Font Local — 04C709D8 Absolute Move Inline — 04D20F78 Absolute Move Baseline —...
Page 247
Table 9. IPDS Coding Example (continued) IPDS Command Hexadecimal Code Code Explanation — D62D Write Text — Flag Byte — 2BD3 Escape Sequence — 04C70E10 Absolute Move Inline — 04D21518 Absolute Move Baseline — F7F3F2F4F5 Data '73245' 000E Control Length —...
Page 248
Table 9. IPDS Coding Example (continued) IPDS Command Hexadecimal Code Code Explanation — 0000 Y Bottom Limit of Window — 00000000 Reserved — 0000 Graphics Flags ** Ignored ******** Write Graphics 003D Control Length — D685 Write Graphics — Flag Byte (BSI) Begin Segment Introducer —...
Page 249
Table 9. IPDS Coding Example (continued) IPDS Command Hexadecimal Code Code Explanation — Flag Byte ******** Write Bar Code Control WBCC 002B Control Length — D680 Write Bar Code Control (BC) — Flag Byte (BCAP) 000B Field Length — AC6B BC Area Position Control —...
Page 250
Table 9. IPDS Coding Example (continued) IPDS Command Hexadecimal Code Code Explanation Control Length — D681 Write Bar Code — Flag Byte — Bar Code Flag — 28C8 X Coordinate — 0D5C Y Coordinate — F7F3F2F4 Data '7324' 0005 Control Length —...
Appendix A. Code Pages The EBCDIC code charts page 231 contains information about the code pages that the 4247 Model X03/Z03 Printers use on the Ethernet IPDS attachments. See the “ASCII Code Pages” on page 277 for information about the code pages for Ethernet ASCII attachments. You can use the following charts to determine the actual character printed for any code page and font combination.
Page 252
Code Page Character Set Name Page 1026 Latin-5 Turkey 1097 Farsi 1112 Baltic Multilingual 1122 Estonian 1140 USA/Canada + euro 1141 Austrian/German + euro 1142 Danish/Norwegian + euro 1143 Finnish/Swedish + euro 1144 Italian + euro 1145 Spanish/Spanish Speaking + euro 1146 English/UK + euro 1147...
ASCII Code Pages The table below lists the ASCII code pages used by the 4247 Printer, and also provides page references so you can determine what code page contains the characters you want to use. Code Page Character Set Name Page USA (Personal Computer) A-54 Greek (MS DOS)
Code Page Character Set Name Page 1117 Latvian (Personal Computer) 1118 Lithuanian (Personal Computer) 1250 Central Europe Latin 2 1251 Cyrillic Windows + euro Extended Graphics Character Table Italic Character Table Epson Extended Character Variables USA (Personal Computer) A-54 Programmer Manual...
Epson FX-series Code Pages The following Epson code charts provide information on the character tables available for Epson FX-series emulation mode. Extended Graphics Character Table Table 10. ‘ Ç É á └ ╨ α ≡ β ü æ í ± ┴...
Epson Extended Character Variables The following table shows characters that vary, by language, from the Epson Extended Character Graphics set. The code points shown are the only ones that vary. For example, in the United Kingdom, only code point X'23' is different from the basic Epson table, shown on page 304. Code Point (in hexadecimal) Country U S A...
Appendix B. Application Paper Source Selection Application-controlled paper-source selection This section describes the identifiers to use in selecting the various available paper sources on the 4247 printer for key IPDS applications. These selections will cause the appropriate forms path selection commands to be sent to the printer from the host applications.
Rear CF: FORMFEED (*CONT2) ® In this case, the AS/400 is aware that the Rear Continuous Forms is in fact a continuous form feed. Therefore a drawer parameter is not required and the Forms Alignment message can be issued. 2. When you are switching from one continuous forms path to the other, printed output must be manually torn off and removed from the printer before the first forms path can be parked.
Appendix C. 4247 Bar Code and OCR Printing Options This appendix contains information about the options that are available for printing bar codes and Optical Character Recognition (OCR) characters. The bar code charts detail the element (bar/space) width options, the wide-to-narrow element ratios, the magnification percentages, and the characters printed per inch plus whether the bar codes can be printed in low-contrast or high-contrast modes.
Page 344
Table 11. Bar Code Printing Options for Non-UPC Family Bar Codes (continued) Narrow Low-Contrast Element Width Wide-to-Narrow Mode - Low-Contrast Bar Code Char. Bar Code Type Options (mils) Element Ratio Horzontal Mode - Vertical Per Inch (CPI) Industrial 2 of 5 13.9 13.9 2.5:1...
Table 11. Bar Code Printing Options for Non-UPC Family Bar Codes (continued) Narrow Low-Contrast Element Width Wide-to-Narrow Mode - Low-Contrast Bar Code Char. Bar Code Type Options (mils) Element Ratio Horzontal Mode - Vertical Per Inch (CPI) POSTNET 21.2 Note: The CPI shown for Code 128 is for code sets A or B. The CPI for code set C is approximately double the values shown.
OCR Scanning We have tested the following OCR symbol subsets for readability: Table 13. OCR Symbol Subsets OCR-A OCR-A OCR-A OCR-A OCR-B OCR-B NRMA Data Entry Eurobanking Money Transfer ECMA Money Transfer hook > fork chair < > hook < fork >...
Appendix D. Configuration Menu Lockout Configuration Menu Lockout should be used by the application programmer or printer operator to lock the Configuration Menu when you want to prevent a casual operator from changing parameter values that have been set for print jobs. To set Configuration Menu Lockout: 1.
Appendix E. Interfaces This section provides technical information for the parallel and serial interfaces. The Parallel Interface The parallel interface of this printer fully supports the Centronics protocol plus the specific features requested by the EPSON and IBM printer connection in monodirectional mode and the Compatibility and Nibbles modes in bidirectional mode, plus the negotiation phases and the device identifier (as IEEE P1284).
This phase is initiated by the host and returns the interface to the compatibility mode. Parallel Interface Signals Description of the signals in monodirectional link: Signal Name Pin N° Source Description STROBE HOST Clock signal which controls data transmission with its falling edge. PRINTER Negative pulsed signal indicating that the printer has received data and is ready to accept the next set of data.
The pins 1 to 14 of the printer are connected to the pins with the same number of the parallel port of the host. The pins 19 to 30 of the printer are connected to the pins 18 to 25 of the parallel port of the host. The pins 31, 32 and 36 of the printer are connected respectively to the pins 16, 15 and 17 of the parallel port of the host.
Page 352
AD1 ... AD8 (Data 1 ... Data 8) Negotiation Phase: Extendibility request value. Reverse Data Transfer Nibble Mode: NOT USED. Phase: Byte Mode: Reverse channel data. PrtClk (nAck) Compatibility Mode: Pulsed low by the printer to acknowledge the transfer of a data from the host. Negotiation Phase: Set low to acknowledge 1284 support, then set high to indicate that the Xflag (Select) and data available flags may be read.
Page 353
Xflag (Select) Reverse Data Transfer Nibble Mode: Set low to indicate that host can receive printer-to-host data then set Phase: high to acknowledge receipts of that nibble. Byte Mode: Same as Nibble Mode to request and acknowledge bytes. Following a reverse channel transfer the interface transitions to idle phase when HostBusy (nAutoFd) is set low and printer‘s no data available.
Page 354
Interface Timing Timing and Handshaking depend upon the connection mode. DATA /STROBE /ACK BUSY Figure 31. Mode Centronics Our Centronics mode supports the BUSY-WHILE-STROBE busy signal timing and ACK-INBUSY as BUSY-ACK relationship. Legend Time interval Min. Max. Data Setup Time Strobe pulse width all times in µs Data hold time...
Mode IEEE 1284 Figure 32. Mode IEEE 1284 The Serial Interface This printer provides the RS-232/C serial interfaces. The interface mode is selected via menu. v Transmission Type Data is sent and received in start/stop (asynchronous) transmission. v Character Format Each character is transmitted in the following format: 1 START BIT + 8 DATA BITS + 1 PARITY BIT + 1 STOP BIT The least significant bit of the data bits is sent first after the start bit.
Serial Interface Signals The following table lists the RS-232/C serial interface signals: Local Remote Connect. Connect. Signal Name Pin Number Source Source Description SIGNAL – – Always connected to the 0 Volts of the Power Supply GROUND Printer Printer Transmitted Data Signal (an output from printer). A MARK condition is held during IDLE communication state.
Appendix F. Network Interface Technical Reference 4247 Network Configuration Parameters IP Address Assignment Fixed: Assigns the static or fixed IP address. DHCP: Assigns the dynamic IP address (DHCP protocol). Default value is Fixed. Fixed and DHCP assignments of IP addresses are supported. On most networks, you will want to assign a permanent IP address and disable DHCP.
Page 358
SMTP Service SMTP (Simple Mail Transfer Protocol) allows a mail server address to be entered into the printer configuration to send automated e-mail notifications with printer alert conditions. Disabled: Disables the SMTP (Simple Mail Transfer Protocol) service, that is disables the reception/transfer/error service of the e-mail.
Managing a Single Printer Configuration Using the 4247 Internal Webpage Configuration Password The 4247's configuration settings can be protected by a password to keep unauthorized users from making changes. When you try to submit any 4247 configuration change, you will be asked for your user name and password.
Page 360
WINS DDNS SYSTEM / OS IBM System i OS 400 ® IBM pSeries Sun Solaris Unix ® Linux Windows 95,98,2000,NT,XP, 2003 Server NETBIOS over TCP NETBEUI Novell Netware MacIntosh / Apple EtherTalk PRINTING METHODS Raw Port 9100 LPD/LPR Port 515 LPR print queue name Any name (PR1, d1PRN, etc.) can be used.
Page 361
PSF VSE PSF VM NETWORK MANAGEMENT 4247 Remote Printer Management Utility IBM NPM Yes (generic printer) HP JetAdmin Yes (generic printer) E-mail SMTP Internal Web page PRINTER STATUS AND ERROR REPORTING Ready Not ready Paper out Paper jam Cover open Machine check (carriage fault, ribbon blocked...) NETWORK CONFIGURATION PARAMETERS (see above) LINK LAYER...
19934440, Recommended SNMP Port Number Values for *LAN 3812 SNMP Device Descriptions This document contains a list of recommended SNMP Port Number Values for *LAN 3812 SNMP printer device descriptions, depending on the type of network interface or print server being used with your printer.
Page 364
The following documents and many others can be found by selecting the “Technical databases” link at the System i Technical Support area of the IBM website. Configuring a *LAN IPDS Device Description This document contains information on configuring *LAN IPDS device descriptions for LAN attached IPDS printers.
Page 373
prtAlertTable This MIB can assume the following values: 3 (untrained) in paper jam or cover open condition. 1 (other) in all other conditions prtAlertGroup.1.1 read only INTEGER 1.3.6.1.2.1.43.18.1.1.4.1.1 This MIB can assume the following values: 6 (cover) in cover open condition. 9 (output) in ribbon jam condition.
Appendix H. The Remote Printer Management Utility The Remote Printer Management Utility is a software tool for network administrators that allows the configuration and control of printers remotely connected to the Ethernet LAN. With this tool the installed printers may be controlled, configured and organized easily. The main features are: Device Discovery Searches for the devices within a range of IP addresses.
Notices Thanks for choosing the 4247 printer. Your printer is a reliable working equipment that will be very useful in your daily job. Our printers have been designed to be compact and respectful of the work environment. They offer a wide range of features and multiple functions that confirm the high technological level reached by the printers with Compuprint brand.
Page 378
European Union (EU) Conformity Statement Compuprint srl declares that this product is in compliance with the essential requirements and other relevant provisions of Directive 2006/95/EC, 2004/108/EC. Per the applicable requirements of EU directive 98/37/EC (“machines”) sound pressure of the above product (measured according to EN27779) does not exceed 70dBA.
Page 380
MAN10299.00.00 Printed in Italy MAN10299.00.00...
Need help?
Do you have a question about the Compuprint 4247 X03 and is the answer not in the manual?
Questions and answers