![]() ![]() Initialize the printer status & buffer PrnX.Reset() // Rest the printer // 1 = 79 Figures(extended mode for Citizin CBM printers and similars) // 2 = 32 Figures(restricted mode for Epson & 32 // International characters only) The activeX control name is: PrnX for example void InitPrn (CString pComPort) Īnd at the end of program, just do close the control. User can: print empty line, change orientation, skip line(s), print with/out line feeds.Choose the language to print and print whatever you want.Load characters (once the control is open).Choose the Character Mode (32 International characters, or extended 79 characters for Arabic figures).Control.Open (The COM port used here / LPT port).It's so easy to use, all the user has to do:.We print Arabic characters using Citizen receipt printers & Epson on Citizen Japan Ltd. It's not required that the Windows operating system support that language at all.First, we download the characters into the ActiveX. It's not just Arabic, it can print any other language characters.We printed Arabic on a Citizen receipt printer in CBM printers center in Japan where: No Arabic character set on the printer, no windows OS supporting Arabic!! It works, even if the desired language character set is not downloaded into the printer ROM.It uses the common ESC commands for the printers, so it can work with many printer brands.It's ActiveX control, can be embedded into any other development language.The developer can use the character set(s) downloaded into the printer, but how to avoid that headache? And for other developers, we made an ActiveX control to deal with the receipt printers. We developed a VC++ code and solved the problem in a genius way. All this should be faster than that by the Windows graphic drivers. We developed a POS software, and one of the problems we faced was how to print Arabic characters on the receipt printer without using the Windows drivers, and to print Arabic/English at the same line, and considering the language orientation. The control uses ESC commands which is the most common among several manufacturers of receipt printers. ![]() It's fully tested over Citizen CBM series, and under testing on Epson TM series. ![]() ![]() This component does not use the graphic mode drivers supplied by the printer manufacturers. This control is designed for those Arabic developers who are developing systems with receipt printers and want to print Arabic/English characters. Download demo application & control - 348 Kb. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |