background image

 

 

User Manual 

 

 
 
 
 

 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 

 

HMK-056 

HMV-056 

Summary of Contents for HMK-056

Page 1: ...User Manual HMK 056 HMV 056 ...

Page 2: ...n impact to the product Prevent the product from the wet or humid environment Caution Please follow the directions while using the product or it may cause malfunctions serious injuries or even death When you find any problem contact us and take an action Please power off during cleaning of the device Please ventilate the space where the product works in often Please install the product away from t...

Page 3: ... 13 3 6 Firmware Update 14 3 7 Firmware Restoration 15 3 8 Communication Setting 18 3 9 Memory Switch Program 21 4 Interface Specification 24 4 1 RS232C 24 4 2 USB 24 5 Commands 25 6 Windows Driver 57 6 1 Printer Function Configuration 57 6 2 Paper Supply Configuration 58 6 3 Making New Paper Format 59 7 Ticket Specification 61 7 1 Black Mark on the left 61 7 2 Black Mark on the right 62 8 Command...

Page 4: ...reanB 16x16 2 00 x 2 00mm Numbers of Characters English 95 Extended Character Code page 128 x 10 Barcode 1 Dimension UPC E EAN8 EAN13 ITF CODABAR CODE39 CODE93 CODE128 2 Dimension PDF417 QR CODE Auto Cutter Guillotine Type Full Partial Cut Interface Serial RS232C USB USB2 0 Full Speed Receiving Buffer Size 4Kbyte SMPS Specifications Input Voltage 100V 24V AC Output Voltage 24V DC Output Current 2 ...

Page 5: ...arts and External Dimensions 2 1 Component Overview Frame Cntrol board installed Auto Cutter Open Lever Image2 1 1 2 3 1 Power LED 2 Error LED 3 Feed Button 4 Power Switch 5 DC 24VDC 6 Comm Connector USB Type B 7 Comm Connector Serial Female 4 pin 8 Near End Sensor Connector Image2 2 ...

Page 6: ...Model Rev Page HMK 056 Ver1 01 5 2 2 External Dimensions 2 2 1 HMK 056 ...

Page 7: ...Model Rev Page HMK 056 Ver1 01 6 2 2 2 HMV 056 ...

Page 8: ...Model Rev Page HMK 056 Ver1 01 7 2 3 Model Number HM 056 Frame Type K Kiosk Fixture Type V Vertical Type C Board Type ...

Page 9: ...v Page HMK 056 Ver1 01 8 3 Operation 3 1 Loading Papoer 2 Release the left lever and the paper roll are loaded 1 Push the left lever and move the paper roll down in the direction of the arrow Image3 1 Image3 2 ...

Page 10: ...in until it sticks out the auto cutter 3 Close the cover in the direction of the arrow in Image 3 6 After changing the paper rolls you can press the feed button to check whether it works properly If the paper does feed out well open the cover and inserthe the paper again 3 2 Paper Changing You can change the paper roll in two ways 3 2 1 Clamshell Method Image3 3 Image3 4 Image3 5 Image3 6 ...

Page 11: ...e The motor makes some noises which are normal 3 When the cover is closed push the paper into the feeding entrance and the printer will start the auto loading It will cut the paper after feeding it to a certain point Image3 7 1 Turn on the power Image3 8 2 Cut the end of the paper like the Image 3 8 ...

Page 12: ...llowing the below steps 1 Turn off the power and check whether the paper path is blocked by the auto cutter s blade 2 If the cutter s blade is blocked you can reboot the printer and it returns to the proper place When cutter s blade is properly secured When cutter s blade is blocked Image3 9 ...

Page 13: ...ton Self test shows you the below information Model Name Firmware Version and Created Date Interface Configuration Sample Print HMC 056 Control Board Firmware VerX XX Create 20XX XX XX Interface and Setting information Interface USB RS 232C Baud Rate 19200 Data Bit 8 Bit Parity None Stop Bit 1 or 2 Peripheral Setting Information USB Status B Auto Cutter BuiIt in ...

Page 14: ...eceiving data This would be useful when developing an application because this notifies the transmission status Prints when 12 digits are received Data under 12 digits will print when you press the feed button Control Code Below 1F16 prints as Prints as when 8016 or above Print Sample 16 hexadecimal indicator ASCII indicator HEX DUMP MODE 41 42 43 44 45 46 47 47 49 A B C D E F G H I 30 31 32 33 34...

Page 15: ...me and communication port through the provided update program The ERROR LED will turn off and it will turn back on few seconds later and the update will start when the LED starts flashing rapidly Do not turn off the printer until the update is complete 4 Update Complete notification will display when the process is complete If the ERROR LED flashes slowly during the update then the process is in e...

Page 16: ... the data cable and turn on the power 4 Set the port on the provided booting program and then select at91sam4e16 ek at Select your board prompt and click on Connect button Either of RS 232 or USB is available for data cable USB can save your time on loading 5 It is demanding to release the jumper short after running the booting program If you miss this process the data will disappear after the fir...

Page 17: ...odel Rev Page HMK 056 Ver1 01 16 and click on Send File Button Caution Do not modify other parameter s value 7 There will be a prompt after the file transmit is complete click YES Y button on the prompt ...

Page 18: ...Model Rev Page HMK 056 Ver1 01 17 8 Under Scripts filed set the value to Boot from Flash GPNVM1 and then click on Execute 9 Restart the printer by turning the power off and back on ...

Page 19: ...trol 4 Hex Dump Mode 5 Print Density 6 Auto Melody 7 Cut Mode 8 Auto Buzzer 9 Print Speed Select and then Enter Enter Press the feed button once for more than 1second Select Press the feed button many times less than 1second as menu number Exit Turn power off then on Press feed button for more than 1 second to Enter press less than 1 second to select item For example if you d like to change the Au...

Page 20: ...mroy switch utility program Caution All information stored in memory switch will be deleted during the setting and please reconfigure Code Page and Print Option as well 1 Start the printer in initial settings mode Operation Methods for starting the initial settings mode If you turn on the printer while pressing down on FEED button for 2 seconds or more the PE LED and the ERROR LED will light flash...

Page 21: ...ect HMK 056 under Special Model Option drop down menu Then select the relevant contents in each appearing forms and click on the Start Transmit Button Turn off the power to the printer then back on after finishing the configuration and the printer will work in the configured value ...

Page 22: ... change Memory SW Set Value Description SW1 p OR m SW2 0 1200 OR 0 136 SW3 248 4000 SW4 Basic Code Page Setting one of the Code Page out of the option to be a default SW5 Basic Font 2 byte code will set the default from Korean 24x24 Korean 16x16 Japanese 24x24 Chinese 24x24 1byte code will set the default from ASCII 12x24 ASCII 8x16 9x16 SW6 Reserve SW7 Reserve SW8 Reserve Code Page Setting Font S...

Page 23: ...lack mark point to the cutting position When SW1 is p You can set from 0 1200 0 150mm When SW1 is m You can set from 0 120 0 15mm Indicates 0 125mm per set value ex When set on 100 100 x 0 125 12 5mm SW1 and SW2 are also used in Windows Driver to set the Cutting option to Black Mark Search Full Cut Windows Driver use DC3 i command ex ABCD ABCD When SW1 p SW2 100 When SW1 m SW2 100 Front Printing S...

Page 24: ...ase reference the ticket standards 7 for the detailed information ex ABCD Front Printing Side 2 Memory Switch Modification Check After adjusting the memory switch check the modified details by running a self test When you turn on the power while holding down the FEED button start self test and stop printing Press the FEED button one more time to display the contents of the memory switch 0 15mm OR ...

