///Functions description£ºpaper cut ///Parameter description£ºPortNo£¬serial port 1->COM1 2->COM2 3->COM3 etc. Baudrate,9600,19200,38400,115200 £»the same below ///Returned value : 0£ºsucceed Not 0£ºfail £»the same below long CutPaper(long PortNo, long Baud); ///for example: CutPaper(1,9600); ///serial port 1£¬Baudrate 9600 ////Fuction description£ºfeed paper iMn mm ///Parameter description£ºiMm£¬unit mm£¬the printer feed paper long FeedPaper(long PortNo, long Baud, long iMm); ///for example: FeedPaper(1,9600,10); ///serial port1£¬Baudrate 9600£¬Feed paper 10mm ////Fuction description£ºprint character string ///Parameter description£ºStrToPrint, typewirtten character string, the following with Enter, print character string immediately, the following without Enter, full line or the command FeedPaper, print character string ///len, character string length, includes the length of Enter, for example "123456789\n"£¬the length is 10 long PrintString(long PortNo, long Baud, LPCTSTR StrToPrint, long len); ////Functions description£ºset the multiple of the character ///Parameter description£ºxSize horizontal direction£¬0-1 times£¬1-2 times£¬¡£¡£¡£¡££¬7-8 times ////// ySize vertical direction£¬0-1times£¬1-2times£¬¡£¡£¡£¡££¬7-8times long SetFontSize(long PortNo, long Baud, long xSize, long ySize) ////Fuction description£ºprint code39 bar code ///Parameter description£ºStrBarcode need to print character string to bar code£¬for example "0123456789123" ////// len : the length of character string£¬also the length of StrBarcode long PrintCode39(long PortNo, long Baud, LPCTSTR StrBarcode, long len) ////Fuction description£ºSet set the multiple of the character ///Parameter description£º ////Affect width width 2~6 set according to result£¬usually£¬get 3£¬if too much, get 2 ////Affect height height 1~255 picture element point height long CPRINTOCXCtrl::SetBarSize(long PortNo, long Baud, long Width, long Height)