~g2fk; /****************************************************************************** Module: AWIN-CAPI.TXT All commands for PPLA in Dynamic Link Library for Windows Notices: Copyright (c) 1998-2006 ARGOIMPREX Version: 3.04AW 2006/02/15 ******************************************************************************/ ¥Ø¿ý =============================================================================== A_Bar2d_Maxi() => ¦L¥X¤@Ó Maxi Code 2D Barcode¡C A_Bar2d_Maxi_Ori() => ¦L¥X¤@Ó Maxi Code 2D Barcode¡A§t±ÛÂਤ«×¡C A_Bar2d_PDF417() => ¦L¥X¤@Ó PDF-417 2D Barcode¡C A_Bar2d_PDF417_Ori() => ¦L¥X¤@Ó PDF-417 2D Barcode¡A§t±ÛÂਤ«×¡C A_Bar2d_DataMatrix() => ¦L¥X¤@Ó DataMatrix 2D Barcode A_Clear_Memory() => ²M°£ Printer ¤º RAM ¤Î Flash Memory ªº¸ê®Æ¡C A_ClosePrn() => Ãö³¬ Printer ¤u§@¡C A_CreatePrn() => ¶}±Ò Printer ¤u§@¡C A_Del_Graphic() => §R°£Àx¦s¦b¦Lªí¾÷ RAM ©Î Flash Memory ¤ºªº¹Ï§Î¡C A_Draw_Box() => µe¤@ӮءC A_Draw_Line() => µe¤@±ø½u¡C A_Feed_Label() => °e¤@±i¼ÐÅÒ¡C A_Get_DLL_Version() => ¨ú±o©Î¨q¥X¦¹¨ç¼Æ®wª©¥»¸ê°T¡C A_Get_DLL_VersionA() => ¨ú±o©Î¨q¥X¦¹¨ç¼Æ®wª©¥»¸ê°T¡C A_Get_Graphic() => ¦C¦L¤@ӹϧΨñN¹Ï§ÎÀx¦s¦b¦Lªí¾÷¤ºªº RAM ©Î Flash Memory¡C A_Get_Graphic_ColorBMP()=> Âà´« BMP ¹ÏÀɱm¦âÅܦǶ¥¡A¨Ã±N¹Ï§ÎÀx¦s¦b¦Lªí¾÷ ¤ºªº RAM ©Î Flash Memory¡C A_Initial_Setting() => «e¸m³B²z¡C A_Load_Graphic() => ¦C¦L¤@ӹϧΡC A_Open_ChineseFont() => ¶}±Ò¨Ï¥Î¤¤¤åÂI¯x°}¦r«¬ÀÉ®× (16*15 ©M 24*24)¡C A_Print_Form() => ¦C¦L¤@Ó FORM (ªí®æ)¡A¨Ã¿é¤J FORM ªº¦WºÙ¡A¨Ã³]©w¼e¤Î °ªªº¤ñ¨Ò©M¸õ¸¹¦¸¼Æ»P¦C¦L¥÷¼Æ¡C A_Print_Out() => ¿é¥X©Ò¦³¸ê®Æ¨Ã³]©w¼e¤Î°ªªº¤ñ¨Ò©M¸õ¸¹¦¸¼Æ»P¦C¦L¥÷¼Æ¡C A_Prn_Barcode() => ¦L¥X¤@Ó±ø½X¡C A_Prn_Text() => ¦L¥X¤@¦æ¤å¦r¡C A_Prn_Text_Chinese() => ¦L¥X¤@¦æ¤å¦r¡A¨Ï¥Î¤¤¤åÂI¯x°}¦r«¬ÀÉ®× (16*15 ©Î 24*24)¡C A_Prn_Text_TrueType() => ¦L¥X¤@¦æ True Type Font ¤å¦r¡C A_Prn_Text_TrueType_W() => ¦L¥X¤@¦æ True Type Font ¤å¦r¡A¨Ã±±¨î¦r«¬ªº¼e¤Î°ª¡C A_Set_Backfeed() => ¼ÐÅÒ¦^¦¬°±¤î¦ì¸m¡C A_Set_BMPSave() => Àx¦s¼v¹³¹ÏÀÉ¡C A_Set_Cutting() => ³]©w«ü©w¦L¥X´X±i«á¤Á¤M¤Á¤@¦¸¡C A_Set_Darkness() => ³]©w¼ö·PÀY¦C¦L¼ö«×¡C A_Set_DebugDialog() => ³]©w°£¿ùÀô¹Ò¡C A_Set_Feed() => ³]©w¼ÐÅүȰe¥Xªº³t«×¡C A_Set_Form() => Àx¦s¨Ã¦C¦L FORM (ªí®æ)¡C A_Set_Margin() => ³]©w¶}©l¦C¦L¦ì¸m©M¥ªÃäªÅ¥ÕªÅ¶¡¡C A_Set_Prncomport() => ³]©w¦Lªí¾÷§Ç¦C°ð¡C A_Set_Prncomport_PC() => ³]©w PC §Ç¦C°ð¡C A_Set_Sensor_Mode() => ³]©w SENSOR ¼Ò¦¡©Î³sÄò¯È¼Ò¦¡¡C A_Set_Speed() => ³]©w¦C¦L³t«×¡C A_Set_Syssetting() => ³]©wÂà¦L¼Ò¦¡¡B±Ò°Ê Cutter ©Î Peel¡B³]©w¼Ð Åҳ̪øªºªø«×¡B§ïÅÜ slash zero ¬° normal zero¡B³] ©w¨C¦L¤@±i¼È°±¤@¦¸¡C A_Set_Unit() => ³]©w«×¶q³æ¦ì¬°^¦T©Î¤½¤Ø¡C A_Set_Gap() => ³]©w Gap ¶ZÂ÷ A_Set_Logic() => ³]©w¤Ï¥Õ¥\¯à A_Set_ProcessDlg() => ¶}±Ò©ÎÃö³¬¶i«×¹ï¸Ü®Ø A_Set_LabelVer() => ³]©w¯È±i¼e«× (For R400) A_GetUSBBufferLen() => ¬d¸ß USB °ð¸ê®Æªø«× A_EnumUSB() => ¨ú±o USB °ðªº¸ê®Æ A_CreateUSBPort() => ¨Ï¥Î USB °ð¶i¦æ¶Ç¿é ******************************************************************************* ª`·N¨Æ¶µ =============================================================================== ¨Ï¥Î¤èªk¡G1.±N WINPPLA.DLL ¥[¤J \\Windows\system\ ©Î \\???\ °õ¦æ¤¤¸ô®|¡A ¤~¯à³Q·j´M¨ì¡C 2.¥H¤U½d¨Ò¬° Visual C++ ªº½d¨Ò,¨ä¥Lµ{¦¡»y¨¥¤£¤@©w§¹¥þ¬Û¦P ******************************************************************************* A_GetUSBBufferLen() A_EnumUSB() =============================================================================== ¥\¯à¡G ¨ú±o USB Printer ªº¸ê®Æ¡C »yªk¡G int A_GetUSBBufferLen(); int A_EnumUSB(char *buf); °Ñ¼Æ¡G char *buf; ¡´Àx¦s USB Printer ¸ê®Æ¡C ¶Ç¦^È¡G A_GetUSBBufferLen(); ¶Ç¦^ USB ªº¸ê®Æªø«× A_EnumUSB() 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G char *buf; int nLen = A_GetUSBBufferLen()+1; buf = malloc(nLen); memset(buf, 0, nLen); A_EnumUSB(buf); »¡©ú¡G ³o¨âÓ¨ç¼Æ¬O¤@²Õªº¨ç¼Æ¡C¥ý¥Î A_GetUSBBufferLen() ¨ú±o USB ¶Ç¿é°ðªº¸ê®Æ ªø«×, µM«á¦A°t°O¾ÐÅéµ¹ A_EnumUSB() Àx¦s USB °ðªº¸ê®Æ¡CUSB °ðªº¸ê®Æ¬O¥H ("0x0d0x0a")°µ¤À¹j,Á|¨Ò¨Ó»¡, ¦pªG¸ê®Æ¬O A-200(0x0d)(0x0a)R-400ZIP ªº¸Ü ªí¥Ü USB1 ¬O±µ A-200, USB2 ¬O±µ R-400Zip¡C ******************************************************************************* A_CreatePrn() A_CreateUSBPort() =============================================================================== ¥\¯à¡G ¶}±Ò PPLA Library ¤u§@¡C »yªk¡G int A_CreatePrn(int selection,LPCTSTR filename); int A_CreateUSBPort(int nPort); °Ñ¼Æ¡G int selection; ¡´¾Ü¿é¥X°ð©ÎÀɮסC 0 -> print to file. 1 -> lpt1, 2 -> lpt2, 3 -> lpt3 4 -> com1, 5 -> com2, 6 -> com3 10 -> net LPCTSTR filename; ¡´·í selection ¤º®e¬O 0 ®É¡A¸ê®Æ«h¿é¥X¦Ü ÀɮסAÀɦW´N¬O filename ¤º®e©Î¬O NULL¡A ¥i§t¸ô®|¡C·í selection ¤º®e¬O 10 ®É¡A filename ¬°¿é¥X¸ô®|¡C int nPort; ¡´ USB ¶Ç¿é°ð ¶Ç¦^È¡G0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_CreatePrn(1,NULL); ©Î A_CreatePrn(0,"C:\TEMP\out.prn"); A_CreatePrn(10,"\\allen\Label"); ©Î A_CreateUSBPort(1); »¡©ú¡G A_CreatePrn ©M A_CreateUSBPort ¨ç¼Æ·|¶}±Ò§A¿ï¾Üªº¿é¥X°ð©Î¶}±Ò§AÁä¤Jªº ¿é¥XÀÉ¡C¦Ó³oÓ¨ç¼Æ¥²¶·¦b©Ò¦³¨ç¼Æ¤§«e°õ¦æ¡C A_CreatePrn ©M A_CreateUSBPort ¤£¯à¦P®É¨Ï¥Î¡C ******************************************************************************* A_ClosePrn() =============================================================================== ¥\¯à¡G Ãö³¬ A_Printer ¤u§@¡C »yªk¡G void A_ClosePrn(void); ½d¨Ò¡G A_ClosePrn(); ¡@»¡©ú¡G ³oÓ A_ClosePrn ¨ç¼Æ·|Ãö³¬§A¿ï¾Üªº¿é¥X°ð©ÎÃö³¬§A¶}±Òªº¿é¥XÀÉ¡C¦Ó³o Ó¨ç¼Æ¥²¶·¦b©Ò¦³¨ç¼Æ¤§«á°õ¦æ¡C ******************************************************************************* A_Bar2d_Maxi() A_Bar2d_Maxi_Ori() =============================================================================== ¥\¯à¡G ¦L¥X¤@Ó Maxi Code 2D Barcode¡C »yªk¡G int A_Bar2d_Maxi(int x,int y,long int primary,int secondary,int country, int service,char mode,int numeric,LPCTSTR data); int A_Bar2d_Maxi_Ori(int x,int y,int ori,long int primary,int secondary, int country,int service,char mode,int numeric, LPCTSTR data); °Ñ¼Æ¡G int x; ¡´X ®y¼Ð¡C (100 = 1 inch) int y; ¡´Y ®y¼Ð¡C int ori; ¡´¦C¦L¤è¦V©w¦ì¡A1:0¢X ¡B2:90¢X¡B 3:180¢X¡B4:270¢X long int primary; ¡´A 5-¦ì¼Æ primary zip code. int secondary; ¡´A 4-¦ì¼Æ secondary zip code. int country; ¡´A 3-¦ì¼Æ country code. int service; ¡´A 3-¦ì¼Æ service code. char mode; ¡´ªþ¥[¥\¯à¡A¦p¤Uªí¡G ùæùùùùùçùùùùùùùùùùùùùùùùùùùè ¢xmode¢x ¥\¯à»¡©ú ¢x ùéùùùùùêùùùùùùùùùùùùùùùùùùùë ¢x A ¢x¹ï¼Æ¦r¦Û°Ê¼W¥[¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x B ¢x¹ï¦r¥À¦Û°Ê¼W¥[¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x C ¢x¹ï¼Æ¦r¦Û°Ê´î¤Ö¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x D ¢x¹ï¦r¥À¦Û°Ê´î¤Ö¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x T ¢x§ïÅܲ׵²¦r¤¸ ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x N ¢xµL¶·¥ô¦ó¥\¯à ¢x ¢|¢w¢w¢r¢w¢w¢w¢w¢w¢w¢w¢w¢w¢} int numeric; ¡´¦Û°Ê¼W¥[©Î´î¤Ö¸õ¸¹¶q¡C½d³ò¡G0~99 ·í¦³ªþ¥[¥\¯à®É¦¹Äæ¦ì¥²¶·¦s¦b¡C LPCTSTR data; ¡´¸ê®Æ¦r¦ê¡A³Ì¦h84Ó¦r¤¸¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Bar2d_Maxi(100,200,32987,444,40,55,'n',2,"TO 123"); A_Bar2d_Maxi_Ori(100,200,0,32987,444,40,55,'n',2,"TO 123"); ¡@»¡©ú¡G ³oÓ A_Bar2d_Maxi ¨ç¼Æ¥i¥H¦C¦L¥X¤@Ó Maxi Code 2D Barcode¡C ******************************************************************************* A_Bar2d_PDF417() A_Bar2d_PDF417_Ori() =============================================================================== ¥\¯à¡G ¦L¥X¤@Ó PDF-417 2D Barcode¡C »yªk¡G int A_Bar2d_PDF417(int x,int y,int narrow,int width, char normal, int security,int aspect,int row,int column, char mode,int numeric,LPCTSTR data); int A_Bar2d_PDF417_Ori(int x,int y,int ori,int narrow,int width, char normal,int security,int aspect,int row, int column,char mode,int numeric,LPCTSTR data); °Ñ¼Æ¡G int x; ¡´X ®y¼Ð¡C(100 = 1 inch) int y; ¡´Y ®y¼Ð¡C int ori; ¡´¦C¦L¤è¦V©w¦ì¡A1:0¢X ¡B2:90¢X¡B 3:180¢X¡B4:270¢X int narrow; ¡´NARROW bar ¼e«×¡A½d³ò 0¡ã24¡C int width; ¡´WIDE bar ¼e«×¡A½d³ò 0¡ã24¡C char normal; ¡´F:normal, T:truncated. int security; ¡´0¡ã8:security level. int aspect; ¡´0¡ã99:aspect ratio,0 stands for 1:2. int row; ¡´3¡ã90:row number,0 for best fit. int column; ¡´1¡ã30:column number,0 for best fit. char mode; ¡´ªþ¥[¥\¯à¡A¦p¤Uªí¡G ùæùùùùùçùùùùùùùùùùùùùùùùùùùè ¢xmode¢x ¥\¯à»¡©ú ¢x ùéùùùùùêùùùùùùùùùùùùùùùùùùùë ¢x A ¢x¹ï¼Æ¦r¦Û°Ê¼W¥[¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x B ¢x¹ï¦r¥À¦Û°Ê¼W¥[¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x C ¢x¹ï¼Æ¦r¦Û°Ê´î¤Ö¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x D ¢x¹ï¦r¥À¦Û°Ê´î¤Ö¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x T ¢x§ïÅܲ׵²¦r¤¸ ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x N ¢xµL¶·¥ô¦ó¥\¯à ¢x ¢|¢w¢w¢r¢w¢w¢w¢w¢w¢w¢w¢w¢w¢} int numeric; ¡´¦Û°Ê¼W¥[©Î´î¤Ö¸õ¸¹¶q¡C½d³ò¡G0¡ã99 ·í¦³ªþ¥[¥\¯à®É¦¹Äæ¦ì¥²¶·¦s¦b¡C ·í mode ¬° T ®É¡A¦¹Äd¬°²×µ²¦r¤¸È(¤Q¶i¦ì)¡C LPCTSTR data; ¡´¸ê®Æ¦r¦ê¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Bar2d_PDF417(260,0,0,0,'f',0,0,10,2,'b',1,"ARGOXINFO"); A_Bar2d_PDF417_Ori(260,0,0,0,'f',0,0,10,2,'T',64,"ARGOXINFO\nData 12345\nData 444"); ¡@»¡©ú¡G ³oÓ A_Bar2d_PDF417 ¨ç¼Æ¥i¥H¦C¦L¥X¤@Ó PDF-417 2D Barcode¡C ******************************************************************************* A_Bar2d_DataMatrix() =============================================================================== ¥\¯à¡G ¦L¥X¤@Ó DataMatrix Code 2D Barcode¡C »yªk¡G int A_Bar2d_DataMatrix(int x, int y,int rotation,int hor_mul, int ver_mul,int ECC,int data_format,int num_rows,int num_col, char mode,int numeric,LPCTSTR data); °Ñ¼Æ¡G int x; ¡´X ®y¼Ð¡C (100 = 1 inch) int y; ¡´Y ®y¼Ð¡C int rotation; ¡´¦C¦L¤è¦V©w¦ì¡A1:0¢X¡B2:90¢X¡B3:180¢X¡B4:270¢X int hor_mul; ¡´¤ô¥©ñ¤j¿¼Æ¡C int ver_mul; ¡´««ª½©ñ¤j¿¼Æ¡C hor_mul,ver_mul : 1 ~ 24 int ECC; ¡´°»¿ùµ¥¯Å¡C©T©wÈ:200 int data_format; ¡´¸ê®Æ¤ÀÃþ¡C©T©wÈ:0 int num_rows; ¡´row number int num_col; ¡´column number num_rows,num_col value : 10,12,14,16,18,20,22,24,26,32,36, 40,44,,48,52,64,72,80,88,96,104,120,132,144 char mode; ¡´ªþ¥[¥\¯à¡A¦p¤Uªí¡G ùæùùùùùçùùùùùùùùùùùùùùùùùùùè ¢xmode¢x ¥\¯à»¡©ú ¢x ùéùùùùùêùùùùùùùùùùùùùùùùùùùë ¢x A ¢x¹ï¼Æ¦r¦Û°Ê¼W¥[¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x B ¢x¹ï¦r¥À¦Û°Ê¼W¥[¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x C ¢x¹ï¼Æ¦r¦Û°Ê´î¤Ö¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x D ¢x¹ï¦r¥À¦Û°Ê´î¤Ö¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x T ¢x§ïÅܲ׵²¦r¤¸ ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x N ¢xµL¶·¥ô¦ó¥\¯à ¢x ¢|¢w¢w¢r¢w¢w¢w¢w¢w¢w¢w¢w¢w¢} int numeric; ¡´¦Û°Ê¼W¥[©Î´î¤Ö¸õ¸¹¶q¡C½d³ò¡G0~99 ·í¦³ªþ¥[¥\¯à®É¦¹Äæ¦ì¥²¶·¦s¦b¡C LPCTSTR data; ¡´¸ê®Æ¦r¦ê¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Bar2d_DataMatrix(100,100,1,8,8,200,0,24,24,'n',2,"DATAMATRIX"); ¡@»¡©ú¡G ³oÓ A_Bar2d_DataMatrix ¨ç¼Æ¥i¥H¦C¦L¥X¤@Ó DataMatrix 2D Barcode¡C ******************************************************************************* A_Clear_Memory() =============================================================================== ¥\¯à¡G ²M°£ Printer ¤º RAM ¤Î Flash Memory ªº¸ê®Æ¡C »yªk¡G void A_Clear_Memory(void); ½d¨Ò¡G A_Clear_Memory(); ¡@»¡©ú¡G ³oÓ A_Clear_Memory ¨ç¼Æ²M°£ Printer ¤º RAM ¤Î Flash Memory ªº¹Ï§Î ¡B³nÅé¦r§Î¡C¦]¬°¹Ï§Î¡B¦r§Î·|¤@ª½²Ö¿n¦b memory ³y¦¨ overflow¡A¥¿±` ®É¨ç¼Æ¶·¦b Print_Out() ¤§«e°e¥X¡C¦Ó·í memory ¥Rº¡«ü¥O¡APrinter ´N ·|§R°£¥ý«e¸ü¤Jªº¹Ï§Î©M¦r§Î¡A¬°ÁקKµo¥Í¤£·íªº§R°£¡A¶·¥ý¦b A_Print_Out() ¤§«e°e¥X¡C ******************************************************************************* A_Del_Graphic() =============================================================================== ¥\¯à¡G §R°£Àx¦s¦b¦Lªí¾÷ RAM ©Î Flash Memory ¤ºªº¹Ï§Î¡C »yªk¡G int A_Del_Graphic(int mem_mode,char graphic[10]); °Ñ¼Æ¡G int mem_mode; ¡´°O¾ÐÅé¼Ò¦¡¡A 1 => RAM 2 => Flash Memory char graphic[10]; ¡´¹Ï§Î¦WºÙ¡A³Ì¦h 9 Ó¦r¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Del_Graphic(1,"AA"); ¡@»¡©ú¡G ³oÓ A_Del_Graphic ¨ç¼Æ·|§R°£Àx¦s¦b¦Lªí¾÷ RAM ©Î Flash Memory ¤ºªº¹Ï§Î¡A §A¿é¤Jªº¹Ï§Î¦WºÙ¡C·í§A§R°£¥¦«á¡A±N¤£¯à¦AÁÙì¡A¦ý¥i¥H«·s¸ü¤J¡C ******************************************************************************* A_Draw_Box() =============================================================================== ¥\¯à¡G µe¤@ӮءC »yªk¡G int A_Draw_Box(char mode,int x,int y,int width,int height, int top, int side); °Ñ¼Æ¡G char mode; ¡´³]©wÅÞ¿è OR ©Î XOR ¥\¯à¡CA:XOR¡BN:OR ¤@¯ë¬O XOR ¿ï¶µ¡C int x; ¡´X ®y¼Ð¡C int y; ¡´Y ®y¼Ð¡C int width; ¡´«ü©w®Øªº¼e«×¡A½d³ò¡G0¡ã9999¡C int height; ¡´«ü©w®Øªº°ª«×¡A½d³ò¡G0¡ã9999¡C int top; ¡´«ü©w®Øªº³»¤Î©³½u±ø«p«×¡A ½d³ò¡G0¡ã9999¡C int side; ¡´«ü©w®Ø¨â°¼Ãä½u±ø«p«×¡A½d³ò¡G0¡ã9999 ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Draw_Box('n',260,30,130,105,4,4); ¡@»¡©ú¡G ³oÓ A_Draw_Box ¨ç¼Æ·|µe¤@ÓÄݩʬO "OR" ©Î "XOR" ªº®Ø¡C ******************************************************************************* A_Draw_Line() =============================================================================== ¥\¯à¡G µe¤@±ø½u¡C »yªk¡G int A_Draw_Line(char mode,int x,int y,int width,int height); °Ñ¼Æ¡G char mode; ¡´³]©wÅÞ¿è OR ©Î XOR ¥\¯à¡CA =>XOR¡BN =>OR ¤@¯ë¬O XOR ¿ï¶µ¡C int x; ¡´X ®y¼Ð¡C int y; ¡´Y ®y¼Ð¡C int width; ¡´«ü©w½u±øªº¼e«×¡A½d³ò¡G0¡ã9999¡C int height; ¡´«ü©w½u±øªº°ª«×¡A½d³ò¡G0¡ã9999¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Draw_Line('a',285,77,2,30); ¡@»¡©ú¡G ³oÓ A_Draw_Line ¨ç¼Æ·|µe¤@ÓÄݩʬO "OR" ©Î "XOR" ªº½u±ø¡C ******************************************************************************* A_Feed_Label() =============================================================================== ¥\¯à¡G °e¤@±i¼ÐÅÒ¡C »yªk¡G void A_Feed_Label(void); ½d¨Ò¡G A_Feed_Label(); ¡@»¡©ú¡G ³oÓ A_Feed_Label ¨ç¼Æ·í¤£¬O³]©w¬°³sÄò¯È®É¡A±N·|¦R¤@±i¼ÐÅÒ¤@ª½¨ì³Q ÀË´ú¥X gap ¬°¤î¡C·í¬O³]©w¬°³sÄò¯È®É¡A·|¦R¤@±i©T©wªø«×ªº¼ÐÅÒ¡C°ò¥» ¤W¡A³o¨ç¼Æ·N¦P©ó«ö "Feed" Áä¤@¼Ë¡C ******************************************************************************* A_Get_DLL_Version() A_Get_DLL_VersionA() =============================================================================== ¥\¯à¡G ¨ú±o©Î¨q¥X¦¹¨ç¼Æ®wª©¥»¸ê°T¡C »yªk¡G char* A_Get_DLL_Version(int nShowMessage); int A_Get_DLL_VersionA(int nShowMessage); °Ñ¼Æ¡G int nShowMessage; ¡´°T®§µøµ¡Åã²{¡C0 -> ¤£Åã²{¡B1 -> Åã²{¡C ¶Ç¦^È¡G A_Get_DLL_Version() -> ¶Ç¦^ª©¥»¸ê°T¦r¦ê¡A¥¢±Ñ«h¶Ç¦^ NULL¡C A_Get_DLL_VersionA() -> return version value. ½d¨Ò¡G A_Get_DLL_Version(1); ¡@»¡©ú¡G ³oÓ A_Get_DLL_Version ¨ç¼Æ¡AÅý¨Ï¥ÎªÌ¨ú±o©Î¨q¥X¦¹¨ç¼Æ®wª©¥»¸ê°T¡C ******************************************************************************* A_Get_Graphic() =============================================================================== ¥\¯à¡G ¦C¦L¤@ӹϧΨñN¹Ï§ÎÀx¦s¦b¦Lªí¾÷¤ºªº RAM ©Î Flash Memory¡C »yªk¡G int A_Get_Graphic(int x,int y,int mem_mode,char format,LPCTSTR filename); °Ñ¼Æ¡G int x; ¡´X ®y¼Ð¡C int y; ¡´Y ®y¼Ð¡C int mem_mode; ¡´°O¾ÐÅé¼Ò¦¡¡A 1 => RAM 2 => Flash Memory char format; ¡´¹Ï§ÎÀɮ榡¡A¦p¤Uªí¡G ùæùùùùùùùçùùùùùùùùùùùùùùùùùùùùùùùçùùùùùè ¢xformat¢x ¹Ï§ÎÀɮ榡 ¢x¤è¦V¢x ùéùùùùùùùêùùùùùùùùùùùùùùùùùùùùùùùêùùùùùë ¢x B ¢x 8-bit BMP file format¢x¥¿ ¢x ¢u¢w¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢q¢w¢w¢t ¢x b ¢x 8-bit BMP file format¢x¤Ï ¢x ¢u¢w¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢q¢w¢w¢t ¢x I ¢x 8-bit IMG file format¢x¥¿ ¢x ¢u¢w¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢q¢w¢w¢t ¢x i ¢x 8-bit IMG file format¢x¤Ï ¢x ¢u¢w¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢q¢w¢w¢t ¢x P ¢x 8-bit PCX file format¢x¥¿ ¢x ¢u¢w¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢q¢w¢w¢t ¢x p ¢x 8-bit PCX file format¢x¤Ï ¢x ¢|¢w¢w¢w¢r¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢r¢w¢w¢} LPCTSTR filename ¡´¹Ï§ÎÀɦWºÙ¡A¥i§t¸ô®|¡C ®æ¦¡¦p¡GXXXXXXXX.XXX ©Î X:\XXX\XXX.XXX ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Get_Graphic(275,50,1,'B',"bb.bmp"); ¡@»¡©ú¡G ³oÓ A_Get_Graphic ¨ç¼Æ·|¦C¦L¤@ӹϧΨñN¹Ï§ÎÀx¦s¦b¦Lªí¾÷¤ºªº RAM ©Î Flash Memory¡C ******************************************************************************* A_Get_Graphic_ColorBMP() =============================================================================== ¥\¯à¡G Âà´« BMP ¹ÏÀɱm¦âÅܦǶ¥¡A¨Ã±N¹Ï§ÎÀx¦s¦b¦Lªí¾÷¤ºªº RAM ©Î Flash Memory¡C »yªk¡G int A_Get_Graphic_ColorBMP(int x,int y,int mem_mode,char format, LPCTSTR filename); °Ñ¼Æ¡G int x; ¡´X ®y¼Ð¡C int y; ¡´Y ®y¼Ð¡C int mem_mode; ¡´°O¾ÐÅé¼Ò¦¡¡A 1 => RAM 2 => Flash Memory char format; ¡´¹Ï§ÎÀɮ榡¡A¦p¤Uªí¡G ùæùùùùùùùçùùùùùùùùùùùçùùùùùè ¢xformat¢x¹Ï§ÎÀɮ榡¢x¤è¦V¢x ùéùùùùùùùêùùùùùùùùùùùêùùùùùë ¢x B ¢xBMP format¢x¥¿ ¢x ¢u¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢t ¢x b ¢xBMP format¢x¤Ï ¢x ¢|¢w¢w¢w¢r¢w¢w¢w¢w¢w¢r¢w¢w¢} LPCTSTR filename ¡´¹Ï§ÎÀɦWºÙ¡A¥i§t¸ô®|¡C ®æ¦¡¦p¡GXXXXXXXX.XXX ©Î X:\XXX\XXX.BMP ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Get_Graphic_ColorBMP(30,20,1,'B',"girl.bmp"); ¡@»¡©ú¡G ³oÓ A_Get_Graphic_ColorBMP ¨ç¼Æ¥i¿é¤J¥ô¦óÃC¦â BMP ¹ÏÀÉ¡A¨Ã¦Û°ÊÂà´«¬° ¶Â¥Õ¦Ç¶¥¹ÏÀÉ°e¦Ü¦Lªí¾÷¦C¦L¡A¦ÓÂà´««~½è¥Ñ Windows's Driver for Dr.200 or Dr.300 ½Õ¾ã¡A©Ò¥H¨Ï¥ÎªÌ¥²»Ý¦w¸Ë ARGOX Driver¡A¦Lªí¾÷§ì¨ú¬°¹w³]¦Lªí¾÷¡A °²Y default printer ¤£¬O Dr.200 ©Î Dr.300 ¡Aµ{¦¡¦Û°Ê·j´M Windows ¤º¡A ¬O§_¦³¸Ë Dr.200 ©Î Dr.300¡A¦A¨Ì§Ç¨Ï¥Î¡C¹Ï§ÎÀx¦s¦b¦Lªí¾÷¤ºªº RAM ©Î Flash Memory¡C ******************************************************************************* A_Initial_Setting() =============================================================================== ¥\¯à¡G «e¸m³B²z¡C »yªk¡G int A_Initial_Setting(int Type,LPCTSTR Source); °Ñ¼Æ¡G int Type; ¡´¿ï¾Ü¿é¤J¼Ò¦¡¡AȬ° 0 -> ¿é¤J¦r¦ê¡A 1 -> ¿é¤JÀɮסC LPCTSTR Source; ¡´¸ê®Æ¨Ó·½¡A¥i¬°¦r¦ê©ÎÀɮצWºÙ¡A¥i§t¸ô®|¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G LPCTSTR aa = "ZT\r\n\0"; A_Initial_Setting(0,aa); or A_Initial_Setting(1,"initfile.txt"); ¡@»¡©ú¡G ³oÓ A_Initial_Setting ¨ç¼Æ«e¸m³B²zªº°Ê§@¡A¬O±N¤@¦ê Command ¥ý°e¦Ü¦Lªí ¾÷¡A¥Ñ¦r¦ê©ÎÀɮ׿é¤J¡A¦b¨Ï¥Î³oÓ¨ç¼Æ®É¡A¶·¥ý¦b A_Create_Prn() ¤§«á¨ä¥L ¨ç¼Æ¤§«e¡A¥i§@¬°¨Ï¥ÎªÌ¦Ûq«¬ºA¡C ******************************************************************************* A_Load_Graphic() =============================================================================== ¥\¯à¡G ¦C¦L¤@ӹϧΡC »yªk¡G int A_Load_Graphic(int x,int y,char graphic_name[10]); °Ñ¼Æ¡G int x; ¡´X ®y¼Ð¡C int y; ¡´Y ®y¼Ð¡C³Æµù¡G1 dot = 0.125 mm¡C char graphic_name[10]; ¡´¹Ï§ÎÀɦWºÙ³Ì¤j9Ó¦r¤¸¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Load_Graphic(265,35,"AB"); ¡@»¡©ú¡G ³oÓ A_Load_Graphic ¨ç¼Æ·|¦C¦L¤@Ó¤§«e¸ü¤J¹Lªº¹ÏÀÉ¡A¦Ó¹Ï§Î¥²¶·¨Æ¥ý¸ü¤J¦Lªí ¾÷¤ºªº RAM ©Î flash memory Àx¦s¡C ******************************************************************************* A_Open_ChineseFont() =============================================================================== ¥\¯à¡G ¶}±Ò¨Ï¥Î¤¤¤åÂI¯x°}¦r«¬ÀÉ®× (16*15 ©M 24*24)¡C »yªk¡G int A_Open_ChineseFont(char* path); °Ñ¼Æ¡G char* path; ¡´¤¤¤åÂI¯x°}¦r«¬Àɮרӷ½¸ô®|¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Open_ChineseFont("C:\\ET3"); ¡@»¡©ú¡G ³oÓ A_Open_ChineseFont ¨ç¼Æ¶}±Ò¤¤¤åÂI¯x°}¦r«¬ÀÉ®× (16*15 ©M 24*24)¡A ¨Ñ A_Prn_Text_Chinese ¨ç¼Æ¨Ï¥Î¡C ******************************************************************************* A_Print_Form() =============================================================================== ¥\¯à¡G ¦C¦L¤@Ó FORM (ªí®æ)¡A¨Ã¿é¤J FORM ªº¦WºÙ¡A¨Ã³]©w¼e¤Î°ªªº¤ñ¨Ò©M¸õ¸¹¦¸ ¼Æ»P¦C¦L¥÷¼Æ¡C »yªk¡G int A_Print_Form(int width,int height,int copies,int amount, LPTSTR form_name); °Ñ¼Æ¡G int width; ¡´¼e¤ñ¡A½d³ò¡G1 ©Î 2¡C int height; ¡´°ª¤ñ¡A½d³ò¡G1¡B2 ©Î 3¡C int copies; ¡´§A·Q¦C¦Lªº¥÷¼Æ¡A½d³ò¡G1¡ã9999¡C int amount; ¡´«ü©wªº¼Æ¦r±N·|¨Ï¨C¸õ¤@¸¹¦L´X±i¡A ½d³ò¡G1¡ã99¡C LPTSTR form_name; ¡´¿é¤J FORM ªº¦WºÙ¡A¥i¤@өΦhÓ¤@°_¡A¦ý ¥²¶·¥Î ","¨Ì§Ç¤À§O°Ï¹j¶}¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Print_Form(1,1,1,1,"demo"); ¡@»¡©ú¡G ³oÓ A_Print_Form ¨ç¼Æ·|°e©Ò¦³¸ê®Æ¤Îªí®æ¨ì Printer¡A³oÓ¨ç¼Æ¨Ï¥Î«e ¶·¥ý°õ¦æ A_Set_Form()¡A¨Ã¦b©Ò¦³¨ç¼Æ¤§«á¡AA_ClosePrn() ¤§«e°õ¦æ¡C·í¨Ï ¥Î¦¹¨ç¼Æ®É¡A´N¤£¶·°õ¦æ A_Print_Out()¡C ³o width ©M height ¨â°Ñ¼Æ¡A¬O³]©w¼e»P°ªªº¤ñ¨Ò¡C·í¤ñ¨Ò³]¬°³Ì¤j®É¡A ¹Ï§Î¥i¯à·|¦]©ñ¤j¦Ó¥X²{¿÷¾¦ª¬¡C *************************************************************************** A_Print_Out() =========================================================================== ¥\¯à¡G ¿é¥X©Ò¦³¸ê®Æ¨Ã³]©w¼e¤Î°ªªº¤ñ¨Ò©M¸õ¸¹¦¸¼Æ»P¦C¦L¥÷¼Æ¡C »yªk¡G int A_Print_Out(int width,int height,int copies,int amount); °Ñ¼Æ¡G int width; ¡´¼e¤ñ¡A½d³ò¡G1 ©Î 2¡C int height; ¡´°ª¤ñ¡A½d³ò¡G1¡B2 ©Î 3¡C int copies; ¡´§A·Q¦C¦Lªº¥÷¼Æ¡A½d³ò¡G1¡ã9999¡C int amount; ¡´«ü©wªº¼Æ¦r±N·|¨Ï¨C¸õ¤@¸¹¦L´X±i¡A ½d³ò¡G1¡ã99¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Print_Out(1,1,3,1); ¡@»¡©ú¡G ³oÓ A_Print_Out ¨ç¼Æ·|°e©Ò¦³¸ê®Æ¨ì Printer¡A³oÓ¨ç¼Æ¨Ï¥Î¶·¦b©Ò¦³¨ç ¼Æ¤§«á¡AA_ClosePrn() ¤§«e¡C ³o width ©M height ¨â°Ñ¼Æ¡A¬O³]©w¼e»P°ªªº¤ñ¨Ò¡C·í¤ñ¨Ò³]¬°³Ì¤j®É¡A ¹Ï§Î¥i¯à·|¦]©ñ¤j¦Ó¥X²{¿÷¾¦ª¬¡C³o amount °Ñ¼Æ«ü©wªº¼Æ¦r±N·|¨Ï¸õ¸¹ ¥\¯à¡A¨C¦C¦L´X±i¸õ¸¹©Î´î¸¹¤@¦¸¡C ******************************************************************************* A_Prn_Barcode() =============================================================================== ¥\¯à¡G ¦L¥X¤@Ó±ø½X¡C »yªk¡G int A_Prn_Barcode(int x,int y,int ori,char type,int narrow,int width, int height,char mode, int numeric,LPTSTR data); °Ñ¼Æ¡G int x; ¡´X ®y¼Ð¡C int y; ¡´Y ®y¼Ð¡C int ori; ¡´¦C¦L¤è¦V©w¦ì¡A1:0¢X ¡B2:90¢X¡B 3:180¢X¡B4:270¢X char type; ¡´Bar code «¬¦¡¡B¦p¤Uªí¡G ùæùùùùùùùùùùùùùçùùùùùùùùùùùçùùùùùçùùùùùùùùùçùùùùùùùùùçùùùùùùùùùùùçùùùùùùùè ¢x ±ø½X«¬¦¡ ¢x ¸ê®Æªø«× ¢xÀË´ú¢xÅã¥Ü¸ê®Æ¢xÁôÂøê®Æ¢x ¸ê®ÆÄÝ©Ê ¢x ±ø½X ¢x ¢x ¢x ¢x½X ¢x(type) ¢x(type) ¢x ¢x ¤ñ¨Ò ¢x ùéùùùùùùùùùùùùùêùùùùùùùùùùùêùùùùùêùùùùùùùùùêùùùùùùùùùêùùùùùùùùùùùêùùùùùùùë ¢xCode 3 of 9 ¢xvariable ¢xno ¢x'A' ¢x'a' ¢x0¡ã9,A¡ãZ,¢x2:1¡ã ¢x ¢x ¢x ¢x ¢x ¢x ¢x$%*+-./and¢x3:1 ¢x ¢x ¢x ¢x ¢x ¢x ¢xspace ¢x¡@¡@ ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xUPC-A ¢x12 digis ¢xyes ¢x'B' ¢x'b' ¢x0¡ã9 ¢x2:3:4 ¢x ¢x ¢x(11+1) ¢x ¢x ¢x ¢x ¢x ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xUPC-E ¢x7 digis ¢xyes ¢x'C' ¢x'c' ¢x0¡ã9 ¢x2:3:4 ¢x ¢x ¢x(6+1) ¢x ¢x ¢x ¢x ¢x ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xInterleaved ¢xvariable ¢xno ¢x'D' ¢x'd' ¢x0¡ã9 ¢x2:1¡ã ¢x ¢x2 of 5 (I25)¢x ¢x ¢x ¢x ¢x ¢x3:1 ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xCode 128 ¢xvariable ¢xyes ¢x'E' ¢x'e' ¢xform code ¢x2:3:4 ¢x ¢x ¢x ¢x ¢x ¢x ¢x0 to 127 ¢x ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xEAN-13 ¢x13 digis ¢xyes ¢x'F' ¢x'f' ¢x0¡ã9 ¢x2:3:4 ¢x ¢x ¢x(12+1) ¢x ¢x ¢x ¢x ¢x ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xEAN-8 ¢x8 digis ¢xyes ¢x'G' ¢x'g' ¢x0¡ã9 ¢x2:3:4 ¢x ¢x ¢x(7+1) ¢x ¢x ¢x ¢x ¢x ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xHBIC ¢xvariable ¢xyes ¢x'H' ¢x'h' ¢x0¡ã9,A¡ãZ,¢x2:1¡ã ¢x ¢x ¢x ¢x ¢x ¢x ¢x$%*+-./and¢x3:1 ¢x ¢x ¢x ¢x ¢x ¢x ¢xspace ¢x ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xCode bar ¢xat least 3¢xno ¢x'I' ¢x'i' ¢x0¡ã9,A¡ãZ,¢x2:1¡ã ¢x ¢x ¢xcharacters¢x ¢x ¢x ¢x$+-.and / ¢x3:1 ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xInterleaved ¢xvariable ¢xyes ¢x'J' ¢x'j' ¢x0¡ã9 ¢x2:1¡ã ¢x ¢x2 of 5 with ¢|¢w¢w¢w¢w¢w¢t ¢x ¢x ¢x ¢x3:1 ¢x ¢xa modulo 10 checksum ¢x ¢x ¢x ¢x ¢x ¢x ¢u¢w¢w¢w¢w¢w¢w¢s¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xPlessey ¢x1¡ã14 ¢xyes ¢x'K' ¢x'k' ¢x0¡ã9 ¢x2:1¡ã ¢x ¢x ¢xdigits ¢x ¢x ¢x ¢x ¢x3:1 ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xInterleaved ¢xvariable ¢xyes ¢x'L' ¢x'l' ¢x0¡ã9 ¢x2:1¡ã ¢x ¢x2 of 5 with ¢|¢w¢w¢w¢w¢w¢r¢w¢w¢r¢w¢w¢w¢w¢r¢w¢w¢w¢w¢t ¢x3:1 ¢x ¢xa modulo 10 checksum and shipping bearer bars ¢x ¢x ¢x ¢u¢w¢w¢w¢w¢w¢w¢s¢w¢w¢w¢w¢w¢s¢w¢w¢s¢w¢w¢w¢w¢s¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xUPC2 ¢x2 digits ¢xno ¢x'M' ¢x'm' ¢x0¡ã9 ¢x2:3:4 ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xUPC5 ¢x5 digits ¢xno ¢x'N' ¢x'n' ¢x0¡ã9 ¢x2:3:4 ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xCode 93 ¢xvariable ¢xno ¢x'O' ¢x'o' ¢x0¡ã9,A¡ãZ,¢x2:3:4 ¢x ¢x ¢x ¢x ¢x ¢x ¢x$%*+-./and¢x ¢x ¢x ¢x ¢x ¢x ¢x ¢xspace ¢x ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xPostnet ¢xvariable ¢xyes ¢xnot ¢x'p' ¢x0¡ã9 ¢x ¢x ¢x ¢x ¢x ¢xdefined ¢x ¢x ¢x ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xUCC/EAN Code¢x20 digits ¢xYES ¢x'Q' ¢x'q' ¢x0¡ã9 ¢x2:3:4 ¢x ¢x128 ¢x(19+1) ¢x ¢x ¢x ¢x ¢x ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xUCC/EAN Code¢x18 digits ¢xYES ¢x'R' ¢x'r' ¢x0¡ã9 ¢x2:3:4 ¢x ¢x128 K-MART ¢x ¢x ¢x ¢x ¢x ¢x ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xMatrix 2 5 ¢xvariable ¢xno ¢x'S' ¢x's' ¢x0~9 ¢x2:1~ ¢x ¢x ¢x ¢x ¢x ¢x ¢x ¢x3:1 ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xTelepen ¢xvariable ¢xYES ¢x'T' ¢x't' ¢xform code ¢x2:3:4 ¢x ¢x ¢x ¢x ¢x ¢x ¢x0 to 127 ¢x ¢x ¢u¢w¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢t ¢xFIM ¢x1 ¢xno ¢xnot ¢x'v' ¢xA,B,C and ¢x ¢x ¢x ¢xcharacter ¢x ¢xdefined ¢x ¢xD ¢x ¢x ¢|¢w¢w¢w¢w¢w¢w¢r¢w¢w¢w¢w¢w¢r¢w¢w¢r¢w¢w¢w¢w¢r¢w¢w¢w¢w¢r¢w¢w¢w¢w¢w¢r¢w¢w¢w¢} ³Æµù¡G¨£ ARGOX Programmer Manual ²Ä 63¡ã76 ¶¡C int narrow; ¡´NARROW bar ¼e«×¡A½d³ò 0¡ã24¡C int width; ¡´WIDE bar ¼e«×¡A½d³ò 0¡ã24¡C int height; ¡´Bar code °ª«×¡A½d³ò 0¡ã999¡C char mode; ¡´ªþ¥[¥\¯à¡A¦p¤Uªí¡G ùæùùùùùçùùùùùùùùùùùùùùùùùùùè ¢xmode¢x ¥\¯à»¡©ú ¢x ùéùùùùùêùùùùùùùùùùùùùùùùùùùë ¢x A ¢x¹ï¼Æ¦r¦Û°Ê¼W¥[¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x B ¢x¹ï¦r¥À¦Û°Ê¼W¥[¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x C ¢x¹ï¼Æ¦r¦Û°Ê´î¤Ö¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x D ¢x¹ï¦r¥À¦Û°Ê´î¤Ö¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x N ¢xµL¶·¥ô¦ó¥\¯à ¢x ¢|¢w¢w¢r¢w¢w¢w¢w¢w¢w¢w¢w¢w¢} int numeric; ¡´¦Û°Ê¼W¥[©Î´î¤Ö¸õ¸¹¶q¡C½d³ò¡G0¡ã99 ·í¦³ªþ¥[¥\¯à®É¦¹Äæ¦ì¥²¶·¦s¦b¡C LPTSTR data; ¡´¸ê®Æ¦r¦ê¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Prn_Barcode(150,20,4,'A',0,0,20,'b',1,"ABCD"); ¡@»¡©ú¡G ³oÓ A_Prn_Barcode ¨ç¼Æ¥i¥H¦C¦L¥X¤@Ó¯S©w Barcode¡C ******************************************************************************* A_Prn_Text() =============================================================================== ¥\¯à¡G ¦L¥X¤@¦æ¤å¦r¡C »yªk¡G int A_Prn_Text(int x,int y,int ori,int font,int type,int hor_factor, int ver_factor,char mode,int numeric,LPCTSTR data); °Ñ¼Æ¡G int x; ¡´X ®y¼Ð¡C int y; ¡´Y ®y¼Ð¡C int ori; ¡´¦C¦L¤è¦V©w¦ì¡A1:0¢X ¡B2:90¢X¡B 3:180¢X¡B4:270¢X int font; ¡´¦r«¬«¬¦¡¡A¦p¤Uªí¡G ³Æµù¡G¬d¾\¦r«¬ªí¨£ ARGOX User's Manual int type; ¡´¨£¤Uªí¡G ùæùùùùùùùùùùùùùùùçùùùùùçùùùùùùùùùùùùùùùùùùùùùùùùùùùè ¢xfont ¢xtype¢x ¦r«¬«¬¦¡ ¢x ùéùùùùùùùùùùùùùùùêùùùùùêùùùùùùùùùùùùùùùùùùùùùùùùùùùë ¢x0,1,2,3,4,5,6,¢x0 ¢x0¡ã8 ¦Lªí¾÷¤º³¡Àx¦s¦rÅé ¢x ¢x7,8 ¢x ¢x ¢x ¢u¢w¢w¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x9 ¢x0¡ã7¢xASD smooth fonts. ¢x ¢x ¢x ¢x0:4points, 1:6points, ¢x ¢x ¢x ¢x2:8points, 3:10points, ¢x ¢x ¢x ¢x4:12points,5:14points, ¢x ¢x ¢x ¢x6:18points. ¢x ¢u¢w¢w¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x11 ¢x0¡ã7¢xCourier fonts, ¢x ¢x ¢x ¢x(0 represents symbol set) ¢x ¢x ¢x ¢x0:Roman-8, 1:ECMA-94, ¢x ¢x ¢x ¢x2:PC set, 3:PC set A, ¢x ¢x ¢x ¢x4:PC set B, 5:Legal, ¢x ¢x ¢x ¢x6:Greek, 7:Russian. ¢x ¢u¢w¢w¢w¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x12 ¢x0 ¢xŪ¨ú¦r«¬¥d¦rÅé ¢x ¢|¢w¢w¢w¢w¢w¢w¢w¢r¢w¢w¢r¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢} int hor_factor; ¡´¤ô¥©ñ¤j¤ñ¨Ò¡A½d³ò¡G0¡ã24,0¡GPrinter defuault¡C int ver_factor; ¡´««ª½©ñ¤j¤ñ¨Ò¡A½d³ò¡G0¡ã24,0¡GPrinter defuault¡C char mode; ¡´ªþ¥[¥\¯à¡A¦p¤Uªí¡G ùæùùùùùçùùùùùùùùùùùùùùùùùùùè ¢xmode¢x ¥\¯à»¡©ú ¢x ùéùùùùùêùùùùùùùùùùùùùùùùùùùë ¢x A ¢x¹ï¼Æ¦r¦Û°Ê¼W¥[¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x B ¢x¹ï¦r¥À¦Û°Ê¼W¥[¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x C ¢x¹ï¼Æ¦r¦Û°Ê´î¤Ö¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x D ¢x¹ï¦r¥À¦Û°Ê´î¤Ö¸õ¸¹¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x M ¢xÃ豤Ϯg¼Ò¦¡ ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x N ¢xµL¶·¥ô¦ó¥\¯à ¢x ¢|¢w¢w¢r¢w¢w¢w¢w¢w¢w¢w¢w¢w¢} int numeric; ¡´¦Û°Ê¼W¥[©Î´î¤Ö¸õ¸¹¶q¡C½d³ò¡G0¡ã99 ·í¦³ªþ¥[¥\¯à®É¦¹Äæ¦ì¥²¶·¦s¦b¡C LPCTSTR data; ¡´¸ê®Æ¦r¦ê¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Prn_Text(310,35,1,9,0,1,1,'n',2,"PPLA COMMAND"); ¡@»¡©ú¡G ³oÓ A_Prn_Text ¨ç¼Æ¥i¥H¦C¦L¥X¤@¦æ¤å¦r¡C ******************************************************************************* A_Prn_Text_Chinese() =============================================================================== ¥\¯à¡G ¦L¥X¤@¦æ¤å¦r¡A¨Ï¥Î¤¤¤åÂI¯x°}¦r«¬ÀÉ®× (16*15 ©Î 24*24)¡C »yªk¡G int A_Prn_Text_Chinese(int x,int y,int fonttype,LPCTSTR id_name, LPCTSTR data,int mem_mode); °Ñ¼Æ¡G int x; ¡´X ®y¼Ð¡C(dot) int y; ¡´Y ®y¼Ð¡C(dot) int fonttype; ¡´¯x°}¦r«¬¿ï¾Ü¡C 0 -> 16*15¡B1 -> 24*24¡C LPCTSTR id_name; ¡´µ¹¤©¤@ÓÃѧO¦WºÙ¦s©ñ©ó¦Lªí¾÷¤º¡A¥H«áª½ ±µ¨Ï¥Î Load_Pcx() §Y¥i±N¹ϩI¥s¥X¨Ó¡C LPCTSTR data; ¡´¤å¦r¤º®e¡C int mem_mode; ¡´°O¾ÐÅé¼Ò¦¡¡A 1 => RAM 2 => Flash Memory ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Open_ChineseFont("C:\\ET3"); A_Prn_Text_Chinese(100, 100, 0,"A01","°ê®a§Q¯q·í«e¢Ï¢ê¢Ñ¢ë¢Ò¢ì", 1); ¡@»¡©ú¡G ³oÓ A_Prn_Text_Chinese ¨ç¼Æ¥i¥H¦L¥X¤@¦æ¤å¦r¡A¨Ï¥Î¤¤¤åÂI¯x°}¦r«¬ÀÉ®× (16*15 ©Î 24*24)¡C ¦ý¶·¥ý¦w¸Ë Window's Driver for Dr.200 or Dr.300¡A¿@²H±q driver ³]©w¡A ¦Lªí¾÷§ì¨ú¬°¹w³]¦Lªí¾÷¡A°²Ydefault printer ¤£¬O Dr.200 ©Î Dr.300 ¡A µ{¦¡¦Û°Ê·j´M Windows ¤º¡A¬O§_¦³¸Ë Dr.200 ©Î Dr.300¡A¦b¨Ì§Ç¨Ï¥Î¡C ******************************************************************************* A_Prn_Text_TrueType() A_Prn_Text_TrueType_W() =============================================================================== ¥\¯à¡G ¦L¥X¤@¦æ True Type Font ¤å¦r¡C »yªk¡G int A_Prn_Text_TrueType(int x, int y, int FSize, LPCTSTR FType, int Fspin, int FWeight, int FItalic, int FUnline, int FStrikeOut, LPCTSTR id_name, LPCTSTR data, int mem_mode); int A_Prn_Text_TrueType_W(int x, int y, int FHeight, int FWidth, LPCTSTR FType, int Fspin, int FWeight, int FItalic, int FUnline, int FStrikeOut, LPCTSTR id_name, LPCTSTR data, int mem_mode); °Ñ¼Æ¡G int x; ¡´X ®y¼Ð¡C int y; ¡´Y ®y¼Ð¡C³Æµù¡G1 dot = 0.125 mm¡C int FSize; ¡´¦r«¬¤Ø¤o¡A³æ¦ì¬°ÂI(dot)¡C FSize = (dpi * point) / 72. int FHeight; ¡´¦r«¬°ª«×¡A³æ¦ì¬°ÂI(dot)¡C FHeight = (dpi * point) / 72. int FWidth; ¡´¦r«¬¼e«×¡A³æ¦ì¬°ÂI(dot)¡C FWidth = (dpi * point) / 72. LPCTSTR FType; ¡´TrueType font ¦r«¬¦WºÙ¡C int Fspin; ¡´TrueType font ¦rÅé±ÛÂà¡C 1 -> 0, 2 -> 90, 3 -> 180, 4 -> 270 int FWeight; ¡´TrueType font ¦rÅé²Ê²Ó¡C 0 and NULL and 400 -> 400 ¼Ð·Ç¡B 100 -> «D±`²Ó¡B200 -> ·¥²Ó¡B 300 -> ²Ó ¡B500 -> ¤¤µ¥¡B 600 -> ¥b²Ê ¡B700 -> ²Ê ¡B 800 -> ¯S²Ê ¡B900 -> ¶ÂÅé¡C int FItalic; ¡´TrueType font ¦rÅé±×Åé¡C 0 -> FALSE¡B1 -> TRUE¡C int FUnline; ¡´TrueType font ¦rÅé¥[©³½u¡C 0 -> FALSE¡B1 -> TRUE¡C int FStrikeOut; ¡´TrueType font ¦rÅé¥[§R°£½u¡C 0 -> FALSE¡B1 -> TRUE¡C LPCTSTR id_name; ¡´µ¹¤©¤@ÓÃѧO¦WºÙ¦s©ñ©ó¦Lªí¾÷¤º¡A¥H«áª½ ±µ¨Ï¥Î Load_Pcx() §Y¥i±N¹ϩI¥s¥X¨Ó¡C LPCTSTR data; ¡´¤å¦r¤º®e¡C int mem_mode; ¡´°O¾ÐÅé¼Ò¦¡¡A 1 => RAM 2 => Flash Memory ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Prn_Text_TrueType(0,0,40,"µØ±d°É«F¬y",1,400,0,0,0,"AA","°ÊºA¨ç¼Æ®w´ú¸Õ",1); A_Prn_Text_TrueType_W(0,0,40,50,"µØ±d°É«F¬y",1,400,0,0,0,"AA","°ÊºA¨ç¼Æ®w´ú¸Õ",1); ¡@»¡©ú¡G ³oÓ A_Prn_Text_TrueType ¨ç¼Æ¥i¥H¦L¥X¤@¦æ True Type Font ¤å¦r¡A ¦ý¶·¥ý¦w¸Ë Window's Driver for Dr.200 or Dr.300¡A¿@²H±q driver ³]©w¡A ¦Lªí¾÷§ì¨ú¬°¹w³]¦Lªí¾÷¡A°²Ydefault printer ¤£¬O Dr.200 ©Î Dr.300 ¡A µ{¦¡¦Û°Ê·j´M Windows ¤º¡A¬O§_¦³¸Ë Dr.200 ©Î Dr.300¡A¦b¨Ì§Ç¨Ï¥Î¡C ******************************************************************************* A_Set_Backfeed() =============================================================================== ¥\¯à¡G ¼ÐÅÒ¦^¦¬°±¤î¦ì¸m¡C »yªk¡G int A_Set_Backfeed(int back); °Ñ¼Æ¡G int back; ¡´°±¤î¦ì¸m¡A½d³ò¡G220¡ã999¡C ¦Lªí¾÷¤º©w220¡A¤p©ó220§YµL§@¥Î¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_Backfeed(220); ¡@»¡©ú¡G ³oÓ A_Set_Backfeed ¨ç¼Æ¥i¥H¨Ï¦C¦L§¹«á¡A¦R¤@¤p¬q¼ÐÅүȡA¦nÅý¨Ï¥ÎªÌ Æ[¹î¦L¥X¦¨ªG¤Î®e©ö¼¹µõ¼ÐÅÒ¡CµM«á¡A¥¦·|¦b¦L¤U¤@±i®É¡A°h¦^¨ì¾A·íÂI ¡A¦A¦L¤U¤@±i¡A·í¤@¦¸¦L¼Æ±i®É¡A¥u¦³¦b²Ä¤@±i¤~·|©¹«á¦^ÁY¡C ******************************************************************************* A_Set_BMPSave() =============================================================================== ¥\¯à¡G Àx¦s¼v¹³¹ÏÀÉ¡C »yªk¡G int A_Set_BMPSave(int nSave, char *pstrBMPFName); °Ñ¼Æ¡G int nSave; # 1 -> Àx¦s¹ÏÀÉ 0 -> ¤£Àx¦s¹ÏÀÉ char *pstrBMPFName; # Àx¦s¹ÏÀɪº¦WºÙ ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_BMPSave(1, "C:\TempBMP.bmp"); ¡@»¡©ú¡G ³oÓ A_Set_BMPSave ¨ç¼Æ¡A¥i¥H¨M©w¬O§_Àx¦s¼v¹³¹ÏÀÉ¡C ******************************************************************************* A_Set_Cutting() =============================================================================== ¥\¯à¡G ³]©w«ü©w¦L¥X´X±i«á¤Á¤M¤Á¤@¦¸¡C »yªk¡G int A_Set_Cutting(int cutting); °Ñ¼Æ¡G int cutting; ¡´«ü©w¦L¥X´X±i«á¤Á¤M¤Á¤@¦¸¡A ½d³ò¡G0¡ã9999¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_Cutting(12); ¡@»¡©ú¡G ³oÓ A_Set_Cutting ¨ç¼Æ¥u¦³·í¤Á¤M¸ü¤J®É¡A¤~·|°Ê§@¡C«ü©w¤Á¤M¦b¦L¥X´X ±i«á¤Á¤@¦¸¦L¥X´CÅé¡C ******************************************************************************* A_Set_Darkness() =============================================================================== ¥\¯à¡G ³]©w¼ö·PÀY¦C¦L¼ö«×¡C »yªk¡G int A_Set_Darkness(int heat); °Ñ¼Æ¡G int heat; ¡´³]©w¼ö·PÀY¦C¦L¼ö«×¡A½d³ò¡G0¡ã20¡C ¹w³]È¡G10 ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_Darkness(12); ¡@»¡©ú¡G ³oÓ A_Set_Darkness ¨ç¼Æ±±¨î¼v¹³¿@²H¡A·Q±o¨ì§ó¦nªº¦L¥X«~½è¡A§AÀ³¸Ó ¦Ò¼{¤@¨Ç¦]¯À¡A¹³ paper media¡Bribbon types(wax,semi-resin ©M resin)©Mimage pattern itself¡C ******************************************************************************* A_Set_DebugDialog() =============================================================================== ¥\¯à¡G ³]©w°£¿ùÀô¹Ò¡C »yªk¡G int A_Set_DebugDialog(int nEnable); °Ñ¼Æ¡G int nEnable; # 1 -> °£¿ùÀô¹ÒP¯à 0 -> °£¿ùÀô¹ÒÃö³¬ ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_DebugDialog(1); ¡@»¡©ú¡G ³oÓ A_Set_DebugDialog ¨ç¼Æ¡A³]©w°£¿ùÀô¹Ò¡A°£¤F·|¦^¶Ç¿ù»~½X¡A¤]·|¨q ¥Xĵ¥Ü°T®§¹ï¸Ü®Ø¥~¡C ******************************************************************************* A_Set_Feed() =============================================================================== ¥\¯à¡G ³]©w¼ÐÅүȰe¥Xªº³t«×¡C »yªk¡G int A_Set_Feed(char rate); °Ñ¼Æ¡G char rate; ¡´©w¼ÐÅүȰe¥Xªº³t«×¡A¦p¤Uªí¡G(A¡ãK) ùæùùùùùçùùùùùùùùùçùùùùùçùùùùùùùùùèùæùùùùùùùùùùùçùùùùùùùùùè ¢xrate¢x ³t «× ¢xrate¢x ³t «× ¢x¢x¦Lªí¾÷«¬¸¹¢x³t«×½d³ò¢x ùéùùùùùêùùùùùùùùùêùùùùùêùùùùùùùùùëùéùùùùùùùùùùùêùùùùùùùùùë ¢x A ¢x1.0 ips ¢x G ¢x4.0 ips ¢x¢xOS-214/204¢x A¡ãE ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢t¢u¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢t ¢x B ¢x1.5 ips ¢x H ¢x4.5 ips ¢x¢x OS-314 ¢x A¡ãC ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢t¢u¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢t ¢x C ¢x2.0 ips ¢x I ¢x5.0 ips ¢x¢x X-2000 ¢x A¡ãI ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢t¢u¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢t ¢x D ¢x2.5 ips ¢x J ¢x5.5 ips ¢x¢x X-3000 ¢x A¡ãK ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢t¢|¢w¢w¢w¢w¢w¢r¢w¢w¢w¢w¢} ¢x E ¢x3.0 ips ¢x K ¢x6.0 ips ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢t ¢x F ¢x3.5 ips ¢x ¢x ¢x ¢|¢w¢w¢r¢w¢w¢w¢w¢r¢w¢w¢r¢w¢w¢w¢w¢} ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_Feed('E'); ¡@»¡©ú¡G ³oÓ A_Set_Feed ¨ç¼Æ³]©w¼ÐÅүȰe¥Xªº³t«×¡C¨C¦¸·í§A«ö¤U FEED «öÁä©Î °e¦¹¨ç¼Æ®É¡A¦Lªí¾÷°¨¹F±N·|¨Ì¦¹³]©wȪº³t«×¹BÂà¡C ******************************************************************************* A_Set_Form() =============================================================================== ¥\¯à¡G Àx¦s¨Ã¦C¦L FORM (ªí®æ)¡C »yªk¡G int A_Set_Form(LPCTSTR formfile,LPCTSTR form_name,int mem_mode); °Ñ¼Æ¡G LPCTSTR formfile; ¡´ªí®æÀɮצWºÙ¡A¥i§t¸ô®|¡C ªí®æÀɪº¨Ó·½¡A¨Ï¥Î Drive Disk ¤º dos\ppla\demo.bat ¨Ó³]©w¨ú±o¡C LPCTSTR form_name; ¡´ªí®æ¦WºÙ¡A¥Î¨Ó¦s¦b¦Lªí¾÷¤º¡AForm ªº¼Ð¥Ü ¦WºÙ¡A·í Print_Form() ©Ò¿é¤Jªºªí®æ¦WºÙ¡C int mem_mode; ¡´°O¾ÐÅé¼Ò¦¡¡A 1 => RAM 2 => Flash Memory ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_Form("demo.prn","demo",1); ¡@»¡©ú¡G ³oÓ A_Set_Form ¨ç¼ÆÀx¦s¨Ã¦C¦L FORM (ªí®æ)¡C¦b¨Ï¥Î³oÓ¨ç¼Æ®É¡A¶·¥ý ¦b A_Print_Form¨ç¼Æ¤§«e¡C¨Ï¥Î¦¹¨ç¼Æ®É¡A´N¥²¶·°õ¦æ Print_Form()¡C ******************************************************************************* A_Set_Margin() =============================================================================== ¥\¯à¡G ³]©w¶}©l¦C¦L¦ì¸m©M¥ªÃäªÅ¥ÕªÅ¶¡¡C »yªk¡G int A_Set_Margin(int position,int margin); °Ñ¼Æ¡G int position; ¡´³]©w¶}©l¦ì¸m¡A±N»P 220 ¬Û¥[¡C int margin; ¡´³]©w¥ªÃäªÅ¥ÕªÅ¶¡¡A½d³ò¡G0¡ã9999¡C ¡° 100 = ¤@^¦T¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_Margin(100,100); ¡@»¡©ú¡G ³oÓ A_Set_Margin ¨ç¼Æ³]©w¶}©l¦C¦L¦ì¸m©M¥ªÃäªÅ¥ÕªÅ¶¡¡C¦Ó position °Ñ¼Æ¡A¦b¦Lªí¾÷¹w³]ȬO 220¡A·í¿é¤J¼ÆȮɨç¼Æ±N¦Û°Ê»P 220 ¬Û¥[¬°µ² ªG¡A°e¤J¦Lªí¾÷¡C¦pªG§A¨Ï¥Î¦¹¨ç¼Æ«á¡A¾ãÓª©±¹Ï¤å·|¤ô¥¦ì²¾©Î¥ª¥k ²¾°Ê¦L¥X¡C ******************************************************************************* A_Set_Prncomport() =============================================================================== ¥\¯à¡G ³]©w¦Lªí¾÷§Ç¦C°ð¡C »yªk¡G int A_Set_Prncomport(int baud,int parity,int data,int stop); °Ñ¼Æ¡G int baud; ¡´Àjº¸²v¡A¦p¤Uªí¡G 0 -> 9600, 1 -> 2400 2 -> 2400, 3 -> 19200 4 -> 4800, 5 -> 38400 6 -> 2400, 7 -> 9600 int parity; ¡´Parity¡A¦p¤Uªí¡G 0 -> none parity 1 -> even parity 2 -> odd parity int data; ¡´Data bit number: 7 -> 7-bit data 8 -> 8-bit data int stop; ¡´Stop bit number: 1 -> 1 stop bit 2 -> 2 stop bits ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_Prncomport(0, 0, 8, 1); ¡@»¡©ú¡G ³oÓ A_Set_Prncomport ¨ç¼Æ·|³]©w¦Lªí¾÷§Ç¦C°ð³]©wÈ¡A¨Ó§ïÅܦLªí¾÷¬Û ¦P©ó PC §Ç¦C°ð³]©wÈ¡A¦pªG¤£¦P«hµLªk»P PC ³s±µ¡C¦¹¨ç¼Æ¥²¶·¦b¨ç¼Æ Print_Out ¤§«e°õ¦æ¡C¥²¶·³æ¿W°õ¦æ¡C ******************************************************************************* A_Set_Prncomport_PC() =============================================================================== ¥\¯à¡G ³]©w PC §Ç¦C°ð¡C »yªk¡G int A_Set_Prncomport_PC(int nBaudRate, int nByteSize, int nParity, int nStopBits, int nDsr, int nCts, int nXonXoff); °Ñ¼Æ¡G int nBaudRate; ¡´Àjº¸²v¡A¦p¤Uªí¡G 1 -> 110 9 -> 19200 2 -> 300 10 -> 38400 3 -> 600 11 -> 56000 4 -> 1200 12 -> 57600 5 -> 2400 13 -> 115200 6 -> 4800 14 -> 128000 7 -> 9600 15 -> 256000 8 -> 14400 0 -> 9600 int nByteSize; ¡´Data bit number: 0 -> 8-bit data 7 -> 7-bit data 8 -> 8-bit data int nParity; ¡´Parity¡A¦p¤Uªí¡G 0 -> none parity 1 -> even parity 2 -> odd parity int nStopBits; ¡´Stop bit number: 0 -> 1 stop bit 1 -> 1 stop bit 2 -> 2 stop bits int nDsr; ¡´Setup hardware flow control 1 -> DTR CONTROL HANDSHAKE; 0 -> DTR CONTROL ENABLE; int nCts; ¡´Setup hardware flow control 1 -> RTS CONTROL HANDSHAKE; 0 -> RTS CONTROL ENABLE; int nXonXoff; ¡´Setup software flow control 0 -> Enable; 1 -> Disable; ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_Prncomport_PC(0, 0, 0, 0, 1, 1, 1); ¡@»¡©ú¡G ³oÓ A_Set_Prncomport_PC ¨ç¼Æ·|³]©w PC §Ç¦C°ð³]©wÈ¡A¨Ó§ïÅÜ PC ¬Û¦P ©ó¦Lªí¾÷§Ç¦C°ð³]©wÈ¡A¦pªG¤£¦P«hµLªk»P¦Lªí¾÷³s±µ¡C¦¹¨ç¼Æ¥²¶·¦b¨ç¼Æ A_Print_Out ¤§«e°õ¦æ¡C ******************************************************************************* A_Set_Sensor_Mode() =============================================================================== ¥\¯à¡G ³]©w SENSOR ¼Ò¦¡©Î³sÄò¯È¼Ò¦¡¡C »yªk¡G int A_Set_Sensor_Mode(char type,int continuous); °Ñ¼Æ¡G char type; ¡´¼Ò¦¡¿ï¾Ü¡A¦p¤Uªí¡G int continuous; ¡´³æ±i¼ÐÅÒªø«×¡C·í¬°³sÄò¯È¼Ò¦¡®É¡A¤~¶· ³]©w¡A¦p¤Uªí¡G ùæùùùùùçùùùùùùùùùùùçùùùùùùùùùùùùùùùùùùùùùùùùùùùè ¢xtype¢xcontinuous¢xSENSOR ¼Ò¦¡ ¢x ùéùùùùùêùùùùùùùùùùùêùùùùùùùùùùùùùùùùùùùùùùùùùùùë ¢x e ¢x0 ¢xedge sensor (¹w³]È) ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x r ¢x0 ¢xreflective sensor for gap ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x c ¢x0¡ã9999 ¢x³sÄò¯È¼Ò¦¡ ¢x ¢|¢w¢w¢r¢w¢w¢w¢w¢w¢r¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢} ¡°100 = ¤@^¦T¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_Sensor_Mode('c',300); ¡@»¡©ú¡G ³oÓ A_Set_Sensor_Mode ¨ç¼Æ³]©w¬° "e" ®É¡A«h sensor ¥H¬ï³z¼ÐÅÒ´CÅé ¤è¦¡¡A¨Ó§ì¨ú gap¡C³]©w¬° "r" ®É¡A«h sensor ¥H¤Ï®g¼ÐÅÒ´CÅé¤è¦¡¡A¨Ó §ì¨ú gap¡C¦Ó·í¬O³sÄò¼Ò¦¡®É¡A¦Lªí¾÷·|©¿²¤ gap ¤Î mark¡A¨Ï paper sensor ¤£°Ê§@¡C ******************************************************************************* A_Set_Speed() =============================================================================== ¥\¯à¡G ³]©w¦C¦L³t«×¡C »yªk¡G int A_Set_Speed(char speed); °Ñ¼Æ¡G char speed; ¡´³]©w¦C¦L³t«×¡A¦p¤Uªí¡G(A¡ãK) ùæùùùùùçùùùùùùùùùçùùùùùçùùùùùùùùùèùæùùùùùùùùùùùçùùùùùùùùùè ¢xrate¢x ³t «× ¢xrate¢x ³t «× ¢x¢x¦Lªí¾÷«¬¸¹¢x³t«×½d³ò¢x ùéùùùùùêùùùùùùùùùêùùùùùêùùùùùùùùùëùéùùùùùùùùùùùêùùùùùùùùùë ¢x A ¢x1.0 ips ¢x G ¢x4.0 ips ¢x¢xOS-214/204¢x A¡ãE ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢t¢u¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢t ¢x B ¢x1.5 ips ¢x H ¢x4.5 ips ¢x¢x OS-314 ¢x A¡ãC ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢t¢u¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢t ¢x C ¢x2.0 ips ¢x I ¢x5.0 ips ¢x¢x X-2000 ¢x A¡ãI ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢t¢u¢w¢w¢w¢w¢w¢q¢w¢w¢w¢w¢t ¢x D ¢x2.5 ips ¢x J ¢x5.5 ips ¢x¢x X-3000 ¢x A¡ãL ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢t¢|¢w¢w¢w¢w¢w¢r¢w¢w¢w¢w¢} ¢x E ¢x3.0 ips ¢x K ¢x6.0 ips ¢x ¢u¢w¢w¢q¢w¢w¢w¢w¢q¢w¢w¢q¢w¢w¢w¢w¢t ¢x F ¢x3.5 ips ¢x L ¢x 7.0 ips ¢x ¢|¢w¢w¢r¢w¢w¢w¢w¢r¢w¢w¢r¢w¢w¢w¢w¢} ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_Speed('E'); ¡@»¡©ú¡G ³oÓ A_Set_Speed ¨ç¼Æ¬°±±¨î¦C¦L³t«×¡C ******************************************************************************* A_Set_Syssetting() =============================================================================== ¥\¯à¡G ³]©wÂà¦L¼Ò¦¡¡B±Ò°Ê Cutter ©Î Peel¡B³]©w¼ÐÅҳ̪øªºªø«×¡B§ïÅÜ slash zero ¬° normal zero¡B³]©w¨C¦L¤@±i¼È°±¤@¦¸¡C »yªk¡G int A_Set_Syssetting(int transfer,int cut_peel,int length,int zero, int pause); °Ñ¼Æ¡G int transfer; ¡´³]©wÂà¦L¼Ò¦¡¡A¦p¤Uªí¡G ùæùùùùùùùùùçùùùùùùùùùè ¢xtransfer¢xÂà¦L¼Ò¦¡¢x ùéùùùùùùùùùêùùùùùùùùùë ¢x 0 ¢x¤£°Ê§@ ¢x ¢u¢w¢w¢w¢w¢q¢w¢w¢w¢w¢t ¢x 1 ¢x¼ö·P ¢x ¢u¢w¢w¢w¢w¢q¢w¢w¢w¢w¢t ¢x 2 ¢x¼öÂà ¢x ¢|¢w¢w¢w¢w¢r¢w¢w¢w¢w¢} int cut_peel; ¡´±Ò°Ê Cutter ©Î Peel¡A¦p¤Uªí¡G ùæùùùùùùùùùçùùùùùùùùùùùùùùùùùùùùùè ¢xcut_peel¢x¶gÃä¼Ò¦¡ ¢x ùéùùùùùùùùùêùùùùùùùùùùùùùùùùùùùùùë ¢x 9 ¢x¤£°Ê§@ ¢x ¢u¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x 0 ¢x¨S¦³ Cutter ©M Peel ¢x ¢u¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x 1 ¢x±Ò°Ê Cutter ¢x ¢u¢w¢w¢w¢w¢q¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢t ¢x 4 ¢x±Ò°Ê Peel ¢x ¢|¢w¢w¢w¢w¢r¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢} int length; ¡´³]©w¼ÐÅҳ̪øªºªø«×¡A½d³ò¡G1¡ã1200 ¡C·í§A³]¬° 0 ®É¡A«h¤£°Ê§@¡C ¡°100 = ¤@^¦T¡C int zero; ¡´§ïÅÜ slash zero ¬° normal zero¡C '0'«h¤£°Ê§@¡C'1'§ïÅܬ° normal zero¡C int pause; ¡´³]©w¨C¦L¤@±i¼È°±¤@¦¸¡A¦p¤Uªí¡G ùæùùùùùùùçùùùùùùùùùè ¢xpause ¢x ¥\¯à ¢x ùéùùùùùùùêùùùùùùùùùë ¢x 0 ¢x¤£°Ê§@ ¢x ¢u¢w¢w¢w¢q¢w¢w¢w¢w¢t ¢x 1 ¢x³]©w¼È°±¢x ¢u¢w¢w¢w¢q¢w¢w¢w¢w¢t ¢x 2 ¢x¨ú®ø¼È°±¢x ¢|¢w¢w¢w¢r¢w¢w¢w¢w¢} ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_Syssetting(2,4,1200,1,2); ¡@»¡©ú¡G ³oÓ A_Set_Syssetting ¨ç¼Æ¬°«n°t¸m¡C ******************************************************************************* A_Set_Unit() =============================================================================== ¥\¯à¡G ³]©w«×¶q³æ¦ì¬°^¦T©Î¤½¤Ø¡C »yªk¡G int A_Set_Unit(char unit); °Ñ¼Æ¡G char unit; ¡´«×¶q³æ¦ì¡A¦p¤Uªí¡Gùæùùùùùçùùùùùè ¢xunit¢x«×¶q¢x ùéùùùùùêùùùùùë ¢x m ¢x¤½¤Ø¢x ¢u¢w¢w¢q¢w¢w¢t ¢x n ¢x^¦T¢x ¢|¢w¢w¢r¢w¢w¢} ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_Unit('n'); ¡@»¡©ú¡G ³oÓ A_Set_Unit ¨ç¼Æ³]©w«×¶q³æ¦ì¬°^¦T©Î¤½¤Ø¡C *************************************************************************** A_Set_Gap() =============================================================================== ¥\¯à¡G ³]©w Gap ªº¼e«×¡C »yªk¡G int A_Set_Gap(int gap); °Ñ¼Æ¡G int gap; ¡´½d³ò: 0 ¡ã 36 mm¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_Gap(0); ¡@»¡©ú¡G ³oÓ A_Set_Unit ¨ç¼Æ¥i³]©w Gap ªº¼e«×¡C *************************************************************************** A_Set_Logic() =============================================================================== ¥\¯à¡G ³]©w¤Ï¥Õ¥\¯à¡C »yªk¡G int A_Set_Logic(int logic); °Ñ¼Æ¡G int logic; 0:¦Lªí¾÷¹w³]È¡C 1:«Å|³¡¥÷¤Ï¥Õ 2:«Å|³¡¥÷¤£¤Ï¥Õ ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_Logic(1); ¡@»¡©ú¡G ³oÓ A_Set_Logic ¨ç¼Æ¥i³]©w¤Ï¥Õ¥\¯à¡C *************************************************************************** A_Set_ProcessDlg() =============================================================================== ¥\¯à¡G ¶}±Ò©ÎÃö³¬¶i«×¹ï¸Ü®Ø¡C »yªk¡G int A_Set_ProcessDlg(int nShow); °Ñ¼Æ¡G int nShow; 0:Ãö³¬¶i«×¹ï¸Ü®Ø¡C 1:¶}±Ò¶i«×¹ï¸Ü®Ø ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_ProcessDlg(1); ¡@»¡©ú¡G ³oÓ A_Set_ProcessDlg ¨ç¼Æ¥i¶}Ãö¶i«×¹ï¸Ü®Ø¡C *************************************************************************** A_Set_LabelVer() =============================================================================== ¥\¯à¡G ³]©w¯È±i¼e«×¡C(For R400) »yªk¡G int A_Set_LabelVer(int centiInch); °Ñ¼Æ¡G int centiInch; ¯È±i¼e«×¡C ³æ¦ì : 0.01 ^¦T¡C ¶Ç¦^È¡G 0 -> OK. Reference AW-Error.txt file. ½d¨Ò¡G A_Set_LabelVer(400); ¡@»¡©ú¡G ³oÓ A_Set_LabelVer ¨ç¼Æ¥i³]©w R400 ¯È±i¼e«×¡C *******************************************************************************Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.