Compuprint 4247 Serial Matrix PrintersCompuprint 4247 Model X03/Z03 Printers: Programmer ManualMAN10299.00.00
Arabic ...247Greek (Old) ...248Hebrew Bulletin...249Interna
IPDS Command FormatAll of the printer commands use the following format:Length Command Flag Correlation ID DataNote: Bit numbering follows the EBCDIC
Data is an optional field and is not present for all commands. This field contains specific subcommands,parameters, and data appropriate for the given
Acknowledge Reply (ACK)The printer uses the Acknowledge Reply to return device status, sense information, and any additionallyrequested information to
DATA is the field that follows the correlation ID field or the flag byte if no correlation ID is present. Thelength of this field can be 0-250 (X&apos
The printer sends a Negative Acknowledge Reply (NACK) to the host to indicate that an error hasoccurred.The printer can send an ACK or a NACK in respo
Overlay (BO)” on page 194. Figure 7 shows various data types on a page.Notes:1. Overlays and page segments can be merged on this page.2. Text and data
v The pels of a rulev The one pels of an imagev The pels of a graphic line or arcv The one pels of a filled areav The one pels of a bar code.Backgroun
Control, or Write Bar Code (block) Control commands in the data stream indicates that the printed pagecontains individual blocks of image, graphics, o
Page Segment StateThe printer enters the page segment state from the home state as a result of receiving a Begin PageSegment command. A parameter in t
A Summary of the IPDS States and CommandsTable 2 shows all the valid IPDS commands for the 4247 Printer and the initial and ending states for eachcomm
Cyrillic (ISO 8859-5) ...303Latin 8 (ISO 8859-8) ...304Latin 5 (ISO 8859-9) ...
Table 2. IPDS Command Code Summary for the 4247 Printer (continued)CmdHexCode Description Initial State Ending StateWBCC D680 Write Bar Code Control P
A Typical IPDS Command SequenceThe following chart shows an example of a typical IPDS command sequence. This sequence contains fivebasic categories:1.
Each category starts with a command from the host to the printer and ends with an acknowledgment fromthe printer to the host. An analysis of each cate
Table 3. An Example of an IPDS Command Sequence (continued)Printer StateCommandDirection CMD Command Name DescriptionEnd BlockStateEND End End Overlay
ACK (Acknowledgment Reply): If the previous command had the ARQ bit on, the printer responds withtype and model information to the host. This informat
WT (Write Text): The WT command sends text data to the printer. Because the printer is currently in apage segment state, this text information does no
WGC (Write Graphics Control): The WGC command causes the printer to enter the graphics block state.Parameters in this command specify the placement, s
IO (Include Overlay): The IO command causes a previously stored overlay to merge onto the currentpage. This command contains an ID field, which select
The host application program can use the Exception Handling Control order to accomplish many specificcontrol capabilities necessary in data printing e
Chapter 4. IPDS Programming InformationThis chapter contains programming information for the Intelligent Printer Data Stream (IPDS) commands.The infor
8983237, Configuring a Remote Output Queue (RMTOUTQ) ...34318762910, Configuring a *LAN 3812 Device Description that Uses the LPR Print Dr
2. The printer default font is Gothic for DP and fast draft print quality and Courier for DP Text and NLQprint quality. To determine the current value
Byte Field Description4 Flag Bit 00 = Acknowledge Response Not Required1 = Acknowledge Response RequiredBit 10 = Correlation ID Not Included1 = Correl
Command Hex Code DescriptionLPP D66D Logical Page PositionWBCC D680 Write Bar Code ControlWBC D681 Write Bar CodeWGC D684 Write Graphics ControlWG D68
Command Hex Code DescriptionLPP D66D Logical Page PositionLPD D6CF Logical Page DescriptorBP D6AF Begin PageDF D64F Deactivate FontEP D6BF End PageEND
Decimal Hex Description67-78 43-4E Graphics Function Set Vector79-84 4F-54 Page Segment Function Set Vector85-92 55-5C Overlay Function Set Vector93-9
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
Decimal Hex Value Description93-94 5D-5E 0006 Vector Length95-96 5F-60 C3C6 Loaded Font Function Set Identifier97-98 61-62 FF20 Symbol SetsBar Code Fu
v Whenever the printer detects a command stream error or device error and a negative response must besent.A negative response has priority over a posi
of the page segment add to the font equivalence tables during the include page segment process up to amaximum of 20 loaded font ID/print quality combi
6. A font cannot be both double high and italicized.Code Page ID ValuesHex Value Code Page Hex Value Code Page0025 USA/Canada 01A4 Arabic0100 Internat
Figures1. The Physical Medium ...762. The Xm,YmMedium Coordinate System ...773. The Physical-Logical Page
– Code Page 290 Katakana– Code Page 293 APL (4224)– Code Page 310 APL– Code Page 420 Arabic– Code Page 833 Korean– Code Page 838 Thai– Code Page 880 C
2. The printer receives a Begin Suppression control (inside a Write Text command) with a suppression IDthat matches a value in the LCC command.3. All
Decimal Hex Value Description24-25 18-19 0000 I-Axis Orientation of 0 Degrees5A00 I-Axis Orientation of 180 Degrees (See Note 5)FFFF Printer Default (
Logical Page Position (LPP)Length D66D Flag Correlation ID (Optional) DATAThis command positions the upper left corner of the logical page (defined by
Only positive values are valid for the data field. The format of the data field (DATA) for this command is:Decimal Hex Value Description0 0 00 Reserve
Order Description0100 Print Buffered Data (PBD)0500 Erase Residual Print Data (ERPD)0700 Erase Residual Font Data (ERFD)0D00 Stack Received Pages (SRP
The data field for the Set Media Size subcommand has the following format:Decimal Hex Value Description0 0 00 Unit Base (10 in.)01 Unit Base (10 cm.)1
Acknowledge Type and Counters:Decimal Hex Value Description0 0 06 Acknowledgement Type (4 byte)1-4 1-4 XXXXXXXX Page/Copy CountersPrintable Area Self-
Decimal Hex Value Description6 6 14 X-Box Size in Pels (20)7 7 12 Y-Box Size in Pels (18)8 8 00 Reserved9 9 02 Repeating Group Length10-11 A-B 000B 10
Decimal Hex Value Description61 3D 00 Reserved62-63 3E-3F 0960 Units per Unit Base (2400)64 40 FF Maximum X-Box Size in Pels (255)65 41 09 Y-Box Size
xiv Programmer Manual
Available Features Self-Defining Field:Decimal Hex Value Description0-1 0-1 0006 Length of this field2-3 2-3 0007 Available Features4-5 4-5 0B00 Conti
Decimal Hex Value Description62-63 3E-3F 033F CP831 Portuguese (Alternate)64-65 40-41 037A CP890 Yugoslav66-67 42-43 0458 CP1112 Baltic Multilingual68
Decimal Hex Value Description136-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
Decimal Hex Value Description5 5 56 DP Text Quality66ABNLQThese values apply if Host Fast Draft is enabled in the printer configuration menu:Decimal H
Decimal Hex Value Description44-59 2C-3B XX...XX Device SpecificIf the printer is in 4224 emulation mode:Decimal Hex Value Description0-1 0-1 003F Len
Activate Printer Alarm (APA)The XOA Activate Printer Alarm (APA) subcommand signals the printer to activate the alarm mechanism.As long as the printer
Acknowledge Reply for Request Resource List:Length D6FF Flag Correlation ID (Optional) DATAThe format of the resource list returned with the Acknowled
Decimal Hex Value DescriptionBit 1 Bit 1 Page Position Check0 Do Not Report Exceptions1 Report ExceptionsBit 2-6 Bit 2-6 ReservedBit 7 Bit 7 All other
The first asynchronous NACK is the only one reported, even though other synchronous NACKs may bedetected before the first NACK is reported. If the pri
- Write Graphics Control- End Page- Set Home State- XOA Discard Buffered Data- Load Font Equivalence.If the following terminating conditions occur, th
Tables1. Valid IPDS Command Codes for the 4247 Printer ...812. IPDS Command Code Summary for the 4247 Printer ...893. An
Figure 15. Exception Handling Control (Part 1 of 3)130 Programmer Manual
Figure 15. Exception Handling Control (Part 2 of 3)Chapter 4. IPDS Programming Information 131
Print Quality Control (PQC)The Print Quality Control subcommand allows the host to specify the desired print quality without changingfonts (see notes)
The following bytes contain the print quality selection, as shown:Byte Value DescriptionBit 0-1 F800 PQC Order CodeBit 2 01 - 2A Fast Draft Quality2B-
If a Load Copy Control command refers to a suppression identifier that has not been specified as anexternal value in an LE command, the identifier (ex
Control Description Control DescriptionCO (C1) Set Inline Margin (SIM) F4 (F5) End Suppression (ESU)C2 (C3) Set Intercharacter Adjustment (SIA) E4 (E5
Description: This control specifies a distance, which the printer adds to the current baseline coordinatewhen the printer performs a Begin Line contro
Description: This control moves the baseline coordinate relative to the current baseline coordinateposition.Parameters P1P2 form a two byte value that
Description: This control marks the beginning of a string of text that the printer can suppress from theprinted output.Parameter P1 is a one byte supp
Parameters P3P4 specify the width of the rule in the inline direction in units. Valid values are from X'8000'to X'7FFF'. Negative
xvi Programmer Manual
Hex Color Hex Color0000 Black (Default) 0008 BlackFF00 Black FFFF Use Current DefaultFF07 Black (Default)Note: For Limited Simulated Color Support, al
An OVS command with a bypass value of 00 ends overstrike mode.Underscore (USC)2BD3 05 76 (77) P1-P3Description: This control identifies text the print
01 A substitute font with characteristics identical to the current font may be used to simulatebaseline shift (superscript/subscript).FF Same as 00.No
Decimal Hex Value Description12-13 C-D 0000 Zero Degrees Scan Line Direction14-15 E-F 2D00 90 Degrees Scan Line Sequence Direction16 10 Coordinate Typ
Ym-coordinate origin. When the block is within an overlay that is invoked using an IO command, WIC bytes11 through 13 and 15 through 17 specify the of
Note: The Graphics X and Y coordinates are not the same as the media X and Y coordinates. Thehorizontal axis is Graphics X; the vertical axis is Graph
Graphic WindowThe graphic window is a user-defined, rectangular area within the graphic medium presentation space.This area is the source from where i
Positioning the Graphic Window in the Graphic Block AreaAs mentioned previously, the graphic window can be any size within the graphic presentation sp
Write Graphics Control (WGC)Length D684 Flag Correlation ID (Optional) DATAGAP GOC GDDThe Write Graphics Control command causes the printer to enter t
Decimal Hex Value Description10 A Reference Coordinate System:00 Absolute I, Absolute B20 Absolute I, Relative B40 Relative I, Absolute B60 Relative I
The 4247 Model X03/Z03 Serial Matrix PrintersThe 4247 Model X03/Z03 printers are professional, industrial impact-matrix printers. The 4247 ModelX03/Z0
If byte 10A equals X'A0', the current logical page X and Y coordinates determine the origin. When theblock is within a page, GAP bytes 4 thr
Decimal Hex Value Description16-17 10-n ReservedNotes:1. For bytes 5 through 6 (units per base value), 14400/10 in. is supported precisely. Multiples
Decimal Hex Value Description0-1 0-1 001C - (n + 1) Length of this Structured Field2-3 2-3 A6BB Structured Field ID4 4 00 Unit Base (10 in.)01 Unit Ba
Area Mapping Control OptionsByte B in the GOC data field is the area mapping control option byte. The option values are:v 10 - Scale to fitv 20 - Cent
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.
Position and Trim Mapping: The upper left-hand corner of the graphic window is mapped to the graphicblock area using the specified offset and presente
Self-Describing InstructionsThis portion of the Graphic Data Descriptor structured field contains zero or more self-describinginstructions that set th
The Data bytes contain immediate data that specifies values for the attributes in this instruction. If theDefault byte is 0F, these Data bytes are not
Mask Bit Item NameLength(Bytes)0-1 Reserved (Mask Bits = 0) –2 Reserved (Mask Bits = 0) –3 Precision 14 Symbol Set 15-6 Reserved (Mask Bits = 0) –7 Ma
Description ValueArc Parameters P =Q=1,R=S=0Foreground Mix OverpaintBackground Mix Leave AloneCharacter Precision Character PrecisionMarker Precision
Print qualitiesFast Draft is a print quality available only for the 4247 Model Z03 printer. The Data Processing (DP), DataProcessing Text (DP Text), N
Decimal Hex Content Description1 1 0C Length of the Following Parameters in BSI2-5 2-5 NAME Name of Segment (Printer ignores this field)6 6 00 Reserve
Code Drawing Code Drawing00 No Operation 33 Set Character Cell Size01 Comment 34 Set Character Angle04 Reserved (Treated as a No-op) 38 Set Character
Description: This order is for compatibility with existing products and is a No Operation order.Set Pattern Set08 P1Description: This order sets the v
Set Background Mix0D P1Description: This order sets the value of the background mix. The background mix controls the way theprinter combines the color
Set Line Width19 P1Description: The Set Line Width order specifies the line width for subsequent graphics. This orderchanges the fractional line width
Set Extended Color26 02 P1 P2Description: This order functions the same as the Set Color order except that it specifies a length fieldand the color pa
Hex Line Type0F No Shading10 Solid Shading40 BlankSet Marker Symbol29 P1Description: This order sets the value of the current marker symbol attribute
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 tha
Description: This order sets the value of the current character precision attribute. Parameter P1 specifiesthe type of precision. Precision 2 (charact
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 dr
How to Use This ManualThe following lists describes the contents of each chapter and the appendixes:Chapter 1, “Personal Printer Data Stream (PPDS),”
Bit 1 0 = Do Not Draw Boundary Lines1 = Draw Boundary LinesBits 2-7 ReservedThe printer uses the current values of color, mix, background mix, pattern
and P2 form a two byte value that specifies the second X coordinate. P3 and P4 form a two byte valuethat specifies the second Y coordinate. Any remain
This order updates the current graphics position to the coordinates of the last point.Full Arc at Current Position87 02 P1 P2Description: This order s
Parameters P1 to Pn are values that specify the image dot data, a zero indicating the absence of a dot, aone indicating the presence of a dot. The dot
LineC1 L1 P1-PnDescription: This order specifies one or more connected lines.L1 is a one-byte value that specifies the length of the parameter field t
The printer places the character cell of the first character in the string at the specified graphics position.The Set Character Cell, Set Character An
The scale value acts as a multiplier for the arc parameters, as follows:For a circle: The radius is P5P6 xr. A previous Set Arc Parameters order speci
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, spe
Table 6. Related Drawing Order (continued)Set Current Position Line at Current PositionFillet at Current PositionFull Arc at Current PositionBegin Ima
Table 6. Related Drawing Order (continued)Line at Current Position Line, Relative LineRelative Line at Current PositionSet Line TypeSet Line WidthSet
ii Programmer ManualBefore using this information and the product it supports, read the information in “Notices” on page 357.
xx Programmer Manual
Table 6. Related Drawing Order (continued)Line Line at Current PositionRelative LineRelative Line at Current PositionSet Line TypeSet Line WidthSet Fr
Write Bar Code Control (WBCC)Length D680 Flag Correlation ID (Optional) DATABCAP BCOC BCDDThe Write Bar Code Control command causes the printer to ent
Decimal Hex Content Description4-5 4-5 8000 - 7FFF X Coordinate of Origin of Bar Code Block6-7 6-7 8000 - 7FFF Y Coordinate of Origin of Bar Code Bloc
If byte A equals X'20', the absolute I and relative B coordinates determine the top left corner. BCAP bytes4 and 5 specify the text inline c
Decimal Hex Content Description12-13 C-D 8000 - 7FFF X Offset of Medium Presentation Space Origin in Units14-15 E-F 8000 - 7FFF Y Offset of Medium Pre
Decimal Hex Content Description10-11 A-B 1 - 7FFF X-Extent of Medium Presentation Space (Width)FFFF Use BCOC bytes 7-8 if BCOC is present. Otherwise,
Decimal Hex Content Description21 15 Unit/Module Width (See Note 2)0E 0.36 mm (0.014 in.) Width11 0.43 mm (0.017 in.) Width (Must have 0 in bytes 8-9
OCR-A OCR-BMSI UPC - Two Digit Add-On (Magazine)2 of 5 Industrial UPC - Five Digit Add-On (Paperback)2 of 5 Matrix EAN-82 of 5 Interleaved EAN-13Codab
Modifier Byte: 3 of 9 Code:01 Print bar code with no printer generated check character.02 Generate check character and print with bar code.MSI Code:01
07 Print bar code with both check digits generated by the printer and put at the end of the data. Thesecond check digit will be IBM Modulus 10. The fi
Chapter 1. Personal Printer Data Stream (PPDS)The 4247 Model X03/Z03 printers implement a subset of PPDS. The environment in which the printer datastr
data consists of only the add-on digits. The preceding EAN-13 symbol prints under control ofseparate Write Bar Code Control and Write Bar Code command
The HRI code prints in the OCR-A or the OCR-B font, depending on the bar code type. The following barcodes print the HRI in OCR-A:v Code 128v Code3of9
Decimal Hex Content DescriptionNotes: If bar codes with human readable interpretation (HRI) are placed too close to the page edges, the humanreadable
Table 7. Code 128 Character Set (EBCDIC) (continued)Character Hex Character Hex Character Hex Character HexENQ 2D " 7F { C0 3 F3ACK 2E a 81 A C1
Begin Overlay (BO)Length D6DF Flag Correlation ID (Optional) DATAThe Begin Overlay command causes the printer to leave the home state and enter the ov
Decimal Hex Content Description7-9 7-9 Y Coordinate000000 -007FFFPositive Offset Value Relative to the Logical PageFF8000 -FFFFFENegative Offset Value
The DATA field is two bytes in length and can be any value between X'01' and X'7F'. This value is thepage segment identifier, and
Decimal Hex Content Description10 A 00 Reserved11 B 01-FF Ending Code Point12 C 00 Reserved13 D 00 Reserved14 E 00 Reserved15-16 F-10 0001 - 7EFF Load
Character Raster Patterns: Data in this field contains the actual code points (bit patterns) for the fontspecified in bytes 0F and 10. If the font ide
Chapter 5. IPDS Exception Reporting CodesThe following tables contain the exception reporting codes, which the printer sends to the host in theNACK re
relationships of some of these parameters.CPP Current Print Position (LM ≤ CPP ≤ RM).CPL Current Print LineMPP Maximum Print Position (in characters a
X'400100' Printer Out of FormsAlternate Exception Action: None.X'401300' Tear-Off RequiredExplanation: The printer needs operator
Explanation: The unit/module width specified in theWrite Bar Code Data Descriptor field is not supported.Alternate Exception Action: Use closest small
Specification Check-Graphics - X'03'The following exception codes are the valid codes for a graphics specification check condition:X'03
X'036802' Supported Order Invalid in AreaExplanation: A supported order is detected that is notvalid within an area.Alternate Exception Acti
X'03D102' Graphic Image Format Not SupportedExplanation: The value specified for the graphicimage format parameter is not supported.Alternat
command is not a valid or supported value.Alternate Exception Action: None.X'020501' Invalid Spanning SequenceExplanation: A Write Text or W
Note: In an LPD command, no Alternate ExceptionAction occurs.X'021202' Font Storage is FullExplanation: There is insufficient pattern storag
X'021E01' Invalid Text Control LengthExplanation: The length of a text control is not valid.Alternate Exception Action: None.X'021E02&a
X'023F02' Font Index Not LoadedExplanation:1. The font inline sequence in Load Font Equivalencecommand is not supported or not supported wit
X'024A02' Invalid WIC Coordinate SpecificationExplanation: The Ending Code Point specified in theLSS command is not a valid or supported val
RM Equal to MPPHT Horizontal tabs are set at each 8th column, starting with column 9 (9, 17,25, 33, and so on.)VT Vertical tabs are all clearedGraphic
X'026A01' Insufficient Source Image DataExplanation: The number of source image bytesreceived < the number implied in the Write ImageCont
X'029201' Overlay Number Not LoadedExplanation: The overlay identified by the OverlayIdentifier on the Include Overlay, Deactivate Overlay o
X'02AD01' Invalid Logical Page PositionParameterExplanation: The X Coordinate value on the LogicalPage Position command is not a valid or su
Conditions Requiring Host Notification - X'01'X'010100' Media Size or Input Media Source IDChangedExplanation:1. The size of the m
214 Programmer Manual
Chapter 6. Print Samples and IPDS Coding ExampleThe following pages contain examples of the printing capabilities of the 4247 Printer and one IPDS cod
Bar CodesThe following are sample bar code labels printed with the 4247 Printer:216 Programmer Manual
Graphics PatternsThe following example shows the area fill patterns, line widths, line types, and marker symbols availablewith this printer.Chapter 6.
Graphics ExampleThe following drawing is an example of the graphics capabilities of the 4247 Printer. The actual IPDSgraphics data stream commands nec
********* Begin Area6840********* Full ArcC706ED680A8CF000********* End Area6000********* Color0A00********* Set Pattern Symbol2803********* Begin Are
PPDS CompatibilityPPDS is supported in 4247, 2381 Personal Printer, and 4202 Proprinter III XL emulation modes. When4247 is selected, PPDS control cod
Set Line Type1800********* Begin Area6840********* FilletC528EDB8021CF1F00087F6280384FA6001C2FE98FE3E02D000B40708FE110B40FFA60CA8FD8A0F78FCD6*********
********* LineC108EDB8005AED04005A********* LineC108EDB8021CED04021C********* LineC108EDB803DEED0403DE********* LineC108EDB805A0ED0405A0********* Line
********* Character String, 80C306EB4208caF8F0********* Character String, 70C306EB420708F7F0********* Character String, 60C306EB420546F6F0********* Ch
IPDS Coding ExampleThe 4247 Printer produced this example of text, bar codes, and block graphic characters printing on thefront continuous forms paper
Table 9. IPDS Coding Example (continued)IPDS Command Hexadecimal Code Code Explanation— 01 Print All Data and ExitXOA(DBD) 0007 Control Length— D633 E
Table 9. IPDS Coding Example (continued)IPDS Command Hexadecimal Code Code Explanation— D68F Execute Order Home State— 00 Flag Byte— 1700 Set Media Si
Table 9. IPDS Coding Example (continued)IPDS Command Hexadecimal Code Code ExplanationWT 0014 Control Length— 262D Write Text— 00 Flag Byte— 2BD3 Esca
Table 9. IPDS Coding Example (continued)IPDS Command Hexadecimal Code Code Explanation— D62D Write Text— 00 Flag Byte— 2BD3 Escape Sequence— 04C70E10
Table 9. IPDS Coding Example (continued)IPDS Command Hexadecimal Code Code Explanation— 0000 Y Bottom Limit of Window— 00000000 Reserved— 0000 Graphic
Table 9. IPDS Coding Example (continued)IPDS Command Hexadecimal Code Code Explanation— 00 Flag Byte******** Write Bar Code ControlWBCC 002B Control L
Backspace (BS)08This control moves the print position horizontally one character width to the left. If the current print positionis at the left margin
Table 9. IPDS Coding Example (continued)IPDS Command Hexadecimal Code Code ExplanationWBC 00E Control Length— D681 Write Bar Code— 00 Flag Byte— 20 Ba
Appendix A. Code PagesThe EBCDIC code charts page 231 contains information about the code pages that the 4247 ModelX03/Z03 Printers use on the Etherne
CodePage Character Set Name Page1026 Latin-5 Turkey 2631097 Farsi 2641112 Baltic Multilingual 2651122 Estonian 2661140 USA/Canada + euro 2671141 Austr
USA/Canada/Canadian BilingualAppendix A. Code Pages 233
Canadian French234 Programmer Manual
Austrian/GermanAppendix A. Code Pages 235
Belgian Old236 Programmer Manual
BrazilianAppendix A. Code Pages 237
Danish/Norwegian238 Programmer Manual
Finnish/SwedishAppendix A. Code Pages 239
This control moves the current horizontal print position to the left margin. The vertical print position doesnot change unless automatic line feed mod
Italian240 Programmer Manual
Japanese EnglishAppendix A. Code Pages 241
Portuguese242 Programmer Manual
Spanish/Spanish SpeakingAppendix A. Code Pages 243
English (UK)/Ireland244 Programmer Manual
Japanese KatakanaAppendix A. Code Pages 245
French/French Azerty246 Programmer Manual
ArabicAppendix A. Code Pages 247
Greek (Old)248 Programmer Manual
Hebrew BulletinAppendix A. Code Pages 249
This control is treated as a NUL.Device Control 4 (DC4) / Select14This control cancels double-wide printing if double wide was selected with the Shift
International 5/Swiss/Belgian250 Programmer Manual
Greek/Latin (ISO 8859-7) + euroAppendix A. Code Pages 251
Korean252 Programmer Manual
ThaiAppendix A. Code Pages 253
Latin 2/ROECE254 Programmer Manual
IcelandicAppendix A. Code Pages 255
Greek New + euro256 Programmer Manual
CyrillicAppendix A. Code Pages 257
Yugoslav (Old)258 Programmer Manual
OCR-AAppendix A. Code Pages 259
Control Hex NameESC DC3 1B 13 Device Control 3 (Deselect)ESC DC4 1B 14 Device Control 4 (Cancel Double-Wide Print)ESC CAN 1B 18 CancelESC EM 1B 19 Tur
OCR-B260 Programmer Manual
Latin 9 (ISO 8859) + euroAppendix A. Code Pages 261
Cyrillic Multilingual262 Programmer Manual
Latin-5 TurkeyAppendix A. Code Pages 263
Farsi264 Programmer Manual
Baltic MultilingualAppendix A. Code Pages 265
Estonian266 Programmer Manual
USA/Canada + euroAppendix A. Code Pages 267
Austrian/German + euro268 Programmer Manual
Danish/Norwegian + euroAppendix A. Code Pages 269
Control Hex NameESC ] 1B 5D Reverse Line FeedESC ^ 1B 5E Print Single CharactersESC _ 1B 5F Continuous OverscoreESC d 1B 64 Relative Move RightESC e 1
Finnish/Swedish + euro270 Programmer Manual
Italian + euroAppendix A. Code Pages 271
Spanish/Spanish Speaking + euro272 Programmer Manual
English/UK + euroAppendix A. Code Pages 273
French + euro274 Programmer Manual
International 5/Belgian New + euroAppendix A. Code Pages 275
Icelandic + euro276 Programmer Manual
ASCII Code PagesThe table below lists the ASCII code pages used by the 4247 Printer, and also provides page referencesso you can determine what code p
CodePage Character Set Name Page1117 Latvian (Personal Computer) 3141118 Lithuanian (Personal Computer) 3151250 Central Europe Latin 2 3161251 Cyrilli
Greek (MS DOS)Appendix A. Code Pages 279
ContentsFigures ...xiiiTables ...xvThe 4247 Model X03/Z03 Serial Matrix Printers ...
This control advances the paper one line. The horizontal position does not change unless automaticcarriage return mode is activated from the operator
Greek/Latin (ISO 8859-7)280 Programmer Manual
Latin 1 (ISO 8859-1)Appendix A. Code Pages 281
PC Multilingual282 Programmer Manual
Old GreekAppendix A. Code Pages 283
Latin 2/ROECE284 Programmer Manual
Latin 3 (PC)Appendix A. Code Pages 285
Cyrillic (PC)286 Programmer Manual
Latin 5-Turkey + euroAppendix A. Code Pages 287
PC Multilingual + euro288 Programmer Manual
PortugueseAppendix A. Code Pages 289
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 sett
Icelandic290 Programmer Manual
HebrewAppendix A. Code Pages 291
Canadian French292 Programmer Manual
ArabicAppendix A. Code Pages 293
Danish/Norwegian294 Programmer Manual
PC Data, Cyrillic, RussianAppendix A. Code Pages 295
Greek New + euro296 Programmer Manual
ThaiAppendix A. Code Pages 297
OCR-A298 Programmer Manual
OCR-BAppendix A. Code Pages 299
Auto Underscore (ESC -)1B 2D NNThis control turns on and off the continuous underscore function.If NN is 1, the printer underscores all text character
Latin 2 (ISO 8859-2)300 Programmer Manual
Latin 3 (ISO 8859-3)Appendix A. Code Pages 301
Latin 4 (ISO 8859-4)302 Programmer Manual
Cyrillic (ISO 8859-5)Appendix A. Code Pages 303
Latin 8 (ISO 8859-8)304 Programmer Manual
Latin 5 (ISO 8859-9)Appendix A. Code Pages 305
Baltic Multilingual306 Programmer Manual
EstonianAppendix A. Code Pages 307
Latin 9 (ISO 8859-15) + euro308 Programmer Manual
UrduAppendix A. Code Pages 309
Set Top of Form (ESC 4)1B 34This control establishes the current vertical position as the top of form.Set Auto Line Feed (ESC 5)1B 35 NNThis control s
Arabic Extended310 Programmer Manual
Latin 6 (ISO 8859-6)Appendix A. Code Pages 311
Farsi (Personal Computer)312 Programmer Manual
Estonian (Personal Computer)Appendix A. Code Pages 313
Latvian (Personal Computer)314 Programmer Manual
Lithuanian (Personal Computer)Appendix A. Code Pages 315
Central Europe Latin 2316 Programmer Manual
Cyrillic Windows + euroAppendix A. Code Pages 317
Epson FX-series Code PagesThe following Epson code charts provide information on the character tables available for Epson FX-seriesemulation mode.Exte
Italic Character TableAppendix A. Code Pages 319
This command selects unidirectional printing for one line only. The print head moves to the home positionat the left side of the printer and prints on
Epson Extended Character VariablesThe following table shows characters that vary, by language, from the Epson Extended Character Graphicsset.The code
Appendix B. Application Paper Source SelectionApplication-controlled paper-source selectionThis section describes the identifiers to use in selecting
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 parame
Appendix C. 4247 Bar Code and OCR Printing OptionsThis appendix contains information about the options that are available for printing bar codes and O
Table 11. Bar Code Printing Options for Non-UPC Family Bar Codes (continued)Bar Code TypeNarrowElement WidthOptions (mils)Wide-to-NarrowElement RatioL
Table 11. Bar Code Printing Options for Non-UPC Family Bar Codes (continued)Bar Code TypeNarrowElement WidthOptions (mils)Wide-to-NarrowElement RatioL
OCR ScanningWe have tested the following OCR symbol subsets for readability:Table 13. OCR Symbol SubsetsOCR-A OCR-A OCR-A OCR-A OCR-B OCR-BNRMA Data E
Appendix D. Configuration Menu LockoutConfiguration Menu Lockout should be used by the application programmer or printer operator to lock theConfigura
328 Programmer Manual
Appendix E. InterfacesThis section provides technical information for the parallel and serial interfaces.The Parallel InterfaceThe parallel interface
Image Length = 11 with a remainder of 2Image Length = 12 bytes per characterIf both printer provided images and downloaded images are to be printed fr
This phase is initiated by the host and returns the interface to the compatibility mode.Parallel Interface SignalsDescription of the signals in monodi
The pins 1 to 14 of the printer are connected to the pins with the same number of the parallel port of thehost.The pins 19 to 30 of the printer are co
AD1 ... AD8 (Data 1 ... Data 8)Negotiation Phase: Extendibility request value.Reverse Data TransferPhase:Nibble Mode: NOT USED.Byte Mode: Reverse chan
Xflag (Select)Reverse Data TransferPhase:Nibble Mode: Set low to indicate that host can receive printer-to-host data then sethigh to acknowledge recei
Interface TimingTiming and Handshaking depend upon the connection mode.Our Centronics mode supports the BUSY-WHILE-STROBE busy signal timing and ACK-I
Mode IEEE 1284The Serial InterfaceThis printer provides the RS-232/C serial interfaces. The interface mode is selected via menu.v Transmission TypeDat
Serial Interface SignalsThe following table lists the RS-232/C serial interface signals:Signal Name Pin NumberLocalConnect.SourceRemoteConnect.Source
Appendix F. Network Interface Technical Reference4247 Network Configuration ParametersIP Address AssignmentFixed: Assigns the static or fixed IP addre
SMTP ServiceSMTP (Simple Mail Transfer Protocol) allows a mail server address to be entered into the printer configuration to sendautomated e-mail not
Managing a Single Printer Configuration Using the 4247 InternalWebpageConfiguration PasswordThe 4247's configuration settings can be protected by
IN is a one-byte hexadecimal number that specifies the page length in inches. IN is present only ifparameter LL equals 0. Valid values for IN are X&ap
WINS YesDDNS YesSYSTEM / OSIBM System i OS 400 YesIBM pSeries®AIX YesSun Solaris YesUnix YesLinux®YesWindows 95,98,2000,NT,XP, 2003 Server YesNETBIOS
PSF VSE YesPSF VM YesNETWORK MANAGEMENT4247 Remote Printer Management Utility YesIBM NPM Yes (generic printer)HP JetAdmin Yes (generic printer)E-mail
HTTP YesPING YesSNMP YesMIB II (RFC 1514) Yes (see note)Host Resource MIB (RFC 1514) YesPrinter MIB (RFC1759) Yes4247 Private MIB YesReverse Telnet No
19934440, Recommended SNMP Port Number Values for *LAN 3812SNMP Device DescriptionsThis document contains a list of recommended SNMP Port Number Value
The following documents and many others can be found by selecting the “Technical databases” link at theSystem i Technical Support area of the IBM webs
Appendix G. LAN Interface MIB SupportTable 14. SYSTEM GROUP - RFC 1213OBJECT ID MIB TYPEsysDescr.0 1.2.6.1.2.1.1.1.0 (octet string)sysObjectID.0 1.2.6
Table 16. ADDRESS GROUP - RFC 1213 (continued)OBJECT ID MIB TYPEIpAdEntNetMask.1 1.3.6.1.2.1.4.20.1.1.3 (ipaddress)IpAdEntBcastAddr.1 1.3.6.1.2.1.4.20
Table 17. HOST RESOURCES - RFC 1213 (continued)OBJECT ID MIB TYPEhrDeviceDescr.2 1.3.6.1.3.1.25.3.2.1.3.2 (octet string)hrDeviceID.1 1.3.6.1.3.1.25.3.
Table 18. PRINTER - RFC 1759 (continued)OBJECT ID MIB TYPEprtLocalizationCountry.1.3 1.3.6.1.2.1.43.7.1.1.3.1.3 (octet string)prtLocalizationCountry.1
Table 18. PRINTER - RFC 1759 (continued)OBJECT ID MIB TYPEprtInputMediaName.1.1 1.3.6.1.2.1.43.8.2.1.12.1.1 (octet string)prtInputMediaName.1.2 1.3.6.
NN is the one-byte local font identifier number that specifies the font. The mapping of the local fontidentifier is dependent upon the printer's
Table 18. PRINTER - RFC 1759 (continued)OBJECT ID MIB TYPEprtMediaPathMaxSpeed.1.2 1.3.6.1.2.1.43.13.4.1.4.1.2 (integer)prtMediaPathMaxMediaFeedDir.1.
Table 18. PRINTER - RFC 1759 (continued)OBJECT ID MIB TYPEprtInterpreterLangVersion.1.3 1.3.6.1.2.1.43.15.1.1.4.1.3 (octet string)prtInterpreterLangVe
Table 18. PRINTER - RFC 1759 (continued)OBJECT ID MIB TYPEprtConsoleOnTime.1.5 1.3.6.1.2.1.43.17.6.1.2.1.5 (integer)prtConsoleOnTime.1.6 1.3.6.1.2.1.4
prtAlertTableThis MIB can assume the following values:3 (untrained) in paper jam or cover open condition.1 (other) in all other conditionsprtAlertGrou
354 Programmer Manual
Appendix H. The Remote Printer Management UtilityThe Remote Printer Management Utility is a software tool for network administrators that allows theco
356 Programmer Manual
Notices Thanks for choosing the 4247 printer. Your printer is a reliable working equipment that will be very useful in your daily job. Our printer
European Union (EU) Conformity Statement Compuprint srl declares that this product is in compliance with the essential requirements and other relevan
NN is a one-byte hexadecimal value that specifies the move amount in units of 1/216 inch. The printer willadjust the value to the nearest 1/144 inch.
MAN10299.00.00 Printed in Italy MAN10299.00.00
This control ends skip perforation.Proportional Space Mode (ESC P)1B 50 NNThis control starts or stops proportional space mode.NN is a one-byte hexade
Auto Underscore (ESC -) ...12Set 1/8 Inch Line Spacing (ESC 0) ...12Set 7/72 Inch Line Spacing (ESC 1)
End Subscript/Superscript (ESC T)1B 54This controls stops subscript and superscript printing.Set Print Direction (ESC U)1B 55 NNThis control specifies
Dual Density Bit Image Graphics Type 2 (ESC Y)1B 59 LL HH NN...NNThis control prints the supplied bit image data at 120 horizontal pel by 72 vertical
Note: If Printer Compatibility 4 - Automatic Carriage Return on Line Feed is set to Enabled in theConfiguration Menu, the next print position is print
The values for N1 are:X'01' UnderscoreX'02' StrikethroughX'03' OverscoreX'00' CancelX'01' Single Lin
HF LF Font and Pitch00 0B Courier 1001 EB Courier 1201 EC Courier 1501 ED Courier 1701 EE Courier 2000 AB Courier ProportionalHF LF Font and Pitch00 2
P1 Parameter Byte for 4201 III XL EmulationBit On Off7 Discard Byte Ignore Process6 Reserved5 Alarm Disable Enable4 Auto CR CR on Vertical Movement No
– Printer Compatibility 7 – Condensed Print– Interface Type– Input Buffer Size– Select-In Signal– AutoFeed XTv All Printer Adjustments Valuesv All Pri
HC LC Character Set03 93 CP915 Cyrillic (ISO 8859-5)03 94 CP916 Latin 8 (ISO 8859-8)03 98 CP920 Latin 5 (ISO 8859-9)03 99 CP921 Baltic Multilingual03
Hex FunctionNote: If printer configuration Host Fast Draft setting is Enabled then Fast Draft quality is selected. If Host Fast Draftis disabled then
Control Hex NameDC4 DC4 ESC p 14 14 1B 70 Select Print QualitySelect EAN-8 Bar Code (DC4 DC4 ESC ! NN 1 PP EM)14 14 1B 21 NN 01 PP 19This control sele
Select 2 of 5 INTERLEAVED Bar Code (DC4 DC4 ESC ! NN 17 PP EM) ...31Select 2 of 5 INDUSTRIAL Bar Code (DC4 DC4 ESC ! NN 18 PP EM)...3
00 Do not print human readable characters01 Print human readable charactersSelect MSI Bar Code (DC4 DC4 ESC ! NN 4 PP EM)14 14 1B 21 NN 04 PP 19The co
01 Print human readable charactersSelect UPC 5-Digit Bar Code (Magazine) (DC4 DC4 ESC ! NN 7 PP EM)14 14 1B 21 NN 07 PP 19This control selects the UPC
Select 2 of 5 MATRIX Bar Code (DC4 DC4 ESC ! NN 19 PP EM)14 14 1B 21 NN 13 PP 19The control selects the 2 of 5 Matrix bar code.The DATA field for this
NN is a one-byte hexadecimal number that specifies the height of the bar code symbol as 1 to 12 (1/6 to12/6 inch, or 2 inches).PP is a one-byte hexade
Print Bar Code Selection (DC4 DC4 ESC ( GS {N1} {DATA1} GS {N2}{DATA2} EM)14 14 1B 28 1D DD...DD 1D DD...DD 19This sequence causes the bar code symbol
This command sets line spacing to 3 lines per 30 mm.Set Vertical Spacing 4 Lines/30mm (DC4 DC4 ESC 3 4)14 14 1B 33 34This command sets line spacing to
Load or Park Fanfold from a Front Path (DC4 DC4 ESC T)14 14 1B 54 NNThis command loads or performs the Park function for fanfold paper fed from the fr
Printer Configuration Response (DC4 DC4 ESC h)14 14 1B 68 LL HH TT SS D1...DN CSThis is the response Request to Read Configuration command.The printer
0 Fast Draft (Model Z03 only)1DP2 DP Text3 NLQBuffer Terminating ConditionsThe following controls cause buffered data to be released for printing:v Ca
Chapter 2. Epson FX-1050 Data StreamWhen the 4247 is in Epson emulation mode, the printer can print files coded for the Epson FX-1050 printerusing the
Horizontal Tab (ESC HT)...47Line Feed (ESC LF) ...47Vertical Tab (ESC VT) ...
Length, Set Horizontal Margins, for example). The physical print position does not move outside the rangeof these two parameters. The left margin (LM)
MPP (depth) Operator panel settingCPI Operator panel settingLPI Operator panel settingLM 0 inches (Column 1)RM Equal to MPPHT Horizontal tabs are set
Backspace (BS)08This control moves the print position horizontally one character width to the left. If the current print positionis at the left margin
This control moves the current horizontal print position to the left margin. If Carriage Return equalsCarriage Return + Line Feed, a Line Feed is exec
Device Control 4 (DC4) / Cancel Double-Wide Print14This control cancels double-wide printing if double wide was selected with the Shift Out control. T
Control Hex NameESC DC3 1B 13 Device Control 3 (Deselect)ESC DC4 1B 14 Device Control 4 (Cancel Double-Wide Print)ESC CAN 1B 18 CancelESC EM 1B 19 Tur
Control Hex NameESC O 1B 4F End Skip PerforationESC P 1B 50 Select 10 CPIESC Q 1B 51 Set Right MarginESC R 1B 52 Select Character SetESC S 1B 53 Begin
This control causes the audible alarm to sound, if enabled. The alarm may be disabled or enabled fromthe Configuration menu.Backspace (ESC BS)1B 08Thi
Carriage Return (ESC CR)1B 0DThis control moves the current horizontal print position to the left margin. The vertical print position doesnot change u
Device Control 4 (ESC DC4) / Cancel Double-Wide Print1B 14This control cancels double-wide printing if double wide was selected with the Shift Out con
Double-Wide Continuous Mode (ESC W)...59Dual Density Bit Image Graphics Type 2 (ESC Y) ...59High Density Bit Image
Cancels the most significant bit (MSB) control.Set Absolute Print Position (ESC $)1B 24 N1 N2This control specifies the distance that subsequent chara
Select Graphics Mode (ESC *)1B 2A MM N1 N2This control selects the graphics mode MM from the table below. The total number of columns equals N1+ (N2 ×
The application program is responsible for keeping track of the vertical position on the current pagerelative to the current line spacing. Changing th
Printable Code Area Expansion (ESC 6)1B 36This control enables codes X'80' through X'9F' from the active character set to become p
Option Alternate Code NNHorizontalDensity(dots/in.)Single-Density ESC K 0 60Double-Density ESC L 1 120High-Speed Double-Density * ESC Y 2 120Quadruple
Set Page Length (ESC C)1B 43 LL INThis control sets the physical page length in lines or inches and resets skip perforation mode.LL is a one-byte hexa
End Double-Strike Print (ESC H)1B 48This control ends double-strike printing.Printable Code Area Expansion (ESC I)1B 49This control defines whether co
A two-byte count (LL HH) indicates the number of bytes that follow in this control. LL is the least significantbyte of the count; HH is the most signi
This control specifies an international character set as shown in the table below and is available in bothDP and NLQ. The following values for NN are:
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
Overview ...75Physical Medium...75IPDS Coordinate Systems ...7
Set Relative Position (ESC \)1B 5C N1 N2This control moves the print head to a horizontal print position relative to the current print position using1
This control spaces backward in 1/120s of an inch. To find the values for N1 and N2, determine therequired displacement in 1/120s of an inch. Send the
This control activates and deactivates Quiet Mode (half-speed printing). The following are the values forNN:0 Set Quiet Mode Off1 Set Quiet Mode OnSel
Control Hex NameDC4 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-Digi
NN is a one-byte hexadecimal number that specifies the height of the bar code symbol as 1 to 12 (1/6 to12/6 inch, or 2 inches).PP is a one-byte hexade
PP is a one-byte hexadecimal number that specifies whether or not to print the bar code in HumanReadable Characters as follows:00 Do not print human r
PP is a one-byte hexadecimal number that specifies whether or not to print the bar code in HumanReadable Characters as follows:00 Do not print human r
00 Do not print human readable characters01 Print human readable charactersSelect CODE 3 of 9 Bar Code (DC4 DC4 ESC ! NN 20 PP EM)14 14 1B 21 NN 14 PP
The DATA field for this bar code does not have a defined length, and must contain only the datacharacters belonging to the selected ASCII character se
ASCII: DC4 DC4 ESC ( GS 72 12345678 EMHEX: 14 14 1B 28 1D 48 31 32 33 34 35 36 37 38 19Example 2:Print two Code 3 of 9 bar code symbols. The first sym
Drawing Order Coordinate System...144Graphic Medium Presentation Space ...145Graphic Window ...
Set Vertical Spacing 8 Lines/30mm (DC4 DC4 ESC 3 8)14 14 1B 33 38This command sets line spacing to 8 lines per 30 mm.Eject Single Sheet or Form Feed (
Select Emulation (DC4 DC4 ESC Y)14 14 1B 59 NNThis command selects the printer emulation mode.The values for NN are:1 Epson FX 10502 4202 Proprinter I
D1...DNConfiguration DataCS Checksum of the data bytesWrite Configuration Response (DC4 DC4 ESC i)14 14 1B 69 LL HH TT SS D1...DN CSThis command write
v Backspacev Set 1/8 Inch Line Spacingv Set 7/72 Inch Line Spacingv Set 1/6 Inch Line Spacingv Set n/216 Inch Line Spacingv Set n/72 Inch Line Spacing
74 Programmer Manual
Chapter 3. Intelligent Printer Data StreamThis chapter explains the concepts of the Intelligent Printer Data Stream (IPDS). IPDS is an orderablefeatur
The physical medium defined above is assumed to coincide with the actual physical medium (form) as thatterminology is used in the following discussion
Logical Page LayoutIPDS describes the printed output in terms of logical pages. The logical page does not have to becontained completely on the physic
between the X and Y coordinates and the logical and physical medium.I and B Coordinate SystemIn addition to the X,Y coordinate system, IPDS uses anoth
Notes:1. The 4247 Printer text character box is 180 units high by 144 units wide at 10 CPI when the XpYpunitsequal 1,440 per inch. The left edge of th
Kommentare zu diesen Handbüchern