somkiattha / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 0 forks source link

Zebra MZ220 printer driver crash #903

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I installed the Zebra printer and drivers as per: 
http://opendatakit.org/use/sensors/zebra-printer-driver/
Everything seems fine, until I try to print from the data collection screen. 
After clicking the print button, I get the pop-up again to enter the 
'Authentication PIN', communication is started with the printer (the blue light 
is flashing) after a while I get a pop-up that says: 'Unfortunately, ODK Zebra 
Printer has stopped.' Reinstalling the printer driver, or resetting the tablet 
did not help.

The device that I am using is a Samsung Galaxy Tab GT-P3100 with Android 
version 4.0.3. ODK Collect version 1.3. Zebra MZ220 printer.

Attached it the simple form I am testing with.

Any advise to get the printer working is highly appreciated.
Thanks, Robert

Original issue reported on code.google.com by aighd....@gmail.com on 3 Sep 2013 at 2:32

Attachments:

GoogleCodeExporter commented 8 years ago
Did you install ODK Sensors Framework? 

It is required for all sensors (e.g., Zebra driver).

http://opendatakit.org/use/sensors/

Original comment by mitchellsundt@gmail.com on 12 Sep 2013 at 8:39

GoogleCodeExporter commented 8 years ago

Original comment by mitchellsundt@gmail.com on 12 Sep 2013 at 9:07

GoogleCodeExporter commented 8 years ago
Yes, I installed the ODK Sensors Framework, after I installed ODK. Basically I 
just followed all the steps in the installation guide 
(http://opendatakit.org/use/sensors/zebra-printer-driver/). The printer is 
working, it pairs with the device, and I was able to print the diagnostics page 
when it was connected to a PC.

Original comment by aighd....@gmail.com on 13 Sep 2013 at 9:18

GoogleCodeExporter commented 8 years ago
Hi Robert,

I also tried your PrinterTest.xml in my environment: Samsung GALAXY S4 (Android 
4.4.2), Zebra MZ 220, ODK collect (1.4.4(1045)). Both ODK sensors and ODK Zebra 
printer apps were installed for sure. It seemed that the printer and phone were 
actually communicating, but ODK collect could not successfully send the data to 
the printer. I believe it is almost the same situation you had.

Did you find a solution to solve this problem?

Also, I would like to mention that, in my environment, Zebra application (Print 
Station) even sometimes could not connect the printer. I used the following 
setting for Zebra printer for Bluetooth connection. Especially, 
"bluetooth.minimum_security_mode" "2" can only allow me to successfully 
establish the connection between the printer and the phone.

! U1 setvar "bluetooth.enable" "on"
! U1 setvar "bluetooth.friendly_name" "MZ220-2"
! U1 setvar "bluetooth.discoverable" "on"
! U1 setvar "bluetooth.minimum_security_mode" "2"
! U1 setvar "bluetooth.bluetooth_pin" "1234"
! U1 setvar "bluetooth.bonding" "on"
! U1 do "device.reset" ""

Are you using  "bluetooth.minimum_security_mode" "2" for your printer setting?

Regards, Tomonori

Original comment by ohoshisa...@gmail.com on 9 Oct 2014 at 8:58

Attachments: