1、DRAFT FOR DEVELOPMENTDD CEN/TS 15525:2006Postal services Standard Interfaces Interface between Machine Control and Bar Code PrintersICS 03.240g49g50g3g38g50g51g60g44g49g42g3g58g44g55g43g50g56g55g3g37g54g44g3g51g40g53g48g44g54g54g44g50g49g3g40g59g38g40g51g55g3g36g54g3g51g40g53g48g44g55g55g40g39g3g37g
2、60g3g38g50g51g60g53g44g42g43g55g3g47g36g58Licensed Copy: Wang Bin, na, Mon Apr 23 01:17:49 GMT+00:00 2007, Uncontrolled Copy, (c) BSIDD CEN/TS 15525:2006This Draft for Development was published under the authority of the Standards Policy and Strategy Committee on 28 February 2007 BSI 2007ISBN 978 0
3、580 50286 6National forewordThis Draft for Development was published by BSI. It is the UK implementation of CEN/TS 15525:2006.This publication is not to be regarded as a British Standard.It is being issued in the Draft for Development series of publications and is of a provisional nature. It should
4、be applied on this provisional basis, so that information and experience of its practical application can be obtained.Comments arising from the use of this Draft for Development are requested so that UK experience can be reported to the European organization responsible for its conversion to a Europ
5、ean standard. A review of this publication will be initiated not later than 3 years after its publication by the European organization so that a decision can be taken on its status. Notification of the start of the review period will be made in an announcement in the appropriate issue of Update Stan
6、dards.According to the replies received by the end of the review period, the responsible BSI Committee will decide whether to support the conversion into a European Standard, to extend the life of the Technical Specification or to withdraw it. Comments should be sent to the Secretary of the responsi
7、ble BSI Technical Committee at British Standards House, 389 Chiswick High Road, London W4 4AL.The UK participation in its preparation was entrusted to Technical Committee SVS/4, Postal services.A list of organizations represented on SVS/4 can be obtained on request to its secretary.This publication
8、does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application.Amendments issued since publicationAmd. No. Date CommentsLicensed Copy: Wang Bin, na, Mon Apr 23 01:17:49 GMT+00:00 2007, Uncontrolled Copy, (c) BSITECHNICAL SPECIFICATIONSPCIFIC
9、ATION TECHNIQUETECHNISCHE SPEZIFIKATIONCEN/TS 15525November 2006ICS 03.240English VersionPostal Services - Standard Interfaces - Interface betweenMachine Control and Bar Code PrintersServices postaux - Interfaces standard - Interface entremachine de supervision et imprimantes de codes barresPostalis
10、che Dienstleistungen - Standardschnittstellen -Schnittstelle zwischen Betriebssystem vonSortiermaschinen und BarcodedruckernThis Technical Specification (CEN/TS) was approved by CEN on 23 October 2006 for provisional application.The period of validity of this CEN/TS is limited initially to three yea
11、rs. After two years the members of CEN will be requested to submit theircomments, particularly on the question whether the CEN/TS can be converted into a European Standard.CEN members are required to announce the existence of this CEN/TS in the same way as for an EN and to make the CEN/TS availablep
12、romptly at national level in an appropriate form. It is permissible to keep conflicting national standards in force (in parallel to the CEN/TS)until the final decision about the possible conversion of the CEN/TS into an EN is reached.CEN members are the national standards bodies of Austria, Belgium,
13、 Cyprus, Czech Republic, Denmark, Estonia, Finland, France,Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania,Slovakia, Slovenia, Spain, Sweden, Switzerland and United Kingdom.EUROPEAN COMMITTEE FOR STANDARDIZATIONC
14、OMIT EUROPEN DE NORMALISATIONEUROPISCHES KOMITEE FR NORMUNGManagement Centre: rue de Stassart, 36 B-1050 Brussels 2006 CEN All rights of exploitation in any form and by any means reservedworldwide for CEN national Members.Ref. No. CEN/TS 15525:2006: ELicensed Copy: Wang Bin, na, Mon Apr 23 01:17:49
15、GMT+00:00 2007, Uncontrolled Copy, (c) BSI2 Contents Page Foreword4 Introduction .5 1 Scope 7 2 Normative references 8 3 Terms and definitions .9 4 Symbols and abbreviations 10 5 Overview of the interface 10 6 Data communications interface .11 7 Signalling interfaces12 7.1 Physical connections 12 7.
16、2 Print clock signal .13 7.3 PrintGo signal 14 8 Messages and their usage 15 9 Detailed message definitions .18 9.1 The message header .18 9.2 0x00: PrintData.18 9.3 0x01: ClearPrintData25 9.4 0x10: SoftwareDownload 25 9.5 0x11: InitManufacturer 27 9.6 0x12: InitCustomer.28 9.7 0x13: LoadPattern29 9
17、.8 0x14 LoadBarCodeFormat33 9.9 0x16: LoadFont 36 9.10 0x20: PrinterOffLine 38 9.11 0x21: PrinterOnLine.38 9.12 0x22: RequestTechnicalData39 9.13 0x23: RequestSoftwareVersion40 9.14 0x24: RequestStatus .40 9.15 0x25: ResetPrinterFaults.41 9.16 0x2F: TestInkJet.41 9.17 0x90: SoftwareUpload .42 9.18 0
18、x91: UploadManufacturer42 9.19 0x92: UploadCustomer42 9.20 0x93: UploadPattern 42 9.21 0x94: UploadBarCodeFormat .43 9.22 0x95: UploadFont.43 9.23 0xA2: TechnicalData44 9.24 0xA3: SoftwareVersion44 9.25 0xA4: PrinterStatus46 10 Message flow52 10.1 Printer states and state changes .52 10.2 Printer in
19、itialisation .53 10.3 Printing .55 10.4 Requests and responses 57 10.5 Ink jet testing58 11 Use of the service socket58 CEN/TS 15525:2006Licensed Copy: Wang Bin, na, Mon Apr 23 01:17:49 GMT+00:00 2007, Uncontrolled Copy, (c) BSI3 Annex A (Normative) Timing diagrams59 A.1 Normal timings 59 A.2 Double
20、 PrintData message.60 A.3 PrintGo errors 60 A.4 Print error .61 Annex B (Informative) PrintData examples63 B.1 Example of a mixed bar code and text message .63 B.2 Example of a mixed image and text message 68 Annex C (Informative) Load Font definition 72 C.1 General .72 C.2 Message structure.72 Bibl
21、iography75 CEN/TS 15525:2006Licensed Copy: Wang Bin, na, Mon Apr 23 01:17:49 GMT+00:00 2007, Uncontrolled Copy, (c) BSI4 Foreword This document (CEN/TS 15525:2006) has been prepared by Technical Committee CEN/TC 331 “Postal Services”, the secretariat of which is held by NEN, in collaboration with UP
22、U. NOTE This document has been prepared by experts coming from CEN/TC 331 and UPU, under the frame of the Memorandum of Understanding between UPU and CEN. The UPUs contribution to the specification was made, by the UPU Standards Board1)and its subgroups, in accordance with the rules given in Part V
23、of the “General information on UPU standards“. According to the CEN/CENELEC Internal Regulations, the national standards organizations of the following countries are bound to announce this CEN Technical Specification: Austria, Belgium, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germa
24、ny, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and United Kingdom. 1)The UPUs Standards Board develops and maintains a growing number of standards to improve the exchan
25、ge of postal-related information between posts, and promotes the compatibility of UPU and international postal initiatives. It works closely with posts, customers, suppliers and other partners, including various international organizations. The Standards Board ensures that coherent standards are dev
26、eloped in areas such as electronic data interchange (EDI), mail encoding, postal forms and meters. UPU standards are published in accordance with the rules given in Part VII of the General information on UPU standards, which can be freely downloaded from the UPU world-wide web site (www.upu.int).CEN
27、/TS 15525:2006Licensed Copy: Wang Bin, na, Mon Apr 23 01:17:49 GMT+00:00 2007, Uncontrolled Copy, (c) BSI5 Introduction Automated postal sorting systems frequently use printers to print bar codes, cancellation and other marks and human readable data on the items processed through them. Bar codes are
28、 used to control further processing steps and to support item tracking and performance monitoring; cancellation marks to prevent the re-use of postage stamps, record data and the location of processing and to convey advertising or other messages and human readable text is used to support a provision
29、 of instructions, such as forwarding addresses to delivery agents and manual sorting staff and providing back-up in the event of unreadability of bar codes. In order to print bar codes, images or text on items, an interface between sorter and printer is needed for transferring information, providing
30、 sorter speed information and to control the start of printing. This interface has traditionally been different for each printer supplier and even for different models of printer. This has resulted in the need for sorting equipment suppliers to develop printer- or even project-specific interface sol
31、utions to fulfil the requirements of individual postal operators for the printer brand they want to use. This has several disadvantages. Such specific interface solutions are typically not integrated into the sorting system suppliers product line and often result in: substantial duplication, with ea
32、ch participating supplier being required to undertake separate development; system integration being complex and time consuming (and therefore expensive); long-term dependence on the original supplier(s), due to the impossibility of contracting modification of the interface to third parties; high ma
33、intenance costs, at least once the initially agreed maintenance period is over; early obsolescence, due to lack of support for long-term maintenance; inability to upgrade equipment and/or to replace worn out or obsolete equipment; poor transferability between projects. The above issues are not limit
34、ed to the sorting systems interface with printers, but apply also to interfaces with other system components, including bar code readers, image capture devices, OCR sub-systems, etc. Their impact is also growing because, to optimise performance, postal operators increasingly require sorting systems
35、which integrate equipment from different suppliers. In the past this has led to project specific interfaces being negotiated between one postal operator and one or multiple suppliers. These project-specific interfaces were developed by the suppliers and maintained for an agreed period of time. Some
36、suppliers have sought to address these problems by defining supplier-specific “open interfaces” that apply across a range of products, but these still have the disadvantage of being in product use by only one supplier. This led to an initiative, on the part of a group of suppliers and postal operato
37、rs, to develop a range of “open standard interfaces” which, following their implementation by suppliers, could support the construction of systems using components from different suppliers. This standard, which covers the interface between the control unit of a postal sorting system and a printer co
38、nnected to that system, is the first of these open standard interfaces. Like the similar specifications that are CEN/TS 15525:2006Licensed Copy: Wang Bin, na, Mon Apr 23 01:17:49 GMT+00:00 2007, Uncontrolled Copy, (c) BSI6 expected to be developed in the future2), it is expected subject to its adopt
39、ion as a tendering requirement by postal operators to lead to improved economics and performance of postal automation systems through: long term reductions in costs, with higher initial product development and system acquisition costs being more than offset by reductions in project-specific developm
40、ents, integration and maintenance costs; simpler, faster, system integration, particularly in cases in which equipment from different suppliers is involved; longer term, lower cost, maintainability and increased longevity of systems; increased competition between suppliers, resulting in both enhance
41、d products and lower costs; reduced dependence on individual supplier(s). 2) A second specification, covering the interface between the control unit of the image processing subsystem of a sorter and an image enhancement subsystem, such as an address interpretation system, is already under developmen
42、t; others are expected to follow as and when the need is identified and the resources for development become available. Each will be developed by a separate ad-hoc project group working under the auspices of CEN/TC 331 Postal services and/or the UPU Standards Board. CEN/TS 15525:2006Licensed Copy: W
43、ang Bin, na, Mon Apr 23 01:17:49 GMT+00:00 2007, Uncontrolled Copy, (c) BSI7 1 Scope This document specifies the electrical, data and timing interface between the control unit of a postal sorting system and an ink jet printer connected to that system. It further specifies an ancillary interface to t
44、he printer, which can be used for the support of remote diagnostics and other service functions. NOTE 1 This specification can equally be applied to the interfacing of printers to sequencing systems and combined sorting and sequencing systems. It was primarily developed for application to ink jet pr
45、inters, but could be applied to printers with similar functionality that make use of other printing technologies. At the physical level, the specification is based on the use of a combination of a standard 100 Mbps Ethernet connection for the transfer of data and patch cables for signalling. At a lo
46、gical level, data is transferred using messages transmitted across the Ethernet connection using three TCP/IP sockets, with the execution of time-critical functions being controlled through the use of signals on a TIA/EIA-422 interface. NOTE 2 Several printers can be connected to a single sorting sy
47、stem. In this case, the printers can optionally share access to a single Ethernet network, but each requires its own patch cables. This standard does not support the connection of a single printer to multiple sorting system control units. This document defines all messages that may be transferred vi
48、a each of the TCP/IP sockets, specifies printer behaviour on receipt of these messages and defines how the timing of this behaviour is controlled by the TIA/EIA-422 signals. The specification supports the use of the printer to print bar codes, human readable text and/or images on mail items whilst t
49、hese are being transported past the print head3. It provides explicit support for Bar/No Bar (BNB), Bar/Half Bar (BHB) and four state bar codes, but allows full user control over the specification of bar patterns to support more complex bar coding formats. NOTE 3 Printers that comply with the specification are required to support printing of the three above mentioned bar coding formats, character printing and two images; support for additional formats and a greater number of images is optional and, in particular, can depend on the available printer