Page 25: ...4 8 Cable DSUB9 Female 4pin customized cable Printer 4 2 USB 1 Standard USB 2 0 Compatible Full Speed 12Mb response 2 Connector Type B 3 Cable USB2 0 Standard Cable 4 Data Methods Bulk IN Bulk OUT Bulk IN End point 6 Bulk OUT End point 2 Full Speed Max Packet Size 64 Byte Bulk OUT 64 Byte Bulk IN Pin Signal I O 1 TxD Output 2 RxD Input 4 GND 3 RTS Output HOST Pin Signal I O 1 DCD 2 RxD Input 3 TxD...

Page 26: ...ESC 3 Column Space 34 ESC Printer Reset 34 ESC E Bold Format 34 ESC G Double Print 35 ESC J FEED 35 ESC j BACK FEED 35 ESC M Font 35 ESC R International Character 36 ESC a Print Range 36 ESC d Print and Row Unit FEED 37 ESC 180 Rotation 37 ESC i Paper Cutting 37 ESC m Paper Cutting 37 FS Collective Designation of Korean Character Mode 38 FS Designating Korean Character Mode from Graphic Extended M...

Page 27: ... W PAGE MODE Character Field Setting 49 ESC FF Execute Page Area s Character 50 DLE ENQ Real Time Buffer Clear 51 DLE EOT Transmit Real Time Printer Status 51 GS v Roster Bit Image Horizontal 52 SUB B 2D Barcode 53 SUB z Buzzer Sound Time Setting 53 DC3 i Cutting after Blackmark Auto detect 54 SUB 1 Select Line 1 55 SUB 2 Select Line 2 55 SUB W Data Line WRITE 55 SUB C Data Line CLEAR 55 SUB O Lin...

Page 28: ...eturn accordingly to fixed data PAGE MODE Only the fixed data can be conducted according to the fixed data Caution The LF is ignored behind of CR CAN Function Cancel print data in page mode Code ASCII CAN Hex 18h Decimal 24 Range Description The print data will be deleted in print area HT Function Horizontal tab Code ASCII HT Hex 09h Decimal 9 Range Description Moves the print position to the next...

Page 29: ...ed SUB p n Function Offline printing in paper detection Code ASCII SUB p n Hex 1A 70h n Decimal 26 112 n Range 0 n 1 Initial Value n 1 Description n 0 Does not transition to offline when paper is empty data communication available n 1 Transition to offline when paper is empty data communication not avaiable SUB b n Function Black mark detection Code ASCII SUB b n Hex 1A 62h n Decimal 26 98 n Range...

Page 30: ...speed Code ASCII SUB s n Hex 1A 73h n Decimal 26 82 n Range 1 n 14 Initial Value n 14 Description n 1 Prints in Speed 70mm s n 11 Prints in Speed 170mm s n 2 Prints in Speed 80mm s n 12 Prints in Speed 180mm s n 3 Prints in Speed 90mm s n 13 Prints in Speed 190mm s n 4 Prints in Speed 100mm s n 14 Prints in Speed 200mm s n 5 Prints in Speed 110mm s n 6 Prints in Speed 120mm s n 7 Prints in Speed 1...

Page 31: ...l Value n 0 Description Set in n x 0 125mm the space amount on the right side of ASCII character Caution Set the Korean space in FS S n ESC n Function Set character all at once Code ASCII ESC n Hex 1B 21h n Decimal 27 33 n Range 0 n 255 Initial Value n 0 Description Set font character in the same time Caution If it s Korean the Font the Stress is valid only Bit Function Hex Decimal 0 0 Font 12x24 ...

Page 32: ...ings Code ASCII ESC nL nH Hex 1B 24h nL nH Decimal 27 36 nL nH Range 0 nL nH 256 65535 0 nL 255 0 nH 255 Initial Value nL 0 nH 0 Description Move the position from the space of left ending to nL nH 256 0 125mm Move the position into the space of left ending if the area is over ...

Page 33: ... 3 0 d 255 Description Due to fixing nL nHx256 Printing from bit data to graphic data in Mode m m Mode Dots in vertical Dots in horizontal Data k 0 8dots Single Density 8 224 nL nH 256 1 8dots Double Density 8 448 nL nH 256 32 24dots Single Density 24 224 nL nH 256 3 33 24dots Double Density 24 448 nL nH 256 3 8 dots Mode D1 D2 D3 MSB LSB D1 D2 D3 Threefold Double Threefold Single Single Density D...

Page 34: ... Value n 0 Description Set Cancel underline n Function 0 Cancel underline 1 Set underline in thick 0 125mm 2 Set underline in thick 0 25mm 3 Set underline in thick 0 375mm 4 Set underline in thick 0 5mm 5 Set underline in thick 0 625mm 6 Set underline in thick 0 75mm 7 Set underline in thick 0 875mm D1 D4 D7 D2 D5 D8 D3 D6 D9 Single Double Single Density Double Density Double Single ...

Page 35: ...rmat ASCII ESC 3 n Hex 1B 33h n Decimal 27 51 n Range 0 n 255 Initial Value n 0 Descript Set the interval of line in n x 0 125mm ESC Name Rest printer Initialize the printer Format ASCII ESC Hex 1B 40h Decimal 27 64 Range 0 n 255 Descript Clear buffer Initialize all parameter ESC E n Name Set the font in thick Format ASCII ESC E n Hex 1B 45h n Decimal 27 69 n Range 0 n 255 Initial Value n 0 Descri...

Page 36: ...eeding in n x 0 125mm ESC M n Name Select font Format ASCII ESC M n Hex 1B 4Dh n Decimal 27 77 n Range 0 n 2 Initial Value n 0 Descript Select printer font n Precedence 4bits Korean fonts Subordinate 4bits ASCII 0000 Korean 24x24 Gothic 0000 12x24 0001 Korean 16 x 16 General 0001 8x16 9x16 0010 Japanese 24 x 24 Bodoni 0010 56x88 big fonts only 0 9 numbers 0011 Chinese 24 x 24 Gothic 0011 Reservati...

Page 37: ...international character as 14 units n Country Name 0 USA 1 France 2 Germany 3 England 4 Denmark1 5 Sweden 6 Italian 7 Spain1 8 Japanese 9 Norway 10 Denmark2 11 Spain2 12 Latin America 13 Korea ESC a n Name Align the printing Format ASCII ESC a n Hex 1B 61h n Decimal 27 97 n Range 0 n 2 Initial Value n 0 Descript Align the printing position n Printing Position 0 Left 1 Middle 2 Right ...

Page 38: ...t ASCII ESC d n Hex 1B 7Bh n Decimal 27 123 n Range 0 n 255 Initial Value n 0 Descript Set the reverse image Caution Move the standard from the left to the right n Function 0 Cancel 180 1 Set 180 ESC i Name Full Cutting Format ASCII ESC i Hex 1B 69h Decimal 27 105 Descript Cutting the paper completely ESC m Name Partial Cutting Format ASCII ESC i Hex 1B 6Dh Decimal 27 109 Descript Cutting the pape...

Page 39: ...ent is not required in Korean mode due to auto detection Pls refer the command of SUB x n FS Name Cancel Korean mode 2Bytes mode Format ASCII FS Hex 1C 2Eh Decimal 28 46 Descript Cancel Korean mode 2Bytes mode Caution In case of cancel 2 bytes mode in extended graphic mode Appointment is not required due to auto detection in Korean mode Ref SUB x n command Bit Function Hex Decimal 0 00h 0 1 00h 0 ...

Page 40: ... space between Korean characters Format ASCII FS S n1 n2 Hex 1C 53h n1 n2 Decimal 28 83 n1 n2 Range 0 n1 255 0 n2 255 Initial Value n 0 Descript Set the space between Korean characters Set the left space in n1 0 125mm Set the right space in n2 0 125mm FS W n Name Set the font size in Korean Format ASCII FS W n Hex 1C 57h n Decimal 28 87 n Range 0 n1 255 Initial Value n 0 Descript Set the Korean fo...

Page 41: ...6 8 yL yH Set the vertical dot in xL xH 256 8 k Bitmap image of a N V logo Caution Register various as much as NV s capa Required to delete all if it is registered again Renewable registeration deletion at 100000 cycles It s not recommended frequent registeration deletion due to memory damage You can register very easily if you download the program of logo registeration Register image FS p n m Nam...

Page 42: ...tension in Vertical GS K pL pH fn m fn 49 Name Set the printing density Format ASCII GS K pL pH fn m Hex 1D 28h 4Bh pL pH fn m Decimal 29 40 75 pL pH fn m Range pL 2 pH 0 fn 49 0 m 5 251 m 255 Initial Value m 0 Descript Set the printing density m Density m Density 0 Standard 251 Level 5 1 Level 1 252 Level 4 2 Level 2 253 Level 3 3 Level 3 254 Level 2 4 Level 4 255 Level 1 5 Level 5 Caution In cas...

Page 43: ...t division m Partial operation 0 Initial setting first division 1 First Division 2 Second Division GS B n Name Reverse printing in black Format ASCII GS B n Hex 1D 42h n Decimal 29 66 n Range 0 n 255 Initial Value n 0 Descript Reverse printing in black n 0 standard printing n 1 reverse printing in black GS H n Name Select the printing position of HRI characters Barcode Format ASCII GS H n Hex 1D 4...

Page 44: ...al Value m 0 Descript Select a mode for cutting paper m Function 0 Full Cutting 1 Partial Cutting GS W nL nH Name Set printing area width Format ASCII GS W nL nH Hex 1D 57h nL nH Decimal 29 87 nL nH Rasnge 0 nL 255 0 nH 255 Initial Value nL nH 256 448 56mm nL 0 nH 0 Descript Set printing area width from the left margin in nL nH 256 0 125mm GS h n Name Select barcode height Format ASCII GS h n Hex ...

Page 45: ...90 d 32 36 37 43 45 46 47 5 ITF I of 2 5 1 n Only even number 48 d 57 6 CODABAR 1 n 48 d 57 65 d 68 d 36 43 45 46 47 58 7 CODE128 2 n 255 Check digit Stop character Is automatically added 0 d 127 Caution In CODE128 add set as 2bytes when the special character as below Special character Barcode data ASCII Hex Decimal SHIFT S 7Bh 53h 123 83 CODE A A 7Bh 41h 123 65 CODE B B 7Bh 42h 123 66 CODE C C 7B...

Page 46: ...625mm 3 0 5mm 0 375mm 1mm 4 0 625mm 0 5mm 1 25mm Multi Level barcode UPC E EAN13 EAN8 2 level barcode CODE39 ITF CODABAR GS r n Name Transmit status Format ASCII GS r n Hex 1D 72h n Decimal 29 114 n Range n 1 Descript Transmit current status of printer Caution The status is not ready till the printer is offline If the receiver buffer is full at the printer offline this command is not able to recei...

Page 47: ...tatus back 1 Enable automatic status back Status transmission data Bit Status Hex Decimal 0 0 Paper 1 No paper 00h 01h 0 1 1 0 Printer head down 1 Printer head up 00h 02h 0 2 2 0 Paper w o jam 1 Paper with jam 00h 04h 0 4 3 0 Paper adequate 1 Paper Near End 00h 08h 0 8 4 0 Print complete 1 Print or Feeding 00h 10h 0 16 5 0 Cutter no error jam 1 Cutter error jam 00h 20h 0 32 6 0 unused 00h 0 7 0 No...

Page 48: ...ndard mode Format ASCII ESC S Hex 1B 53h Decimal 27 83 Descript Swtiches from page mode to standard mode ESC L Name Select page mode Format ASCII ESC L Hex 1B 4Ch Decimal 27 76 Range 0 n 255 Initial Value n 0 Descript Switches from standard mode to page mode ...

Page 49: ...in page mode Format ASCII ESC T n Hex 1B 54h n Decimal 27 84 n Range 0 n 3 Initial Value n 0 Descript Select the print direction start position in page mode n 0 Left Right n 1 Bottom Top Feeding Feeding n 2 Right Left n 3 Top Bottom Feeding Feeding ABCD ABCD D B ABCD ABCD ...

Page 50: ... C0h dxH 01h dyL dyH 256 1200 150mm dyL B0h dyH 04h Descript Set printing area starting point Horizontal starting point xL xH 256 0 125mm Vertical starting point yL yH 256 0 125mm Horizontal size dxL dxH 256 0 125mm Vertical size dyL dyH 256 0 125mm Caution The maximum page width is available 56mm The maximum page length is available 150mm Barcode graphic data is executed as per standard line If t...

Page 51: ... page area Format ASCII ESC FF Hex 1Bh 0Ch Decimal 27 12 Range Please edit the received data at the page area The page area will be printed all at once when you use this command Descript The page area remains Please use the command ESC S If you want all clear ...

Page 52: ...e paper jam cutting jam has to reset compulsory DLE EOT n Name Realtime status transmission Format ASCII DLE EOT n Hex 10h 04h n Decimal 16 4 n Range n 2 Descript The realtime send a byte of printer status when this command is conducted Caution It is only valid once the DIP SW1 is up up on Please refer to the table of the printer status If the offline is valid and the printer receive the data same...

Page 53: ...xH 256 yL yH 256 Descript The raster bit image will be recognized in mode m xL xH appoint the data byte of horizontal at image data yL yH appoint the dta dot line of vertical at image data d is a data for raster bit m Mode Expansion 0 48 Normal X1 1 49 Horizontal expansion X2 2 50 Vertical expansion X2 3 51 Horizontal Vertical expansion X2 Horizontal Vertical Ex Expansion image xL xH 256 32 byte 3...

Page 54: ...nction Buzzer Sound Length Setting Code ASCII SUB z n1 n2 Hex 1A 7Ah n1 n2 Decimal 26 122 n1 n2 Range 0 n1 50 or 0 n2 50 Description Setting the buzzer sound length in 100msec 0 1sec unit Max 5sec n1 Buzzer ON time n2 Buzzer OFF time Buzzer will not sound when n1 is set to 0 Buzzer Sound Cancel Setting n2 Number of data 1 n2 255 n3 Size of barcode 3 Horizontal 3 4 Horizontal 4 5 Horizontal 5 6 Hor...

Page 55: ...inting the printer will automatically detect the blackmark and store the information in the internal memory switch and then reads the information registered in SW1 SW2 to cut the paper at the designated position Refer to 2 8 Memory Switch for the detailed information Use the provided Memory Switch Utility Program to register data on the Memory Switch ...

Page 56: ... 0 kL kHx256 448 0 kL 255 0 kH 3 Descript It writes 1 from nL nHx256 to kL kHx256 Caution If the range is exceed the data will be ignored If the writing is set up the data is not erased until you do power off or you receive the command the rule clear SUB C Name Rule CLEAR Format ASCII SUB C Hex 1A 43h Decimal 26 67 Descript It clears all of data as zero you choosed Caution Please use this command ...

Page 57: ...ON if you print the character or the graphic Please use this command if you print the rule between row and row at the space ESC t n Name International Code Page Format ASCII ESC t n Hex 1B 74h n Decimal 27 116 n Range 0 n 8 Initial n 0 Descript You can set up the code page according to the following table Caution SUB x command 1 byte valid Korean mode is not invalid n Code Page 0 PC437 US 1 KANA J...

Page 58: ...can select on each dropdown list to set the Density Cutting Option and Print Speed Setting All are printed graphically so the print quality may vary depending on the amount of data printed Print to meet the criteria below for smooth printing Print Width 60mm Set the speed to 150mm No Cut No Cut just Print Full Cut Full Cut after print Partial Cut Partial Cut after print Black Mark Search Full Cut ...

Page 59: ...ed when the printed material length is irregular As you can see from the example below the feeding will not happen even if you set the margin through the Visual Basic so you d have to set the FontSize smaller and print to set the cutting position through Dummy Form Feeding Example Example Dummy form feeding to cutting position Printer Print vbLf Printer Print vbLf Printer Print vbLf Printer FontSi...

Page 60: ...lick on the server property under File Menu 2 Select the STANDARD Size 80 x 400mm from Form Location 3 Check the Create New Form box 4 Click the paper size field and input 6 0cm W 15 0cm H Make sure to make no changes in the print area margin 5 Save the form after creating a custom name for the size i e Ticket Size 60 x 150mm 6 Go to Basic Print Setting Advance then Select the newly created Ticket...

Page 61: ...Model Rev Page HMK 056 Ver1 01 60 ...

Page 62: ...nt Side 33 Cutting Location Start of blackmark point Cutting Location L 0 15 1 Page 2 Page Blackmark Located on the back side 14 13 60 150 0 150 Cutting Location Front of blackmark back of blackmark location 60 B 5 15 min 11 Note 1 Note 1 Note3 15 500 Note2 L 0 15 Note1 B Blackmark height L cutting location in front of blackmark L B 15 meaning it should range within L 15 B Note2 When cutting posit...

Page 63: ... rear side Start of blackmark point L 0 15 0 150 Front of blackmark 60 B 5 15 min 11 Note3 15 500 Note1 Note1 Note1 B Blackmark height L cutting location in front of blackmark L B 15 meaning it should range within L 15 B Note2 L 0 15 Note2 When cutting position is front of blackmark condition should be the same as Note 1 Note3 In case of cutting position is behind the blackmark Cutting Location ba...

Page 64: ...witch to Ticket Mode You can switch to DIP2 SW1 for ticket page mode and receipt line mode You can find it whether the printer is on Ticket Mode or Standard Mode when you print self test 1 Ticket Mode 2 Standard Mode ABCD한글 ABCD한글 ABCD한글 Printing Direction Ticket Printing Format Page Mode Reciept Printing Format Line Mode Direction1 ABCD한글 Direction3 ...

Page 65: ...scription Specify the coordinate of printing area Horizontal starting point x1 1000 x2 100 x3 10 x4 1 0 125mm Vertical starting point y1 1000 y2 100 y3 10 y4 1 0 125mm Caution The maximum printing width is 56mm and the maximum printing length is 150mm x y is designated as four digits each and if less than 1000 fill the front digit with zero Note that the value of x y is String not Decimal or Hex F...

Page 66: ...er Open the USB port to Printer Model HMK 081 Parameters SelPrinter Printer Model Name Return Open Normal 0 Open Error 3 negative 2 long PrintStr LPCTSTR data Prints String Parameters data String datas Return Print Normal 1 Print Error 0 To prevent the loss of data for the print timeout please use the function NewRealRead to check the status and go to the next step when it s normal 3 long PrintCmd...

Page 67: ...gned char PacketBuf unsigned long PacketLength The sending data buffer outputs a USB port for the specified data length Parameters PacketBuf TransmitDataBuffer Pointer PacketLength Transmit data length not to exceed up to 64 bytes Return Normal Output 1 Output Error 0 Do not use functions other than those listed above as they are for debug For more information download the sample program from our ...

Page 68: ...ed signal from the windows driver data and the USB interface data In this case set it to without using Printer SpoolFunction under the printer s property There won t be an error during the receiving because it would only work through USB interface when receiving Windows Application Data Flow Chart Window Application Printer Window Driver Graphic DLL Interface OCX Driver Command Character USB port ...

Page 69: ...o Date History Page Ver 1 2020 07 30 Launched New Version 1 0 2 2020 07 31 Added the pinout number in the component overview Modified the interface specification 1 01 3 2020 08 14 Modified the pinout number in the component overview 1 02 ...

Reviews: