background image

                                                                                            PTD55 SERIES OPERATION MANUAL

[Example]  

Example data for printing “Ref. 258710”

In this example, the printer first prints “No.” Using CODE B, then prints the following 
numbers using CODE C.

GS k

 73  11  123  66  82  101  102  46  123  67  25  87  10         

3. If the top of the bar code data is not the code set selection character, the 

printer stops command processing and processes the following data as 
normal data. 

4. If the combination of “{“ and the following character does not apply any 

special character, the printer stops command processing and processes 
the following data as normal data.

5. If the printer receives characters that cannot be used in the special code 

set, the printer stops command processing and processes the following 
data as normal data.

6. The printer does not print HRI characters that correspond to the shift 

characters or code set selection characters.

7. HRI character for the function character is space.
8. HRI characters for the control character (<00>H to <1F>H and <7F>H) are 

space.   

 <Others> Be sure to keep spaces on both right and left sides of a bar code. 

(Spaces are different depending on the types of the bar code.)

[Reference]

GS h, GS w

GS

      v

     0

     m

      

xL

   

 

  

xH

   

 

  

yL

   

 

  

yH

   

 

  

d1

   

 

  

...

   

 

  

dk

                

 

             

 

             

 

             

 

             

 

             

 

              

 

             

 

 

[Name]

Print raster bit image

[Format]

ASCII

GS 

m

xL xH yL yH d1...dk

Hex

1D

76 

30 

xL xH yL yH d1...dk

Decimal29

118

48

xL xH yL yH  d1...dk

[Range]

<00>H 

 

m

 

 <03>H

<00>H 

 

xL

 

 <FF>H

<00>H 

 

xH

 

 <FF>H where 1 

 (

xL

 

xH

 x 256) 

 128

<00>H 

 

yL

 

 <FF>H

<00>H 

 

yH

 

 <08>H where 1 

  (

yL

 

yH

 x 256) 

 4095

<00>H 

 

d

 

 <FF>H

k

 

(

xL

 

xH

 x 256) x 

(

yL

 

yH

 x 256) 

(

k

 

 

0)

[Description]

Selects raster bit-image mode. The value of 

m

 

selects the mode, as follows:

m

Mode

Vertical Dot Density

Vertical Dot Density

<00>H

Normal

203.2 dpi

203.2 dpi

<01>H

Double-width

203.2 dpi

101.6 dpi

<02>H

Double-height

101.6 dpi

203.2 dpi

<03>H

Quadruple

101.6 dpi

101.6 dpi

(dpi: dots per 25.4 mm {1"})

47 of 57

Summary of Contents for PTD55 SERIES

Page 1: ...PTD55 THERMAL PRINTER SERIES Operation manual Rev 1 0 ...

Page 2: ...L SPECIFICATIONS 7 3 10 RELIABILITY AND ENVIROMENTAL CONDITIONS 8 4 INSTALLATION 9 4 1 INSTALLATION CONSIDERATIONS 9 4 2 PTD55 CONNECTORS 10 4 3 RS 232 SERIAL INTERFACE 11 4 4 USB INTERFACE 12 4 5 PAPER NEAR END INPUT CONNECTOR 12 4 6 DIGITAL OUTPUT CONNECTION 13 5 BASIC OPERATIONS 15 5 1 ADJUSTING THE CUTTING POSITION BY COMMAND 16 5 2 CUTTING POSITION SELF ADJUSTING 17 5 3 PAPER LOADING 17 5 4 O...

Page 3: ...apabilities Several format bar code EAN13 Code39 Code128 and ITF Several 2D format Bar Code QR and AZTEC Two internal character fonts A font 12x24 dots B font 8x16 dots Control code based on ESC POS commands NOTE 2 Automatic paper load Four maintenance counters On Off times hours meters and cuts Hexadecimal mode for easy software debugging Self test mode feature Input buffer of 32KBytes Multiple l...

Page 4: ... short circuit print head breaking or general failure of the printer NEVER shake the printer NEVER disassemble or modify the hardware of the printer NEVER try to repair the printer Please contact your official distributor in case of failure As the printer contains electromagnets inside of the motor it should not be used in excessively dirty environments or places with dust or metal particles NEVER...

Page 5: ...rting the paper roll and closing the cover FENIX recommends cleaning the thermal print head periodically every 2 or 3 months in order to keep an optimal print quality NOTES The print head may be hot after printing Make sure it has thoroughly cooled down before proceeding to clean it Never touch the thermal elements of the print head with your hands Never use metallic or piercing elements to clean ...

Page 6: ...Font A 24 Font B 32 Character spacing default 0 5 mm 4 dots Character structure Font A 12 x 24 dots 1 5 x 3 mm default Font B 8 x 16 dots 1 x 2 mm Character size mm 1 Font A WxH mm cpl 2 Font B WxH mm cpl Standard Double width Double height Double width height 1 5 x 3 24 3 x 3 12 1 5 x 6 24 3 x 6 12 1 x 2 32 2 x 2 16 1 x 4 32 2 x 4 16 Number of characters Alphanumeric characters 95 Extended Graphi...

Page 7: ...d for that reason high transmission speed is required in order to ensure that data is available for printing at any time Data transfer of at least 115200 bauds or USB connection increase the printing performance substantially 3 7 ELECTRICAL SPECIFICATIONS Power supply 24VDC 10 Consumption 80mm paper width model 60mm paper width model High speed mode Mean current Approx 9A Approx 6 5A Peak current ...

Page 8: ... statistics assume that the printer repeats printing in which one dot line consists of an average of 112 dots or less and the average number of printing dots per dot line per element is 30 2 Life end is defined as the point at which two or more adjacent heat elements are damaged when two or more adjacent dots are omitted except when damaged by foreign objects or external causes 3 The print head li...

Page 9: ...e sure to make a good earth connection Prevent final user s from accessing the printer outlet Allow enough room and accessibility to reach the maintenance procedure points in case it is needed Take notice all user accessible parts in the printer Printing Head Paper box location Connectors Led and push button Fix the PTD55 printer to the chassis by using four screws Ø5mm maximum as shown on the pic...

Page 10: ...onnectors see APPENDIX HOW TO ORDER Fig 4 3 USB or SERIAL RS232 interface connectors 4 2 1 Power supply connector The PTD55 is powered by an external power supply by means of 3 pins connector shown below Verify power supply voltage before connecting the printer Fig 4 4 Power supply connector J1 Use a 3 pin DC jack TCS 7960 43 2010 HOSIDEN or equivalent See APPENDIX HOW TO ORDER ACCESSORIES 10 of 5...

Page 11: ...60W power supply can be used In any case power supply must satisfy the peaks current that mechanism requires which are determined by the following formula Ipeak 24 657 x number of printing dots FENIX offers different power supplies as an accessory option See APPENDIX HOW TO ORDER These power supplies which have been exhaustively tested are available in open frame or enclosed version 4 3 RS 232 SER...

Page 12: ...ation USB 2 0 480Mbits s full speed Transfer type Bulk Maximum receive transmit endpoint size 64 bytes Current consumption from USB bus 2mA max User has to use a standard B series USB connector 4 5 PAPER NEAR END INPUT CONNECTION The PTD55 has an optional input which can be used to warn the maintenance operator that the printer is running out of paper although there is still paper to print few tic...

Page 13: ... PTD55 has an optional output which can be used for different purposes such a blink and external warning light when a ticket has not been picked up or the printer is running out of paper activate a beeper when previous or other events are triggered etc Fig 4 8 Digital output connector Housing QH250 02H Plastron Contact QH250T 010 Plastron The open collector transistor output can be triggered eithe...

Page 14: ...ing output is preferred the time the output stays on and off are also programmable Driving a buzzer Driving a led array Driving a relay Fig 4 9 Digital output examples The transistor s output capability is Vco 45V IC 100mA Values beyond this absolute maximum ratings could result in a permanent damage of the device 14 of 57 R R R 220V AC ...

Page 15: ...ers black mark to identify the cut positioning Fig 5 1 Corner to positioning the cutting Because there really is not a standard set only the width and length 54x85mm there may be numerous types of corners and joints between tickets Fig 5 2 Real examples of preformed tickets NOTE FENIX recommended to use tickets with straight cut corners 45º as large as possible as in Figure 5 1 Some types of prefo...

Page 16: ...d the next cutting line of the ticket in the feed direction Variable depending on the preformed As it indicated above the fact that there are different preformed as well as mechanical tolerances and mounting causes the mLmH distance is variable An example of trial error adjustment is shown 1 For the preformed shown in the image suppose that you start by mLmH 1C00 value and the cut has exceeded the...

Page 17: ... has been fed for a distance larger that the ticket length without having cut the paper it will pop a black mark error The first ticket should be discarded since the printer cannot estimate the distance to the next cutting line until it has detect at least one black mark 5 3 LOADING PAPER 5 3 1 Automatic paper loading 1 Make sure the PTD55 is power supplied 2 Remove any rest of paper if there is a...

Page 18: ... and SERIAL interfaces The on board button has the following functions PAPER FEEDING when the printer is powered on pressing the button will feed the paper The paper roller will not move under the following conditions The paper roll end sensor detects a paper end When the door is open When another non recoverable error is present SELF TEST MODE If pressed on start up with the door closed it activa...

Page 19: ... This second option of the self test mode has the goal of validating the printing speed and quality At the end of the self test page there are few lines showing the four different maintenance counts 1 Times that the printer has been switched on 2 Time in half hours that the printer has been powered on 3 Meters of paper printed 19 of 57 Fig 5 6 SELF TEST mode example 01234567 012345678 0123456789 0...

Page 20: ... non valid command sequences errors in the communication channel etc comparing what it has theoretically been sent to the printer to what it is really being received Turn off the printer to quit the hexadecimal mode NOTES 1 For any received characters under 20h the ASCII will not be printed 2 During the hexadecimal dump mode the DEL EOT command does not work 3 It must be taken into account that if...

Page 21: ...and all its possible errors can also be monitored via software through the DEL EOT n command or activating the automatic status reporting GS a n command In this way the application developer can have more complete information on the printer status therefore being able to act accordingly FENIX recommends that developers include in their applications a flow chart like the one shown below to have mon...

Page 22: ...en Fig 5 9 Error status indicator LED Fig 5 10 LED Blinking sequence Each time unit corresponds to 0 5 seconds More information on these errors can be found below NEAR END PAPER WARNING Description At run time the printer checks periodically through the near end paper sensor if there is enough remaining paper in the paper roll If the printer in running out of paper the printer will warn visually t...

Page 23: ... Offline bit 3 1 n 02 H Offline status Error occurred bit 6 1 n 03 H Error status Unrecoverable error occurred bit 5 1 Recover action This is an unrecoverable error Unplug the power supply from the printer and check if the output voltage of the power supply is within the specified range Replace it in case it is not working properly Note When this error occurs some parts of the printer may be damag...

Page 24: ...found the next black mark The possible reasons may be a The paper does not have black mark b The black mark is not in the right position c The black mark does not have the right size or intensity Status flags This error involves the following flags activation n 01 H Printer status Offline bit 3 1 n 02 H Offline status Error occurred bit 6 1 n 03 H Error status Unrecoverable error occurred bit 5 1 ...

Page 25: ...n 02 H Offline status Error occurred bit 6 1 Printing is being stopped bit5 1 Platen is open bit2 1 n 04 H Continuous paper status Paper not present bit 6 1 Recover action This error disappears loading a new paper roll in the printer and closing the paper door see section PAPER LOADING Note This error stops the printing and it cannot be restarted until it is not recovered This error is indicated i...

Page 26: ... a Select justification ESC c 4 Select paper near end sensor to stop printing ESC d Print and feed n lines ESC i Full cut ESC j Back feed paper ESC m Partial cut ESC t Select character code table ESC yc1 c2 Load an external character table ESC Inverse print mode on off GS FF Feed marked paper to print starting position GS Select character size GS A Execute test print GS C Erase all logos GS G Set ...

Page 27: ...or event or intentionally The parameter m is composed by to nibbles The high nibble sets the triggering event while the lower one set the number of complete cycles to be output m hex high nibble m hex low nibble Function 0 0 to F No event Output directly by command 1 0 to F Output triggered by hardware error 2 0 to F Output triggered by Vp voltage error 3 0 to F Output triggered by temperature err...

Page 28: ...n 04 H Continuous paper sensor status n 05 H Paper sensor status Notes The status is transmitted whenever the data sequence 10 H 04 H n 01 H n 05 H is received The printer transmits the current status Each status item is represented by one byte The printer transmits the status without confirming whether the host computer can receive data in serial interface The printer executes this command upon r...

Page 29: ...ot used Fixed to ON 2 OFF Not used Fixed to OFF 3 OFF No cutter error ON Cutter error occurred 4 ON Not used Fixed to ON 5 OFF No unrecoverable error ON Unrecoverable error occurred 6 OFF No auto recoverable error ON Auto recoverable error occurred 7 OFF Not used Fixed to OFF Bit 6 is ON when printing is stopped due to high print head temperature until the print head temperature drops sufficiently...

Page 30: ...e memory Any of the settings can be programmed simultaneously with any other settings n is the number of printer settings to be changed and s1 sn indicates the type and new value of the setting as follows Notes Once the command has been sent the printer will save the new setting into non volatile memory and print a message indicating if the feature has been saved successfully or on the contrary if...

Page 31: ...riage return 7 0 Enable 1 Disable 9 Near end paper sensor 8 0 Enable 1 Disable Example The following command will change baudrate to 115200 bauds parity to Even and handshake to No handshake 13 1B 1C 1D 03 13 21 32 handshake parity baudrate number of setting If all the features are supported by the printer it will print the following message on paper Feature saved successfully 2 Feature saved succ...

Page 32: ...er width and height ESC DC3 GS BS Name Save default settings into non volatile memory Format ASCII ESC DC3 GS BS Hex 1B 13 1D 08 Decimal27 19 29 08 Description Saves default configuration factory settings into flash memory so when the printer is restarted default configuration will be loaded Notes The parameters that will be saved are line spacing character spacing character table character width ...

Page 33: ...rmat ASCII ESC n Hex 1B 2D n Decimal 27 45 n Range 00 H n FF H Description Sets the underline mode Only the least significant two bits are valid for n n 00 H 30 H Underline mode is turned off n 01 H 31 H Set the underline thickness to 1 dot n 02 H 32 H Set the underline thickness to 2 dots Notes ESC command can turns off the underline mode Default n 00 H Reference ESC ESC 2 Name Select default lin...

Page 34: ...is turned off When the LSB of n is 1 double strike emphasized mode is turned on Notes Printer output is the same in double strike mode and in emphasized mode Default n 00 H Reference ESC E ESC I n Name Turn reversed mode on off Format ASCII ESC I n Hex 1B 49 n Decimal27 73 n Range 00 H n FF H Description Turns reversed mode on or off When the LSB of n is 0 reversed mode is turned off When the LSB ...

Page 35: ...n 02 H 30 H n 32 H Description Rotates the characters using the mode specified by n n Function 00 H 30 H Normal 01 H 31 H Right 90º rotated 02 H 32 H Left 90º rotated In both left and right 90º rotated modes the characters lines transmission order changes from the normal mode because can be printing several lines at once Example for right 90º rotation mode Characters lines transmission order 1st l...

Page 36: ...nd sensor stops printing When the bit 1 of n is 0 paper near end sensor does not stop printing When the bit 1 of n is 1 paper near end sensor will stop printing Notes When bit 1 is on in paper near end is detected the printer goes offline and stop printing ESC d n Name Print and feed n lines Format ASCII ESC d n Hex 1B 64 n Decimal27 100 n Range 00 H n FF H Description Prints the data in the print...

Page 37: ...he black mark sensor and it is needed back feed paper to prepare the cutting ESC m Name Partial Cut Format ASCII ESC m Hex 1B 6d Decimal27 109 Description Cuts the paper partially in the current position Notes If this command is sent without cutter connection the printer enters cutter error status The interval between each cutting operation must be two seconds or more This command performs the par...

Page 38: ...bles currently loaded in the printer Reference APPENDIX INTERNAL CHARACTER TABLES ESC n Name Inverse printing mode Format ASCII ESC n Hex 1B 7B n Decimal27 123 n Range 00 H n FF H Description Turns inverse printing mode on off When the LSB of n is 0 Inverse printing mode off When the LSB of n is 1 Inverse printing mode on Notes Each character is printed upside down 180º rotating and the sequence o...

Page 39: ...7 H Description Selects the character height using bits 0 to 3 and selects the character width using bits 4 to 7 as follows n in hex Horizontal size WIDTH x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 Vertical size HEIGHT x 1 00 10 20 30 40 50 60 70 x 2 01 11 21 31 41 51 61 71 x 3 02 12 22 32 42 52 62 72 x 4 03 13 23 33 43 53 63 73 x 5 04 14 24 34 44 54 64 74 x 6 05 15 25 35 45 55 65 75 x 7 06 16 26 36 46 56 66...

Page 40: ...gos Format ASCII GS C pL pH NULL 6 NULL C L R Hex 1D 28 43 pL pH 00 36 00 43 4C 52 Decimal 29 40 67 pL pH 00 54 00 67 76 82 Range pL 06 H fixed pH 00 H fixed Description Erases all logos stored in non volatile memory Reference FS p FS q commands GS G nL nH mL mH Name Set ticket length and cut offset related to black mark Format ASCII GS G nL nH mL mH Hex 1D 28 47 nL nH mL mH Range 0 nL nH x 256 65...

Page 41: ...n Name Set printing speed Format ASCII GS E n Hex 1D 45 n Range n 00 H 10 H 20 H 30 H Description Selects the printing speed n Printing speed 00 H Maximum speed 10 H Fast Speed 20 H Slow Speed 30 H Minimum Speed Notes This command can be used when the power supply does not give the current request less speed less average current or when an accurate outline quality is desirable less speed best outl...

Page 42: ...re version and it is not transmitted by this command Example GS L nL nH Name Set left margin Format ASCII GS L nL nH Hex 1D 4C nL nH Decimal29 76 nL nH Range 00 H nL FF H 00 H nH FF H Description Sets the left margin using nL and nH The left margin is set to nL nH x 256 x 0 125 mm Notes This command is effective only when processed at the beginning of the line This commands affects text graphic an...

Page 43: ...ters where n nL nH x 256 Regardless of the amount of data to encode always the QR code is printed on 7M format 45x45 Range nH 00 H 00 H nL FF H The maximum number of characters is undetermined as it depends on the available paper size and the type of characters to be printed numbers uppercase lowercase characters etc Example Sending the following command to the printer will result in a 2D QR barco...

Page 44: ...nce 01 H Cuts the paper in the current position 42 H Feeds paper cutting D n x 0 0625mm and cuts the paper Notes for 1 and 2 This command is effective only when processed at the beginning of a line Cutting D is the distance between the thermal head printing position and the cutter 8 4mm After cutting the ticket the printer always feeds the paper back to the printing position If this command is sen...

Page 45: ... error status status4 Continuous paper sensor status status5 Paper sensor status Default n 30 H Reference DEL EOT GS f n Name Select font for Human Readable Interpretation HRI characters Format ASCII GS f n Hex 1D 66 n Decimal29 102 n Range 00 H n 01 H 30 H n 31 H Description Selects a font for the HRI characters used when printing a bar code n selects a font from the following table n Font 00 H 3...

Page 46: ...s required to print the bar code regardless of the line spacing specified by ESC 2 or ESC 3 This command is enabled only when no data exists in the print buffer When data exists in the print buffer the printer processes the data following m as normal data After printing the bar code this command sets the print position to the beginning of the line This command is not affected by print modes The nu...

Page 47: ...espond to the shift characters or code set selection characters 7 HRI character for the function character is space 8 HRI characters for the control character 00 H to 1F H and 7F H are space Others Be sure to keep spaces on both right and left sides of a bar code Spaces are different depending on the types of the bar code Reference GS h GS w GS v 0 m xL xH yL yH d1 dk Name Print raster bit image F...

Page 48: ...cription Sets the horizontal size of the bar code n specifies the bar code width as follows n Module Width mm for Multi level Bar Code Binary level Bar Code Thin element width mm Thick element width mm 02 H 0 282 0 282 0 706 03 H 0 423 0 426 1 129 04 H 0 564 0 564 1 411 05 H 0 706 0 706 1 834 06 H 0 847 0 847 2 258 Multi level bar codes are JAN 13 EAN13 CODE 128 Binary level bar codes are ITF CODE...

Page 49: ... xL xH yL yH d1 dk Range n 01 H xL 30 H xH 00 H when 1 xL xH FF H 30 H 00 H yL FF H 00 H yH 01 H when 1 yL yH FF H 288 00 H d FF H k xL xH 256 yL yH 256 8 Total available data area 16380 bytes 16KB 4Bytes Description Define the NV bit image specified by n n specifies the NV bit image number always 1 xL xH specifies xL xH 256 8 dots in the horizontal direction for the NV bits image you are defining...

Page 50: ... and image handle software like Word Paint Photoshop etc the user can load a logo selecting in Device operation PTD55 Windows driver the correct option We suggest adjusting the logo selecting Driver mode option until get the size the layout and the arrangement desired Afterwards the user just have to reprint with the option Load Logo selected and the logo will be stored same way that last printing...

Page 51: ...Meters Number of meters the printer has printed 2 34 H Cuts Number of cuts performed 2 Range 31 H n 34 H Description Each of the counters consist of a 16 bits register except the Time On counter that has 32 bits The transmission of each counter starts by the LSB and ends at MSB In order to obtain any counter it is required to send the correspondent command and immediately read 2 or 4 bytes b0 b1 b...

Page 52: ...PTD55 SERIES OPERATION MANUAL APPENDIX A MECHANICAL DIMENSIONS NOTE All dimensions in millimeters 52 of 57 ...

Page 53: ... nil Standard type XX custom made type under agreement only AVAILABLE ACCESORIES optional Part Number Description FAPOS 1 Power supply close frame jack 2 Terminals FA 40TK Power supply open frame Cable PS2 Power supply cable 2m with jack TCS 7960 43 2010 assembled RS232 5 Serial cable 1 5m Fotocélula Paper near end and Ticket picked up photo sensors 53 of 57 ...

Page 54: ...rmat 8 x 16 dots PC437 USA Standard Europe International Character Set USA In addition they have provided an internal flash memory area to load 2 other external user tables one per format through the communication interface of the printer serial USB The internal memory structure is 54 of 57 Internal Flash memory Internal default table PC437 External loaded user tables Printer comunication Serial U...

Page 55: ... user table does not involve replacing the corresponding internal PC437 Loading a new external character table involves replacing the previous one It is not allowed to change the character table or the format on the same character line All optional standard attributes are also applicable to external user tables scaling rotation underline reverse LOADING EXTERNAL TABLES In order to load an external...

Page 56: ...loaded from our website www feniximvico com EXAMPLE Using the option 3 the character tables ISO 8859 5 Cyrillic in 12x24 format and ISO 8859 8 Hebrew in 8x16 format have been loaded which can be verified by the self test Sending the following file creates the ticket shown 56 of 57 Text in internal table A PC437 standar Europe Text in external table A ISO 8859 5 CYRILLIC Text in external table B IS...

Page 57: ...PTD55 SERIES OPERATION MANUAL c Pacífico 53 55 08027 BARCELONA SPAIN Phone Num 34 93 353 92 22 Fax Num 34 93 353 97 21 E mail bcn feniximvico com http www feniximvico com 57 of 57 ...

Reviews: