background image

 

Title 

Rev. 

Page 

HMKP-830 

Ver1.0 

P.65 

 

4)long NewRealRead(void);

 

Reads 1 byte of print status data using USB port. 
               

 

Parameters: 

                              None 

 

Return : 
Read Normal : Print Status Value 

              Read Error      : -1(Negative) 

 

5)long PrintPacket(unsigned 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 website. 
 
 

Summary of Contents for HMKP-830

Page 1: ...User Manual HMKP 830 ...

Page 2: ...r cause an impact to the product Do not store the product in the wet humid place Caution Please follow the direction in using the product as it may become the reason of malfunction serious injury or even death Please contact us to take an action when product fails Please power off during the removal of any matter Please ventilate the air circulation in closed area Please install the product away f...

Page 3: ...Firmware Restoration Rebooting Firmware 14 2 9 Communication Setting 17 2 10 Memory Switch 20 3 General Specification 23 3 1 Printer Specification 23 3 2 Power 23 3 3 Paper Supply Load 23 3 4 Weight 23 3 5 Operating Temperature Humidity 23 3 6 Storing Temperature Humidity 23 3 7 MCBF 23 3 8 Presenter Specification 23 4 Interface Specification 24 4 1 RS232C 24 4 2 USB 24 4 3 Ethernet 24 5 Commands ...

Page 4: ...1 Paper Roll Holder Paper Holder Fixture Lever Frame control board Presenter 1 Power Switch 2 Error LED 3 Power LED 4 Feed Button 5 DC 24VDC 6 Comm Connector Ethernet 7 Comm Connector Serial Female 4 pin 8 Comm Connector USB Type B 9 Near End Sensor Connector 5 6 7 8 9 REAR Image1 1 Image1 2 Image1 3 ...

Page 5: ...Title Rev Page HMKP 830 Ver1 0 P 4 1 2 External Dimension Image1 4 Standard Type TOLERANC E ...

Page 6: ...M on the SET 1 3 1 Instruction on securing from theTop side Example of Guide and Hole location on the SET SIDE Secure using two HOOKS on the FRONT side and use two SCREWS to secure the REAR side 1 3 2 Instruction on securing from the BOTTOM SIDE Example of Guide and Hole location on the SET SIDE Secure using 3 SCREWS at the BOTTOM side ...

Page 7: ...Title Rev Page HMKP 830 Ver1 0 P 6 1 4 modle Number HM 830 Frame Type K Kiosk Fixture Type C Control Board Type Option Type Blank Standard Type P Presenter Type ...

Page 8: ...Page HMKP 830 Ver1 0 P 7 2 Operation 2 1 Variable Paper Setting Image2 1 82 5mm 80mm 77mm 60mm Insert the guide into the groove of the paper entry as shown on the image to use different size of papers accordingly ...

Page 9: ...he cutter 3 Close the cover in the direction of the arrow in Image 2 4 After changing the rolls press the feed button to check if the paper is feeding properly If paper does not feed out properly open the cover and insert the paper again 2 2 Paper Change There are two ways to change the paper 2 2 1 Clamshell Methods Image2 2 Image2 3 Image2 5 Image2 4 1 Press the Open Lever outwards to open the co...

Page 10: ...ay hear the motor work noise but that is normal Image2 7 Image 2 6 3 Push the paper into the feeding entrance while the cover is shut the printer will start the auto load and it will cut the paper after feeding it to a certain point 1 Turn on the Printer s Power 2 Cut out the end of the paper as shown in Image 2 7 ...

Page 11: ...he cutter s blade is blocking the paper path 2 If cutter s blade is blocked you can recycle the printer s power to return the blade to the proper place HMK 830 hardly suffer from the cutter jam phenomenon When cutter s blade is properly secured When cutter s blade is blocked Image2 8 2 4 Presenter Jam Removal In case of Jam in the presenter slide the cover open and remove the jam ...

Page 12: ...sted material on the self test print is shown below Model Name Firmware Version and Created Date Interface Setting Sample Print HMC 830 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 13: ...l receiving data This would be useful when developing an application because this notifies the transmission status Prints if 12 digits is 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 14: ... 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 error so you need to termi...

Page 15: ...f JP2 using 2 5mm pin header 3 Turn on the power after connecting the data cable 4 Set the ports on the provided booting program then select at91sam4e16 ek at the select your board prompt and click on the Connect Button Use only one data cable for connection You can reduce the load time when you use USB port 5 Please release the jumper short after running the Booting Program If you skip this proce...

Page 16: ...File open icon next to Send File Name field to select the target model s firmware 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 button on the prompt ...

Page 17: ...Title Rev Page HMKP 830 Ver1 0 P 16 8 Under Scripts field set the value to Boot from Flash FPNVM1 and then click on Execute 9 Restart the printer by turning the power off and back on ...

Page 18: ...ol 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 the FEED button more than 1 seconds to confirm Enter less than 1 seconds to select menu For example if you d like to change the ...

Page 19: ...y switch utility program Caution All of the information stored in memory switch will be deleted during the settings so please set again the 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...

Page 20: ...tab select HMKP 830 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 Setting and the printer will work in the set value ...

Page 21: ...ke the 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 2byte 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 Menu Font...

Page 22: ...etting the distance from the black 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 ...

Page 23: ...ease 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 24: ...Head Logic Voltage 3 3V 5 Head Control Paper Sensor Head Up Sensor 3 3 Paper Supply Load 180 gf cm and up When operating in 1200pps 3 4 Weight About 1 016g 3 5 Operating Temperature Humidity 1 Temperature 0 40 2 2 Humidity 40 80 RH Non precipitated status Print Quality may differ with running environment 3 6 Storing Temperature Humidity 1 Temperature 25 60 2 Humidity 40 90 RH 3 7 MCBF 1 Thermal He...

Page 25: ...lk IN End point 6 Bulk OUT End point 2 Full Speed Max Packet Size 64 Byte Bulk OUT 64 Byte Bulk IN 4 3 Ethernet 1 Comm Protocol TCP IP 2 Comm Standard IEEE 802 3 10BASE T and IEEE 802 3u 100BASE TX 3 Connector RB1 125BAG1A UDE 4 Pin Arrangement Pin No Signal I O Description 1 TD OUT Transmit Data 2 TD OUT Transmit Data 3 TCT OUT 4 N C None Connection 5 N C None Connection 6 RCT IN 7 RD IN Receive ...

Page 26: ...ce 34 ESC 3 Line 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 Extend...

Page 27: ...eld 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 Raster 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 Line ON 55 SUB F Line OFF 56...

Page 28: ...return 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 nex...

Page 29: ... printed 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 available SUB b n Function Black mark detection Code ASCII SUB b n Hex 1A 62h n Decimal 26 98 ...

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: ...al 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 only valid 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 Rnage 0 nL nH 256 65535 0 nL 255 0 nH 255 Initial Value nL 0 nH 0 Descript 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: ...5 0 nH 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 Triple Twice Once Single Density Double Dens...

Page 34: ...itial 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 Once Twice Single Density Double Density Once Once ...

Page 35: ...ormat 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 Descr...

Page 36: ...eding 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 Reservatio...

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: ... 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 paper partially Caution...

Page 39: ...ment 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: ...orean 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 font as twice size...

Page 41: ... xH 256 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 capacity Required to delete all if it is registered again Renewable registration deletion at 100000 cycles It s not recommended frequent registration deletion due to memory damage You can register very easily if you download the program of logo registration Register image FS p ...

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: ... 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 48h n Decim...

Page 44: ...lue 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 the height of the barcode Format ASCII GS h ...

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 7...

Page 46: ...25mm 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 Description 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 Rec...

Page 47: ...status 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 N...

Page 48: ...andard mode Format ASCII ESC S Hex 1B 53h Decimal 27 83 Descript Switches from page mode to standard mode ESC L Name Select page mode Format ASCII ESC L Hex 1B 4Ch Decimal 27 76 Rnage 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 Rnage 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: ...L 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 ...

Page 51: ...e 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: ...mand so it requires caution Like bit image data DLE EOT n Name Realtime status transmission Format ASCII DLE EOT n Hex 10h 04h n Decimal 16 4 n Rnage n 2 Descript It transmits 1 byte of printer status value upon receiving this command Caution If a corresponding data is received as this command the printer will run the identical operation to this command so it requires caution Like bit image data d...

Page 53: ...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 data dot line of vertical at image data d is a data for raster bit image 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 by...

Page 54: ...nction Buzzer Sound Length Setting Format ASCII SUB z n1 n2 Hex 1A 7Ah n1 n2 Decimal 26 122 n1 n2 Rnage 0 n1 50 또는 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 H...

Page 55: ...printing 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: ...56 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 chose Caution Please use this command once you do ...

Page 57: ...ou 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 Rnage 0 n 8 Initial Value n 0 Descript You can set up the code page according to the following table Caution Valid if set as SUB x command 1 byte mode Invalid if 2 byte mode Korean mode n Code Pa...

Page 58: ...Caution If a corresponding data is received as this command the printer will run the identical operation to this command so it requires caution Like the bit image data 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 ...

Page 59: ...own list to set the Density Cutting Option and Print Speed Setting No Cut No Cut just Print Full Cut Full Cut after print Partial Cut Partial Cut after print Black Mark Search Full Cut The cutting position from the black mark will be set by the memory switch All printed materials would be different depending on the print data size due to printing in graphic so by fixing the setting to the below se...

Page 60: ...sed 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 FontS...

Page 61: ...e 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 Size 60 x...

Page 62: ...Title Rev Page HMKP 830 Ver1 0 P 61 ...

Page 63: ... Cutting Location Start of blackmark point Cutting Location L 0 15 1 Page 2 Page Blackmark Located on the back side 14 13 60 80 150 0 150 Cutting Location Front of blackmark back of blackmark location 60 80 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 position ...

Page 64: ...k rear side Start of blackmark point L 0 15 0 150 Front of blackmark 60 80 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 Locatio...

Page 65: ...nter 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 data 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 PrintCm...

Page 66: ...igned 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 67: ...xed 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 68: ...ission complete message then the transmitted communication parameter will be stored in the non volatile memory 8 Turn off the printer s power 9 Turn on the printer while pressing down on the FEED button The Self Test Print will start and the communication parameter that you ve set will be printed on the paper 10 Check the set User Value for error and reboot the printer to boot into the User Value ...

Page 69: ... there will be a parameter value which you ve automatically obtained from the Dynamic IP DHCP Mode You can use this Value with the application in use Caution When booting into Dynamic IP DHCP Mode the communication parameter that you ve obtained automatically may change on each use so you need to pay attention for the change Only use this mode when there s a conflict with network IP address during...

Page 70: ...Title Rev Page HMKP 830 Ver1 0 P 69 No Date History Page Ver 1 2020 03 03 Launched New Version 1 0 ...

Reviews: