I am working on building a POS System for my father's restaurant. I have chosen the Star Micronics TSP 650II as the receipt and kitchen ticket printer. And I design the System in a modern form, not like the old style(Using the window xp/2000 with an ugly User Interface and low-end hardware), but still remain the light-weight feature. In first I have do the research of Star Micronics SDK and I find the java SDK so I decide to move on to design phase. However, after I have implement most of functions of the System. I recognize that the official Star Java SDK only provide the windows version(with only the dll files). As my server tier is planed to use Ubuntu Linux as the OS. So I have to solve the problem myself and in case I forgot what I have done and be usable later, here's what I have done to solve such problem.
On the Star Micronics Official Site comes with the Linux Driver of the Pos Printer. Inside the Linux Driver have two package one is named CUPS which is using the CUPS as the driver, another is name JavaPos. JavaPos is what I finally used after thousand of tries of using the CUPS one. inside root of the JavaPos folder there is a folder names "StarIOPort_Install_x64" and inside has an shell script "install.sh", execute it as root or super user. then I can use the java sdk to print stuff with my TSP650II.
沒有留言:
張貼留言