I have pdf file and I want to print it via usb printer but I did not find any thing helpful
I try this github repand it doesn't help me do what I want
I also search on other stackoverflow questions and nothing.
Anything for doing that please.
I think supporting thermal printers would be nice for the first step. This library looks well elaborated: Android library for ESC/POS Thermal Printer
In addition, there is an article on medium.com about this library with a sample project.
Related
Some idea about how can I connect a Java Application to a printer device (and thermal printers too ) and print the information that I want?
My idea is connect from LPT, COM and TCP.
If you have links to some manual it would be appreciate I do not find so much clear information about this and I am so interested in that.
Thanks.
PD: Sorry for my english skills.
I have the following problem:
I have a MZ320 printer Zebra works by bluetooth, but application is under develop phonegap.
I found this plugin (https://github.com/EionRobb/phonegap-print-plugins), but do not know how to implement it (and install).
I am a neophyte at this, please help.
My English sucks, sorry
I pushed on Github a simple cordova/phonegap plugin to send ZPL data to printer. Use it is very simple. Visit project page for more infos.
I am not familiar with the plugin you referenced. I can suggest two ways: (1) Embed Zebra SDK in your app and use it to implement printer discovery, connection and printing to MZ320. (2) Use centvia app to handle printer discovery, connection, and communications and invoke it from your app to send your print data to the MZ320.
I am developing an application for Point of Sales. In that I want to take print from android mobile to any printer type(only receipt printer / kitchen printer) without using any SDK for particular printer.
Is this possible, or is it possible only by calling cloud Services?
We print to thermal printers via bluetooth. We use the Star printer from Star Micronics. Our users print to these from their tablets when out in the field. It was a bit tricky getting them to work. You're a bit limited in what you can print from an Android device, and it took quite a bit of searching to find something that worked.
-Hi
I'm using the Zebra Link-OS SDK to play around with a QLn-320 mobile printer. I have not altered any of the code. The printer is able to communicate through a network but not via USB. It is using the ZDesigner QLn320 driver on a USB port. I know the problem isn't the USB because I am able to perform SGD commands via Zebra Toolbox as well as print documents through notepad. The sample code should print out a 60 byte sample logo, instead the application returns "Communications error" in the form of a red label. It doesn't even seem to read anything from the printer as I don't get anything returned by doing a SGD command. It seems to work about 1% of the time and other times it shows the blinking folder icon but nothing happens. I've tried all the firmwares for the printer listed on Zebra's website including the latest one. I've tried deleting the project, re-importing it, cleaning it, and even using NetBeans, but nothing seems to work. The bug seems to be in the SDK.
Any ideas?
Thanks!
Verify that you are running JRE v1.6 or above.
Try doing a factory default on the printer.
You can do this by sending to the printer the following SGD command:
! U1 do "device.restore_defaults" "all"
Then try printing from the app via USB.
My goal is to integrate a USB POS thermal printer with a small demo Android app that I will using from an Android tablet.
I have two POS printers:
Epson TM-T88III
POS-5870
I also have a Sanei N10 tablet that I am connecting to the POS printer via a USB OTG dongle cable.
I downloaded the USB Host Diagnostic (from Google Play Store) to see if it would recognize the POS printers that I connected to the tablet. It recognized both printers, however the EPSON TM-T88III was recognized on the Android OS level while the POS-5870 was recognized only on the kernel level.
I also tried using the USB Printer Driver 2.1 DevEd app (from the Google Play store), however I couldn't set the any of the printers as the default printer to use.
I also tried using the POS Printer Driver (ESC) app (from the Google Play store), however, it couldn't connect with the printers.
I was wondering if there is any way I can get the POS printers connected to my Android tablet and perform a test print? In addition, is there any SDKs/source code that I can use to detect and perform a test print?
My 2 cents. I did an app that can print from Android(Bluetooth) to a Zebra printer. Bases on our search, it depends more on your printer provider. We couldn't find a "library" that can print to any printer.
That's whay we went for Zebra printers, since they support Android. I'm not sure if Epson does provide Android libraries to use with their printers.
i think the problem with epson api is that it only supports ARMv5TE architecture, I am not sure which tablet you are using, but if the tablet's processor is not ARMv5TE based then I dont think the printers will work, I havent looked at any of the zebra printers, or star for that matter but i assume their apis also must have some limitations in terms of what architecture they support.
on that note Epson should release api for ARMv7 and ARMv8 all variants now as thats those are the latest chips and will be most widely used in the coming months.
As far I know, Epson have specific documentation about SDK API for mobile, you can find it in here EPSON SDK API. They provide useful information about specific device requirement and support printer.