Professional Documents
Culture Documents
04 with JavaPOS
This application note shows how to use a TSP100 on Ubuntu Linux 9.04 with the JavaPOS driver.
*Note: Please have the printer OFF during the Software installation
3. Click on the 2nd option “libxerces27 (=2.7.0-5) / validating XML parser library for C++”.
Star Micronics America, Inc. 1150 King Georges Post Road, Edison, NJ 08837-3729
Tel: (732) 623-5500 Fax: (732) 623-5590 Web: www.starmicronics.com
Using a TSP100 on Linux Ubuntu 9.04 with JavaPOS
Star Micronics America, Inc. 1150 King Georges Post Road, Edison, NJ 08837-3729
Tel: (732) 623-5500 Fax: (732) 623-5590 Web: www.starmicronics.com
Using a TSP100 on Linux Ubuntu 9.04 with JavaPOS
Star Micronics America, Inc. 1150 King Georges Post Road, Edison, NJ 08837-3729
Tel: (732) 623-5500 Fax: (732) 623-5590 Web: www.starmicronics.com
Using a TSP100 on Linux Ubuntu 9.04 with JavaPOS
4. When the package appears, right-click on it and click on Mark for Installation.
Star Micronics America, Inc. 1150 King Georges Post Road, Edison, NJ 08837-3729
Tel: (732) 623-5500 Fax: (732) 623-5590 Web: www.starmicronics.com
Using a TSP100 on Linux Ubuntu 9.04 with JavaPOS
Star Micronics America, Inc. 1150 King Georges Post Road, Edison, NJ 08837-3729
Tel: (732) 623-5500 Fax: (732) 623-5590 Web: www.starmicronics.com
Using a TSP100 on Linux Ubuntu 9.04 with JavaPOS
Star Micronics America, Inc. 1150 King Georges Post Road, Edison, NJ 08837-3729
Tel: (732) 623-5500 Fax: (732) 623-5590 Web: www.starmicronics.com
Using a TSP100 on Linux Ubuntu 9.04 with JavaPOS
Star Micronics America, Inc. 1150 King Georges Post Road, Edison, NJ 08837-3729
Tel: (732) 623-5500 Fax: (732) 623-5590 Web: www.starmicronics.com
Using a TSP100 on Linux Ubuntu 9.04 with JavaPOS
10. Open the Synaptic Package Manager again and ensure there is a green box next to sun-java6-jdk.
Star Micronics America, Inc. 1150 King Georges Post Road, Edison, NJ 08837-3729
Tel: (732) 623-5500 Fax: (732) 623-5590 Web: www.starmicronics.com
Using a TSP100 on Linux Ubuntu 9.04 with JavaPOS
2. Obtain the Star Micronics JavaPOS Package (starjavapos_linux_Ver1.9.13) at our website: www.starmicronics.com
3. Open the “starjavapos_linux_Ver1.9.13” folder. Right click on “jpos.xml” and click on Open with Text Editor.
4. Search for your printer model (ie: TSP100) and copy the Logical Name.
5. Revisit the Star JavaPOS folder and locate the sample receipt file named “StarReceiptTest.java”.
Right click and click Open with Text Editor.
Star Micronics America, Inc. 1150 King Georges Post Road, Edison, NJ 08837-3729
Tel: (732) 623-5500 Fax: (732) 623-5590 Web: www.starmicronics.com
Using a TSP100 on Linux Ubuntu 9.04 with JavaPOS
7. Paste the printer’s Logical Name into the “printer.open” section as shown below.
Star Micronics America, Inc. 1150 King Georges Post Road, Edison, NJ 08837-3729
Tel: (732) 623-5500 Fax: (732) 623-5590 Web: www.starmicronics.com
Using a TSP100 on Linux Ubuntu 9.04 with JavaPOS
8. Scroll up to the top of the StarReceiptTest.java file to the “Usage instructions – Linux” section.
Change the directory to the starjavapos_linux_Ver1.9.13 folder. Type “cd” and then drag the name
starjavapos_linux_Ver1.9.13 into Terminal.
Star Micronics America, Inc. 1150 King Georges Post Road, Edison, NJ 08837-3729
Tel: (732) 623-5500 Fax: (732) 623-5590 Web: www.starmicronics.com
Using a TSP100 on Linux Ubuntu 9.04 with JavaPOS
10. Refer back to the StarReceiptTest.java file and copy “javac –classpath jpos191-controls.jar:jcl.jar StarReceipt
Test.java”.
Type “sudo” in Terminal, then paste the command line and hit enter.
Terminal will confirm that the command was accepted and a Sample Test receipt will print out.
Congratulations! You have successfully printed using the Star Micronics JavaPOS driver.
Star Micronics America, Inc. 1150 King Georges Post Road, Edison, NJ 08837-3729
Tel: (732) 623-5500 Fax: (732) 623-5590 Web: www.starmicronics.com