Skip to content

Instantly share code, notes, and snippets.

@ykurniawan
Created March 10, 2016 08:06
Show Gist options
  • Save ykurniawan/688f664d11c2ad884b1b to your computer and use it in GitHub Desktop.
Save ykurniawan/688f664d11c2ad884b1b to your computer and use it in GitHub Desktop.
Sample of jpos.xml which containing a number of printer types. In this file there are only Bixolon printers
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE JposEntries PUBLIC "-//JavaPOS//DTD//EN"
"jpos/res/jcl.dtd">
<JposEntries>
<JposEntry logicalName="SPP-R210" >
<creation
factoryClass="com.bxl.loader.ServiceInstanceFactory"
serviceClass="com.bxl.services.posprinter.POSPrinterService" />
<vendor
name="BIXOLON"
url="http://www.bixolon.com" />
<jpos
category="POSPrinter"
version="1.14" />
<product
name="SPP-R210"
description="Slim yet Rugged 2 inch Thermal Mobile Portable Printer"
url="http://www.bixolon.com" />
<!-- Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 ) -->
<prop
name="deviceBus"
type="String"
value="Unknown" />
<prop
name="address"
type="String"
value="" />
<prop
name="secure"
type="String"
value="false" />
</JposEntry>
<JposEntry logicalName="SPP-R200II" >
<creation
factoryClass="com.bxl.loader.ServiceInstanceFactory"
serviceClass="com.bxl.services.posprinter.POSPrinterService" />
<vendor
name="BIXOLON"
url="http://www.bixolon.com" />
<jpos
category="POSPrinter"
version="1.14" />
<product
name="SPP-R200II"
description="Compact yet Rugged 2 inch Thermal Mobile Printer"
url="http://www.bixolon.com" />
<!-- Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 ) -->
<prop
name="deviceBus"
type="String"
value="Unknown" />
<prop
name="address"
type="String"
value="" />
<prop
name="secure"
type="String"
value="false" />
</JposEntry>
<JposEntry logicalName="SPP-R300" >
<creation
factoryClass="com.bxl.loader.ServiceInstanceFactory"
serviceClass="com.bxl.services.posprinter.POSPrinterService" />
<vendor
name="BIXOLON"
url="http://www.bixolon.com" />
<jpos
category="POSPrinter"
version="1.14" />
<product
name="SPP-R300"
description="Handy yet Rugged 3 inch Thermal Mobile Printer"
url="http://www.bixolon.com" />
<!-- Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 ) -->
<prop
name="deviceBus"
type="String"
value="Unknown" />
<prop
name="address"
type="String"
value="" />
<prop
name="secure"
type="String"
value="false" />
</JposEntry>
<JposEntry logicalName="SPP-R400" >
<creation
factoryClass="com.bxl.loader.ServiceInstanceFactory"
serviceClass="com.bxl.services.posprinter.POSPrinterService" />
<vendor
name="BIXOLON"
url="http://www.bixolon.com" />
<jpos
category="POSPrinter"
version="1.14" />
<product
name="SPP-R400"
description="Robust and Powerful 4 inch Thermal Mobile Printer"
url="http://www.bixolon.com" />
<!-- Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 ) -->
<prop
name="deviceBus"
type="String"
value="Unknown" />
<prop
name="address"
type="String"
value="" />
<prop
name="secure"
type="String"
value="false" />
</JposEntry>
<JposEntry logicalName="SRP-350III" >
<creation
factoryClass="com.bxl.loader.ServiceInstanceFactory"
serviceClass="com.bxl.services.posprinter.POSPrinterService" />
<vendor
name="BIXOLON"
url="http://www.bixolon.com" />
<jpos
category="POSPrinter"
version="1.14" />
<product
name="SRP-350III"
description="More Flexibility 3 inch Thermal POS Printe"
url="http://www.bixolon.com" />
<!-- Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 ) -->
<prop
name="deviceBus"
type="String"
value="Unknown" />
<prop
name="address"
type="String"
value="" />
<prop
name="secure"
type="String"
value="false" />
</JposEntry>
<JposEntry logicalName="SRP-352III" >
<creation
factoryClass="com.bxl.loader.ServiceInstanceFactory"
serviceClass="com.bxl.services.posprinter.POSPrinterService" />
<vendor
name="BIXOLON"
url="http://www.bixolon.com" />
<jpos
category="POSPrinter"
version="1.14" />
<product
name="SRP-352III"
description="More Flexibility 3 inch Thermal POS Printe"
url="http://www.bixolon.com" />
<!-- Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 ) -->
<prop
name="deviceBus"
type="String"
value="Unknown" />
<prop
name="address"
type="String"
value="" />
<prop
name="secure"
type="String"
value="false" />
</JposEntry>
<JposEntry logicalName="SRP-350plusIII" >
<creation
factoryClass="com.bxl.loader.ServiceInstanceFactory"
serviceClass="com.bxl.services.posprinter.POSPrinterService" />
<vendor
name="BIXOLON"
url="http://www.bixolon.com" />
<jpos
category="POSPrinter"
version="1.14" />
<product
name="SRP-350plusIII"
description="Seamless Mobility 3 inch Thermal POS Printer"
url="http://www.bixolon.com" />
<!-- Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 ) -->
<prop
name="deviceBus"
type="String"
value="Unknown" />
<prop
name="address"
type="String"
value="" />
<prop
name="secure"
type="String"
value="false" />
</JposEntry>
<JposEntry logicalName="SRP-352plusIII" >
<creation
factoryClass="com.bxl.loader.ServiceInstanceFactory"
serviceClass="com.bxl.services.posprinter.POSPrinterService" />
<vendor
name="BIXOLON"
url="http://www.bixolon.com" />
<jpos
category="POSPrinter"
version="1.14" />
<product
name="SRP-352plusIII"
description="Seamless Mobility 3 inch Thermal POS Printer"
url="http://www.bixolon.com" />
<!-- Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 ) -->
<prop
name="deviceBus"
type="String"
value="Unknown" />
<prop
name="address"
type="String"
value="" />
<prop
name="secure"
type="String"
value="false" />
</JposEntry>
<JposEntry logicalName="SRP-F310II" >
<creation
factoryClass="com.bxl.loader.ServiceInstanceFactory"
serviceClass="com.bxl.services.posprinter.POSPrinterService" />
<vendor
name="BIXOLON"
url="http://www.bixolon.com" />
<jpos
category="POSPrinter"
version="1.14" />
<product
name="SRP-F310II"
description="First Real Waterproof 3 inch Thermal POS Printer"
url="http://www.bixolon.com" />
<!-- Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 ) -->
<prop
name="deviceBus"
type="String"
value="Unknown" />
<prop
name="address"
type="String"
value="" />
<prop
name="secure"
type="String"
value="false" />
</JposEntry>
<JposEntry logicalName="SRP-F312II" >
<creation
factoryClass="com.bxl.loader.ServiceInstanceFactory"
serviceClass="com.bxl.services.posprinter.POSPrinterService" />
<vendor
name="BIXOLON"
url="http://www.bixolon.com" />
<jpos
category="POSPrinter"
version="1.14" />
<product
name="SRP-F312II"
description="First Real Waterproof 3 inch Thermal POS Printer"
url="http://www.bixolon.com" />
<!-- Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 ) -->
<prop
name="deviceBus"
type="String"
value="Unknown" />
<prop
name="address"
type="String"
value="" />
<prop
name="secure"
type="String"
value="false" />
</JposEntry>
<JposEntry logicalName="SRP-F313II" >
<creation
factoryClass="com.bxl.loader.ServiceInstanceFactory"
serviceClass="com.bxl.services.posprinter.POSPrinterService" />
<vendor
name="BIXOLON"
url="http://www.bixolon.com" />
<jpos
category="POSPrinter"
version="1.14" />
<product
name="SRP-F313II"
description="First Real Waterproof 3 inch Thermal POS Printer"
url="http://www.bixolon.com" />
<!-- Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 ) -->
<prop
name="deviceBus"
type="String"
value="Unknown" />
<prop
name="address"
type="String"
value="" />
<prop
name="secure"
type="String"
value="false" />
</JposEntry>
<JposEntry logicalName="SRP-380" >
<creation
factoryClass="com.bxl.loader.ServiceInstanceFactory"
serviceClass="com.bxl.services.posprinter.POSPrinterService" />
<vendor
name="BIXOLON"
url="http://www.bixolon.com" />
<jpos
category="POSPrinter"
version="1.14" />
<product
name="SRP-380"
description="POS Printers Products"
url="http://www.bixolon.com" />
<!-- Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 ) -->
<prop
name="deviceBus"
type="String"
value="Unknown" />
<prop
name="address"
type="String"
value="" />
<prop
name="secure"
type="String"
value="false" />
</JposEntry>
<JposEntry logicalName="SRP-382" >
<creation
factoryClass="com.bxl.loader.ServiceInstanceFactory"
serviceClass="com.bxl.services.posprinter.POSPrinterService" />
<vendor
name="BIXOLON"
url="http://www.bixolon.com" />
<jpos
category="POSPrinter"
version="1.14" />
<product
name="SRP-382"
description="POS Printers Products"
url="http://www.bixolon.com" />
<!-- Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 ) -->
<prop
name="deviceBus"
type="String"
value="Unknown" />
<prop
name="address"
type="String"
value="" />
<prop
name="secure"
type="String"
value="false" />
</JposEntry>
<JposEntry logicalName="STP-103III" >
<creation
factoryClass="com.bxl.loader.ServiceInstanceFactory"
serviceClass="com.bxl.services.posprinter.POSPrinterService" />
<vendor
name="BIXOLON"
url="http://www.bixolon.com" />
<jpos
category="POSPrinter"
version="1.14" />
<product
name="STP-103III"
description="2 inch Thermal POS Printer"
url="http://www.bixolon.com" />
<!-- Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 ) -->
<prop
name="deviceBus"
type="String"
value="Unknown" />
<prop
name="address"
type="String"
value="" />
<prop
name="secure"
type="String"
value="false" />
</JposEntry>
<JposEntry logicalName="SRP-F275III" >
<creation
factoryClass="com.bxl.loader.ServiceInstanceFactory"
serviceClass="com.bxl.services.posprinter.POSPrinterService" />
<vendor
name="BIXOLON"
url="http://www.bixolon.com" />
<jpos
category="POSPrinter"
version="1.14" />
<product
name="SRP-F275III"
description="Drop-in 3 inch Impact Dot POS Printer"
url="http://www.bixolon.com" />
<!-- Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 ) -->
<prop
name="deviceBus"
type="String"
value="Unknown" />
<prop
name="address"
type="String"
value="" />
<prop
name="secure"
type="String"
value="false" />
</JposEntry>
</JposEntries>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment