Hi all,
I am trying configure a printer for the OFBiz POS application. The printer I am using is a STAR TSP143. This is a printer from the "TSP 100 FuturePRTN" Star new series, that seems to be an evolution of previous TSP600 series. Note that the printer has to be connected through USB in my testbed. I need to work with Linux, and the printer seems to be correctly configured in Linux using the provided CUPS driver (at least, I can print from other applications). However, I am not able to print the receipts from the POS application. I am working with the default configuration as checked out from svn. Shouldn't it work with the "Null POSPrinter" as specified in the jpos.xml file ? (this is the device loaded by default according to the pos-containers.xml file.) Actually, I didn't find any documentation about how to configure new POS devices in OFBiz, so I am quite lost. Could anyone give me some references, examples about how to do it ? Many thanks in advance, Daniel __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.yahoo.es |
Administrator
|
Hi Daniel,
Please take a look at jpos.xml. This should put you on the right track. From my experience you have to find the proprietary elements. I used "TM-T88III POSPrinter" for instance and it take me hald a day to put in place. Ray Barlow is using "Star TSP600" I guess and he may help you more on this subject. BTW "Null POSPrinter" is not the right way to go and I never tried with USB printer but this should be dealed by drivers(?) Jacques ----- Original Message ----- From: "Daniel P" <[hidden email]> To: <[hidden email]> Sent: Thursday, January 04, 2007 2:07 AM Subject: POS Printer configuration > Hi all, > > I am trying configure a printer for the OFBiz POS application. > The printer I am using is a STAR TSP143. This is a printer from the "TSP 100 FuturePRTN" Star new series, that seems to be an evolution of previous TSP600 series. Note that the printer has to be connected through USB in my testbed. > > I need to work with Linux, and the printer seems to be correctly configured in Linux using the provided CUPS driver (at least, I can print from other applications). > > However, I am not able to print the receipts from the POS application. I am working with the default configuration as checked out from svn. > > Shouldn't it work with the "Null POSPrinter" as specified in the jpos.xml file ? (this is the device loaded by default according to the pos-containers.xml file.) > > Actually, I didn't find any documentation about how to configure new POS devices in OFBiz, so I am quite lost. Could anyone give me some references, examples about how to do it ? > > Many thanks in advance, > > Daniel > > > > > __________________________________________________ > Correo Yahoo! > Espacio para todos tus mensajes, antivirus y antispam ¡gratis! > Regístrate ya - http://correo.yahoo.es |
I use the same printer, although my POS platform is Windows XP. Not sure if it'll help, but the relevant section from my jpos.xml is <!-- Star TSP100 futurePRNT POSPrinter (USB) --> <JposEntry logicalName="StarTSP100"> <creation factoryClass="com.starmicronics.starjavapos.ServiceInstanceFactory" serviceClass="com.starmicronics.starjavapos.POSPrinterService"/> <vendor name="Star Micronics" url="www.starmicronics.com"/> <jpos category="POSPrinter" version="1.9"/> <product description="Thermal receipt printer" name="TSP100" url="www.futureprnt.com"/> <prop name="model" type="String" value="TSP100"/> <prop name="portName" type="String" value="tsp100lm:5&1d51b7b2&0&1"/> <prop name="portSettings" type="String" value=""/> <prop name="doCheckedBlockPrinting" type="Boolean" value="true"/> </JposEntry> <!-- Star TSP100 futurePRNT connected cash drawer (USB) --> <JposEntry logicalName="StarTSP100CashDrawer"> <creation factoryClass="com.starmicronics.starjavapos.ServiceInstanceFactory" serviceClass="com.starmicronics.starjavapos.CashDrawerService"/> <vendor name="Star Micronics" url="www.starmicronics.com"/> <jpos category="CashDrawer" version="1.9"/> <product description="Printer controlled cash drawer" name="Star Micronics cash drawer controller" url="www.starmicronics.com"/> <prop name="portName" type="String" value="tsp100lm:5&1d51b7b2&0&1"/> <prop name="portSettings" type="String" value=""/> <prop name="controlPrimaryDrawer" type="Boolean" value="true"/> <prop name="firePulseWidth" type="Long" value="200"/> <prop name="sleepPulseWidth" type="Long" value="200"/> <prop name="capStatus" type="Boolean" value="true"/> <prop name="signalLevelHighWhenDrawerOpen" type="Boolean" value="true"/> </JposEntry> You have to make sure the JPOS driver is installed, and the "portName" value is critical for correct operation (at least on DOS). I got that by fiddling with various utilities on the Star install disk (they're all java, so should work on Linux too). Cheers, Iain Jacques Le Roux wrote: Hi Daniel, Please take a look at jpos.xml. This should put you on the right track. From my experience you have to find the proprietary elements. I used "TM-T88III POSPrinter" for instance and it take me hald a day to put in place. Ray Barlow is using "Star TSP600" I guess and he may help you more on this subject. BTW "Null POSPrinter" is not the right way to go and I never tried with USB printer but this should be dealed by drivers(?) Jacques ----- Original Message ----- From: "Daniel P" [hidden email] To: [hidden email] Sent: Thursday, January 04, 2007 2:07 AM Subject: POS Printer configurationHi all, I am trying configure a printer for the OFBiz POS application. The printer I am using is a STAR TSP143. This is a printer from the "TSP 100 FuturePRTN" Star new series, that seems to be anevolution of previous TSP600 series. Note that the printer has to be connected through USB in my testbed.I need to work with Linux, and the printer seems to be correctly configured in Linux using the provided CUPS driver (at least, Ican print from other applications).However, I am not able to print the receipts from the POS application. I am working with the default configuration as checked outfrom svn.Shouldn't it work with the "Null POSPrinter" as specified in the jpos.xml file ? (this is the device loaded by default accordingto the pos-containers.xml file.)Actually, I didn't find any documentation about how to configure new POS devices in OFBiz, so I am quite lost. Could anyone giveme some references, examples about how to do it ?Many thanks in advance, Daniel __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.yahoo.es No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.16.4/615 - Release Date: 3/01/2007 |
I've only used serial printers to date as I was confident they would
work, but I would be interested in seeing your results with the USB versions as small form factor PCs are getting harder to find with serial ports! I've moved the POS page from the old wiki to: http://docs.ofbiz.org/x/0AM It has lots of general comments and useful information and it would be great if you can add your experience with hardware etc for others to see. Re pos-containers.xml and it contents they are set by default to point to "null" devices i.e. software implementations so that you can test the till application without having to configure a cashdrawer or printer etc. If you configure a printer and it's not plugged in then it tends to play havoc with the application due to communication errors. So change an entry in pos-containers.xml to link in an entry from jpos.xml for that device as and when you want to enable real devices for testing or deployment. Ray Iain Fogg wrote: > Daniel, > > I use the same printer, although my POS platform is Windows XP. Not > sure if it'll help, but the relevant section from my jpos.xml is > > <!-- Star TSP100 futurePRNT POSPrinter (USB) --> > <JposEntry logicalName="StarTSP100"> > <creation > factoryClass="com.starmicronics.starjavapos.ServiceInstanceFactory" > serviceClass="com.starmicronics.starjavapos.POSPrinterService"/> > <vendor name="Star Micronics" url="www.starmicronics.com"/> > <jpos category="POSPrinter" version="1.9"/> > <product description="Thermal receipt printer" name="TSP100" > url="www.futureprnt.com"/> > <prop name="model" type="String" value="TSP100"/> > <prop name="portName" type="String" > value="tsp100lm:5&1d51b7b2&0&1"/> > <prop name="portSettings" type="String" value=""/> > <prop name="doCheckedBlockPrinting" type="Boolean" value="true"/> > </JposEntry> > > <!-- Star TSP100 futurePRNT connected cash drawer (USB) --> > <JposEntry logicalName="StarTSP100CashDrawer"> > <creation > factoryClass="com.starmicronics.starjavapos.ServiceInstanceFactory" > serviceClass="com.starmicronics.starjavapos.CashDrawerService"/> > <vendor name="Star Micronics" url="www.starmicronics.com"/> > <jpos category="CashDrawer" version="1.9"/> > <product description="Printer controlled cash drawer" name="Star > Micronics cash drawer controller" url="www.starmicronics.com"/> > <prop name="portName" type="String" > value="tsp100lm:5&1d51b7b2&0&1"/> > <prop name="portSettings" type="String" value=""/> > <prop name="controlPrimaryDrawer" type="Boolean" value="true"/> > <prop name="firePulseWidth" type="Long" value="200"/> > <prop name="sleepPulseWidth" type="Long" value="200"/> > <prop name="capStatus" type="Boolean" value="true"/> > <prop name="signalLevelHighWhenDrawerOpen" type="Boolean" > value="true"/> > </JposEntry> > > You have to make sure the JPOS driver is installed, and the "portName" > value is critical for correct operation (at least on DOS). I got that > by fiddling with various utilities on the Star install disk (they're > all java, so should work on Linux too). > > Cheers, Iain > > Jacques Le Roux wrote: >> Hi Daniel, >> >> Please take a look at jpos.xml. This should put you on the right track. From my experience you have to find the proprietary >> elements. I used "TM-T88III POSPrinter" for instance and it take me hald a day to put in place. Ray Barlow is using "Star TSP600" I >> guess and he may help you more on this subject. >> >> BTW "Null POSPrinter" is not the right way to go and I never tried with USB printer but this should be dealed by drivers(?) >> >> Jacques >> >> ----- Original Message ----- >> From: "Daniel P" <[hidden email]> >> To: <[hidden email]> >> Sent: Thursday, January 04, 2007 2:07 AM >> Subject: POS Printer configuration >> >> >> >>> Hi all, >>> >>> I am trying configure a printer for the OFBiz POS application. >>> The printer I am using is a STAR TSP143. This is a printer from the "TSP 100 FuturePRTN" Star new series, that seems to be an >>> >> evolution of previous TSP600 series. Note that the printer has to be connected through USB in my testbed. >> >>> I need to work with Linux, and the printer seems to be correctly configured in Linux using the provided CUPS driver (at least, I >>> >> can print from other applications). >> >>> However, I am not able to print the receipts from the POS application. I am working with the default configuration as checked out >>> >> from svn. >> >>> Shouldn't it work with the "Null POSPrinter" as specified in the jpos.xml file ? (this is the device loaded by default according >>> >> to the pos-containers.xml file.) >> >>> Actually, I didn't find any documentation about how to configure new POS devices in OFBiz, so I am quite lost. Could anyone give >>> >> me some references, examples about how to do it ? >> >>> Many thanks in advance, >>> >>> Daniel >>> >>> >>> >>> >>> __________________________________________________ >>> Correo Yahoo! >>> Espacio para todos tus mensajes, antivirus y antispam ¡gratis! >>> Regístrate ya - http://correo.yahoo.es >>> >> >> >> >> > > ------------------------------------------------------------------------ > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.16.4/615 - Release Date: 3/01/2007 > |
In reply to this post by Iain Fogg
|
Free forum by Nabble | Edit this page |