WO2002055307A2 - Command protocol for two color thermal printing - Google Patents
Command protocol for two color thermal printing Download PDFInfo
- Publication number
- WO2002055307A2 WO2002055307A2 PCT/US2002/001047 US0201047W WO02055307A2 WO 2002055307 A2 WO2002055307 A2 WO 2002055307A2 US 0201047 W US0201047 W US 0201047W WO 02055307 A2 WO02055307 A2 WO 02055307A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- color
- command
- steps
- printing
- text
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K15/00—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
- G06K15/02—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
- G06K15/028—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by thermal printers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K15/00—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
- G06K15/02—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
- G06K15/18—Conditioning data for presenting it to the physical printing elements
- G06K15/1848—Generation of the printable image
- G06K15/1852—Generation of the printable image involving combining data of different types
Definitions
- the present invention relates to thermal printing of sales receipts and, more particularly, to methods of safeguarding and enhancing the appearance of sales receipts by printing in two colors and in real time.
- the methods of this invention are unique to Point-Of -Sale printers; they provide sales receipts with watermarks, strike-throughs, and circles-about-an-item. These added functions can be accomplished in real time. Some of them can be printed in differentiating colors.
- a strike-through function is obtained by selectively adding a dot row to the center of the font cell. The strike-through has application in the voiding of purchased items and in emphasizing the old price in a discounted item.
- the watermark function embeds a predefined shaded logo or graphic into the receipt paper, in order to discourage fraud and counterfeiting.
- the watermark process can print the watermark in red, which cannot be copied on black print only copiers.
- the graphic is filtered to provide a faded background image .
- the method of adding a surround graphic-about-an-item can be selected to highlight specific text.
- the ellipse form of the surround graphic can be partially broken or completely closed.
- the method uses a set of four command parameters in accordance with a command protocol developed specifically for POS printing.
- FIGURE 1 illustrates a plan view of a typical font cell being modified to provide a strike-through function
- FIGURE 2 depicts a plan view of a strike-through being used to emphasize the new sale price of a sales item
- FIGURE 3 shows a flow chart diagram for the method of providing a strike-through for a sales receipt
- FIGURE 4 illustrates a flow chart diagram for the process of generating a watermark on a sales receipt
- FIGURE 5 depicts a plan view of printed sales receipt items featuring the standard and "free-hand" ellipse-about-an-item function, in accordance with this invention
- FIGURE 6 shows a flow chart diagram of the method of providing the ellipse-about-an-item function as shown in FIGURE
- the invention features command protocols for enhanced thermal printing of sales receipts.
- the command protocols of this invention provide sales receipts with watermarks, strike-throughs, and surround graphic-about-an-item.
- FIGURE 1 a typical font cell 10 for standard ASCII text is shown.
- the font cell 10 was obtained with a 203 dpi thermal printer.
- the font cell 10 is thirteen dots wide by twenty- four dots high in the preferred embodiment, but the technique applies to any rectangular shaped cell.
- a command is given by the user through a communication link (not shown) that selectively marks a dot row 12 m the center of the font cell 10.
- the marked dot-row 12 comprises the same or alternate color as its destination character or characters.
- the strike- through function is illustrated in FIGURE 2. It is often used to void purchased items, sales prices, etc., and to highlight discount pricing
- a flow chart 100 depicts the method used to obtain the strike-through shown in FIGURE 2.
- Font data is extracted from font memory 101 and read, step 102.
- the data is then stored in temporary memory 104, step 103. If the data has been completely extracted, step 105, then color information is added, step 106. If the data has not been completely extracted, step 105, continued attempts are made to extract and read font data, step 102, via feedback loop 107. Having properly appended the color information, step 106, this is stored in temporary memory 104, as per feed line 108. After the color information has been appended, the dots used for the strike-through function are inserted, step 109. This information is also sent to temporary memory 104 via line 110. The temporary information is then copied into the text frame buffer 114, step 112. This is achieved via line 111. The program sequence then returns to the command parser.
- the so-called watermark function is a real-time operation that is intended to embed a logo or design into the sales receipt, in order to prevent fraud by fabricating a counterfeit or erroneous receipt.
- the watermark function combines arbitrary text on receipts, with a predefined logo or graphic. This graphic is a shaded version of a standard logo in order to achieve a faded effect.
- the watermark is then merged, in real time, with the text stream.
- the result is a receipt with a faded image in the background.
- the graphic is printed in its predefined color. A red watermark discourages counterfeiting, because the graphic is difficult to photocopy.
- a flow chart 200 shows the method of achieving a watermark when printing a sales receipt.
- a print engine interrupt signal allows the enablement of the watermark, step 201, via decision block 202.
- a raster is read, step 203, from logo memory 204.
- the graphic is then merged with text, which is secured from the frame buffer 207.
- the text can be sent to the print head either directly, step 210, or from the merged graphic, step 211.
- the program sequence then returns to the command parser.
- the ellipse-about-an-item command is designed to allow the user to circle a number of lines of ASCII text at any location on the receipt.
- ellipse is used herein to indicate an enclosing or partially enclosing shape, including other curved shapes, both regular and irregular polygons, and even straight lines and bars.
- the ellipse is intended to provide an additional method for highlighting or emphasizing some section of the receipt.
- the command can be selected to create a closed or partially broken ellipse, as shown in FIGURE 5.
- the command uses a set of four command parameters with two parameters used to initiate the sequence. The user, therefore, must transmit six bytes of data.
- a typical sequence is illustrated below, in hexadecimal form: lB h XX h Fieldlh Field 2 h Field 3 h Field 4 h
- the command is composed of six bytes, of which the first byte lB h is an industry standard character (ESC) .
- ESC industry standard character
- This character designates a command sequence.
- the second byte XX h refers to a newly defined command code. This code is used to signify the real-time surround graphic sequence.
- the last four parameters (Fieldl h through Field4 h ) are used as coordinate and image selection controls. Table 1, shown below, illustrates the use of these fields:
- Field 3 Y axis dimension This is limited from a range of 1 through 4.
- the field specifies the number of lines that the circle will encompass.
- FIGURE 6 a flow chart 300 is shown for providing an ellipse about a number of lines of text in a sales receipt .
- a print engine interrupt signal allows the enablement of the ellipse, step 301, via decision block 302.
- loci are placed in temporary memory 304, step 303.
- a decision is made as to whether the ellipse is to be closed or broken, step 305. If a broken ellipse is to be formed, step 306, it is merged with text, step 308 which is secured from the frame buffer 307.
- step 309 it is merged with text, step 308, which is likewise secured from the frame buffer 307.
- the text can be sent to the print head either directly, step 310, or from the merged text and ellipse image, step 311.
- the program sequence then returns to the command parser.
- the two-color, thermal command protocol is described hereinbelow.
- This command sets the current printing mode based on monochrome or color.
- the m n parameters select paper category and formulation version, respectively.
- nl to n72/n80 corresponds to one dot row data for a thermal receipt printer. Each bit defines whether a dot of the current default color will be printed. This command is used for printing a singe raster monochrome graphic in real-time.
- nl to n!44 / nl60 corresponds to one dot row data.
- the value of the current logo is the logo index to be used to store the downloaded graphic.
- w identifies whether the image is monochrome (which requires one parameter bit row description) or 2-color, which requires a pairing of bit descriptions for each row.
- nl * n2 define a rectangular image nl bytes wide and n2 bytes long.
- nl *8 specifies the number of dot columns, and n2*8 the number of dot rows. This command is used for storing a logo of nl by n2 size indexed by the current logo value.
- Command Name Reverse Color Text Mode Command : ID 85 m n
- This command sets a mode for reverse printing effects on text.
- the background color is specified by m, and the color for text characters by n .
- Parameter This applies a selected shade density to all monochrome objects such as text and monochrome logos.
- the parameter m specifies the shading effect and has an initial value of 0 which signifies no effect.
- Color Shade Mode Command ID 87 m
- m specifies the shading effect and has an initial value of 0 which signifies no effect.
- m 0 is the initial value and turns this mode off.
- This command will merge into any subsequent print two solid bars on the far opposite sides of the paper printable area.
- nL is the low order byte
- nH is the high order byte of a 16 bit word specifying the width.
- This command will print logo n .
- This command will place into a background graphics buffer (which will be merged when output printing occurs) sidebars one or both sides.
- a sidebar is defined as being of thickness h, consisting of color c and side selection s - as in the parameters nLm s of the Merge Sidebars Mode command.
- Command Name Apply Shading To Logo Command : ID 8B n m o
- This command will apply shading effect m to logo n and store it at index o, also extending width to full horizontal size if logo n is not at full paper width.
- This command will insert the logo m as a repeated background image, similar to printing a visible watermark, into the print stream.
- the space between repetitions of this usually shaded logo will be every n*8 dot rows.
- This command will merge into any text character cell n rows of dots of full cell width, vertically centered in the cell. For a cell with an even number of rows, the first one below the middle is used, then the one above, then the one below that pair, etc.
- the parameter m specifies the color of the merged dot rows, and the strike through overrides all previous dot content .
- This command will store in Flash memory a paper type description identified by the structure in dl . . dn, adding the uniquely (by type category and version) identified structure for subsequent use by the Set Paper Type Command.
- nL+ nH *256 define the number of bytes x that follow. These bytes contain the proprietary structure and CRC to operate the thermal print head .
- the last two bytes will be a CRC value and the first 24 bytes will be as follows :
- This command will save all the raster data that is in the working Graphics buffer (where surround graphics are formed) as a logo with index value n . This logo can then be used repeatedly for inserting different text. See the Background Logo Print command.
- This command will place into the Graphics buffer the logo designated by n. As soon as there is a print action command (such as text output) the graphics buffer will be merged (logical OR process) with print output.
- Command Name POS UStatus Modes Command : ID 96 m n
- This command enables or turns off the unsolicited sending of printer state values back to the host whenever there is a change m any of the printer's configured states.
- the modes settings can enable unsolicited responses which return a state change notification that can optionally have appended a command count and status of the last command executed.
- a persistent version of this command is also available; it would setup the unsolicited modes to be retained by the printer across power loss instances. Both timed and unsolicited modes can be on simultaneously via issuing the command again with a different parameter setting.
- the state values returned are from the state enumeration table described m the Printer Extended Command Status command.
- T ⁇ 3 return the CRC of a logo indexed by n
- n selects a return of either the largest free block or total free size, since contiguous allocation cannot be assumed as this area is completely under user control through address parameters.
- n is the item index when more than one object of type m is possible
- the firmware standard list is incrementally extended each time a new single or double byte set is downloaded.
- each downloaded double byte character band is reported individually as OxCO, OxCl, 0xC2 .... for as many bands as have been defined.
- This command returns the state of occupancy of available Flash storage and user RAM.
- the printer response for each item is a 4 byte header, OxlD 0x97 nL nH (no. of bytes that follow in the response) and for each item a 4 byte structure: 1st ⁇ n(type) byte, 2nd n index byte followed by a 2 byte CRC in Lo Hi order of the data string in that storage space.
- RAM storage space is not content typed, while available Flash is statically divided into logo, character set, and user data types. Change of the divisions is possible via Flash erasure and Flash allocation commands. Since other modifications and changes varied to fit particular operating requirements and environments will be apparent to those skilled in the art, the invention is not considered limited to the example chosen for purposes of disclosure, and covers all changes and modifications which do not constitute departures from the true spirit and scope of this invention .
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Record Information Processing For Printing (AREA)
- Heat Sensitive Colour Forming Recording (AREA)
- Electronic Switches (AREA)
Abstract
Description
Claims
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP02705787A EP1559023A2 (en) | 2001-01-12 | 2002-01-11 | Command protocol for two color thermal printing |
CA002400044A CA2400044A1 (en) | 2001-01-12 | 2002-01-11 | Command protocol for two color thermal printing |
AU2002239915A AU2002239915A1 (en) | 2001-01-12 | 2002-01-11 | Command protocol for two color thermal printing |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US26136501P | 2001-01-12 | 2001-01-12 | |
US60/261,365 | 2001-01-12 |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2002055307A2 true WO2002055307A2 (en) | 2002-07-18 |
WO2002055307A3 WO2002055307A3 (en) | 2005-06-09 |
Family
ID=22992982
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2002/001047 WO2002055307A2 (en) | 2001-01-12 | 2002-01-11 | Command protocol for two color thermal printing |
Country Status (4)
Country | Link |
---|---|
EP (1) | EP1559023A2 (en) |
AU (1) | AU2002239915A1 (en) |
CA (1) | CA2400044A1 (en) |
WO (1) | WO2002055307A2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1408465A2 (en) * | 2002-10-11 | 2004-04-14 | Seiko Epson Corporation | Method of controlling printing apparatus in POS systems |
WO2004074387A2 (en) * | 2003-02-20 | 2004-09-02 | Axiohm Transaction Solutions, Inc. | Method and system for suppressing printing of graphics in a pos printer |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5239622A (en) * | 1991-11-28 | 1993-08-24 | Monarch Marking Systems, Inc. | Barcode identification system format editor |
US5366791A (en) * | 1990-07-06 | 1994-11-22 | Paramount Packaging Corporation | Thermoformable laminate material with registered print and method of making the same |
US5894546A (en) * | 1992-07-09 | 1999-04-13 | Canon Kabushiki Kaisha | Image processing apparatus for converting multivalued image into binary image and outputting binary image |
US6297873B1 (en) * | 1998-06-08 | 2001-10-02 | Fuji Photo Film Co., Ltd. | Image recording apparatus for recording an image according to characteristics of the image recording medium |
US6501556B1 (en) * | 1997-12-25 | 2002-12-31 | Sharp Kabushiki Kaisha | Image forming apparatus having a trial print mode |
-
2002
- 2002-01-11 CA CA002400044A patent/CA2400044A1/en not_active Abandoned
- 2002-01-11 EP EP02705787A patent/EP1559023A2/en not_active Withdrawn
- 2002-01-11 AU AU2002239915A patent/AU2002239915A1/en not_active Abandoned
- 2002-01-11 WO PCT/US2002/001047 patent/WO2002055307A2/en active Search and Examination
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5366791A (en) * | 1990-07-06 | 1994-11-22 | Paramount Packaging Corporation | Thermoformable laminate material with registered print and method of making the same |
US5239622A (en) * | 1991-11-28 | 1993-08-24 | Monarch Marking Systems, Inc. | Barcode identification system format editor |
US5894546A (en) * | 1992-07-09 | 1999-04-13 | Canon Kabushiki Kaisha | Image processing apparatus for converting multivalued image into binary image and outputting binary image |
US6501556B1 (en) * | 1997-12-25 | 2002-12-31 | Sharp Kabushiki Kaisha | Image forming apparatus having a trial print mode |
US6297873B1 (en) * | 1998-06-08 | 2001-10-02 | Fuji Photo Film Co., Ltd. | Image recording apparatus for recording an image according to characteristics of the image recording medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1408465A2 (en) * | 2002-10-11 | 2004-04-14 | Seiko Epson Corporation | Method of controlling printing apparatus in POS systems |
EP1408465A3 (en) * | 2002-10-11 | 2005-01-12 | Seiko Epson Corporation | Method of controlling printing apparatus in POS systems |
WO2004074387A2 (en) * | 2003-02-20 | 2004-09-02 | Axiohm Transaction Solutions, Inc. | Method and system for suppressing printing of graphics in a pos printer |
WO2004074387A3 (en) * | 2003-02-20 | 2004-12-09 | Axiohm Transaction Solutions | Method and system for suppressing printing of graphics in a pos printer |
Also Published As
Publication number | Publication date |
---|---|
AU2002239915A1 (en) | 2002-07-24 |
WO2002055307A3 (en) | 2005-06-09 |
AU2002239915A8 (en) | 2005-11-17 |
CA2400044A1 (en) | 2002-07-18 |
EP1559023A2 (en) | 2005-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9218555B2 (en) | Printing apparatus and printing control method for determining whether and where to print a watermark relative to print data | |
US7460252B2 (en) | Graphical printing system and method using text triggers | |
EP1850273B1 (en) | Super resolution encoded microprinting through postscript | |
US6789482B2 (en) | Printing method, recording medium containing a program for applying the printing method, printer, printer driver, POS terminal, and POS system | |
EP2429165A1 (en) | Method and device for controlling watermark printing | |
US6739773B2 (en) | Thermal printing a two-color sales receipt | |
US12056546B2 (en) | Methods and systems for operating a printing apparatus | |
EP1017226B1 (en) | Printer on which picture recognition processor for forgery prevention is mounted, computer for providing print source to printer, and print system including printer and computer | |
US7355737B2 (en) | Apparatus and method for two-color printing based on single color data | |
EP0820004B1 (en) | Print system, print method, printer driver and printer | |
US20030011799A1 (en) | Command protocol for two color thermal printing | |
CN100370419C (en) | Information processor, printing controlling method, computer program and printing system | |
US4979131A (en) | Printer apparatus | |
EP1906340B1 (en) | Rasterizing device | |
EP1559023A2 (en) | Command protocol for two color thermal printing | |
US7070100B2 (en) | Desktop card printer with embedded PCL, Telnet, and USB hub and method for using same | |
US11138484B2 (en) | Colored region barcode printing | |
US20060069992A1 (en) | Method of managing the printing of characters and a printing device employing method | |
US20040085579A1 (en) | Predefined field command structure for point of sale printer | |
JP3827998B2 (en) | Printing apparatus and printing method | |
KR100223650B1 (en) | Data processing method for printer | |
JP2006301739A (en) | Business form print system | |
CN110837348A (en) | Printing method capable of reducing cost | |
US10839562B2 (en) | Methods and systems for enabling object attribute driven super resolution encoding | |
WO2004090745A1 (en) | System for printing variable data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A2 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: A2 Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
WWE | Wipo information: entry into national phase |
Ref document number: 10182496 Country of ref document: US |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2400044 Country of ref document: CA |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2002705787 Country of ref document: EP |
|
REG | Reference to national code |
Ref country code: DE Ref legal event code: 8642 |
|
DFPE | Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101) | ||
WWP | Wipo information: published in national office |
Ref document number: 2002705787 Country of ref document: EP |
|
NENP | Non-entry into the national phase in: |
Ref country code: JP |
|
WWW | Wipo information: withdrawn in national office |
Country of ref document: JP |
|
WWW | Wipo information: withdrawn in national office |
Ref document number: 2002705787 Country of ref document: EP |
|
DPE2 | Request for preliminary examination filed before expiration of 19th month from priority date (pct application filed from 20040101) |