Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Contexte

La dernière version du driver Boca peut provoquer des perturbations lors des impressions SecuTix. La suppression du support bidirectionnelle du driver permet de résoudre ces problèmes.

Identification de l’imprimante

Pour identifier si votre imprimante utilise la dernière version il faut ouvrir le panneau de configuration et se rendre dans le menu « imprimantes ».

 Image Removed

Si le nom de votre imprimante Boca contient la mention BIDI, cela signifie que la nouvelle version du driver Boca est utilisée. Il vous faut donc procéder à la configuration qui suit.

Configuration du driver de l’imprimante

Suivre les étapes suivantes pour désactiver la communication bidirectionnelle.

1)      Ouvrir les propriétés de l’imprimante

 Image Removed

2)      Configure le port de l’imprimante et décocher la case pour supprimer la communication bidirectionnelle (comme indiqué sur l’image ci-dessous).

...

1) Printing process stops in the middle

Symptom

Tickets are printed, but sometimes stops and there's a popup with a printing problem. That's because the Windows driver is "eating" status that SecuTix needs.

Context

The latest versions of the Boca driver can cause disturbances during SecuTix printings. Removing the driver's two-way support helps solve these problems.

Printer Identification

To identify whether your printer is using the latest version, you must open the Control Panel and go to the "Printers" menu.

 Image Added

If the name of your Boca printer contains the following BIDI, this means that the new version of the Boca driver is used. So you have to do the following setup.

Cleaning the printer drivers

1) remove all the copies of the BOCA Bidi drivers

2) unplug a re-plug the printer

Setting up the printer driver (to solve COMM_0040)

Follow the steps below to disable bi-directional communication.

1) Open Printer properties

 Image Added

2) Configures the printer port and uncheck the checkbox to remove the two-way communication (as shown in the image below).

 Image Added

2) Printing does not work at all

Start by ensuring you don't have a communication issue with the device driver: In workstation configuration, Device driver is  SecuTix : Device Manager & Sophos

Legacy mode wrongly enabled

Then, look at the device drivers' logs. If they are very big, look for these kind of lines:

<2019-04-19 14:39:19,464> <DEBUG> <c.s.p.p.d.w.b.u.Win32UsbPrinterConnector> - pp20 [PTaskRunner] TnPD:readPrinter: Send the non blocking read command : <S1>
<2019-04-19 14:39:19,464> <DEBUG> <c.s.p.p.d.w.b.u.Win32UsbPrinterConnector> - pp20 [PTaskRunner] TnPD:writePrinter: Only one packet,. no split
<2019-04-19 14:39:19,464> <DEBUG> <c.s.p.p.d.w.b.u.Win32UsbPrinterConnector> - pp20 [PTaskRunner] TnPD:writePrinterInternal: Asynchronous write, timeout (ms) on the read is : 500
<2019-04-19 14:39:19,464> <DEBUG> <c.s.p.p.d.w.b.u.Win32UsbPrinterConnector> - pp20 [PTaskRunner] TnPD:writePrinterInternal: Write event signaled !
<2019-04-19 14:39:19,464> <DEBUG> <c.s.p.p.d.w.b.u.Win32UsbPrinterConnector> - pp20 [PTaskRunner] TnPD:writePrinterInternal: Number of byte written 4/ buffer size : 4
<2019-04-19 14:39:19,464> <DEBUG> <c.s.p.p.d.w.b.u.Win32UsbPrinterConnector> - pp20 [PTaskRunner] TnPD:readPrinter: Asynchronous read, timeout (ms) on the read is : 500
<2019-04-19 14:39:19,464> <DEBUG> <c.s.p.p.d.w.b.u.Win32UsbPrinterConnector> - pp20 [PTaskRunner] TnPD:readPrinter: Read event signaled !
<2019-04-19 14:39:19,464> <DEBUG> <c.s.p.p.d.w.b.u.Win32UsbPrinterConnector> - pp20 [PTaskRunner] TnPD:readPrinter: Number of byte read 1/ buffer size : 1024
<2019-04-19 14:39:19,464> <DEBUG> <c.s.p.p.d.w.b.u.Win32UsbPrinterConnector> - pp20 [PTaskRunner] TnPD:readPrinter: read bytes: 65
<2019-04-19 14:39:19,464> <DEBUG> <c.s.p.p.d.w.b.BocaInlinedFglUsbPrintJnaDriver> - pp20 [PTaskRunner] TnPD:readFromPort: Loaded in read buffer: 65,
<2019-04-19 14:39:19,464> <DEBUG> <c.s.p.p.d.w.b.BocaInlinedFglUsbPrintJnaDriver> - pp20 [PTaskRunner] TnPD:readPort: readPort: [A]; in bytes: 65,

This means the Boca itself is configured in a legacy mode, where it returns letters ('A') instead of status bytes ( < ASCII 32). In this case, you have to reconfigure the Boca using the attached Boca application. The legacy mode (do not use it) is set with command <s6>. Use command <cs> (clear permament status commands) to reset it. Then restart the printer and try again. Using the app, you can also issue a <S1> command (status request) that should answer ACK (and not the 'A' character).

FGL reference documentation: 

View file
namefgl44o.doc
height250

App to reconfigure the boca: 

View file
nameconfigure_boca.exe
height250


Wrong firmware

Some BOCA may have a firmware "HP compatibility mode" . This should be visible when printing a BOCA test ticket

3. Printer indicates out of paper when it is not the case

  • Check that the paper is still the same as when it worked (new paper is maybe not adapted, because of the placement of the black detection mark)
  • Check that paper is correctly aligned in the printer (it should normally not be able to move left / right when inserting it, there must be only one position with minimal margin of movement ; if not, open the Boca and set it up correctly)
  • Check that paper is inserted in the correct direction (there are four way to insert paper, two are plain wrong (upside down), two may look correct (printable on top) but only one is right). The black mark must be on the right, below, when looking from the front of the printer.
  • Open the Boca, there is a black plastic handle that presses the head on the paper. It must be firmly pressed.
  • The black mark optical detector could be dirty -> open the boca, clean it up (see the manual)