I am developing render utility in C#.Net for printing labels in my Kiosk application.
I have used RawPrinter class to send ZPL commands. If i print 5 labels how can i get response that printer actually print 5 or less.
I also need to read detail printer current status if its out of paper, paper low or if any problem is found.
I have saw SGD Commands ! U1 getvar "device.host_status", but not get any response.
I want to know does ZPL commands are right choice or is there any free sdk available.
According to the manual (ZPLII ZBI Manual) device.host_status is only available on the ZT200 series printer. If you are using the Zebra Kiosk printer see this article Get Status on Zebra Kiosk Printer.
I don't know if they have an SDK for the reciept printer, but if they do it will be here Zebra Link SDK
Related
Hello I am sending and printing a file with PDFTron to the printer. But the page is broken.
I have no such problem in Windows 10. What is the problem?
I have read a few questions on here about printing to Zebra printers
(1, 2). I understand that it's best to send the printer code in ZPL, but it seems that this requires knowing which printer will be used. Our application will be accessed by any number of users with any number of different, distinct Zebra printers.
Can anyone help or point me to some documentation? How can a website send any Zebra printer instructions to print?
I’m looking at creating a stand-alone application that scans several bar codes and at the end prints a receipt. I’m trying to understand from a developer prospective if there are standard calls to print via Windows CE.
The yet unspecified device would support at least Windows CE 5 up to a Windows Mobile 6/6.5. These would be a Motorola Symbol/Datalogic type hand held scanning terminal. The application would be used on whatever device we chose, not a broad range of products.
I’ve seen third-party libraries listed. Are these still relevant with more modern Windows Mobile releases?
I can send the specific codes to a printer outside of a printing system, but I don't want to go that route if printing is can be done "normally."
I expect to use VS 2005 or 2008 with C# depending on the model's support.
There is no printer support on Windows CE devices. What we've successfully done is to connect a Zebra receipt printer to the device via Bluetooth and send ZPL code directly to the COM port emulation. We were able to print on that device like this.
There is, however, no standard way that I know of.
While I'm not sure what more detail I could add, I'll try my best to describe what we did:
We had a little Windows CE industrial device (while I think it was a Datalogic device, the process should work with other devices, too) with Bluetooth support and a Bluetooth receipt printer that was capable of understanding the Zebra printer language (ZPL).
We connected the printer to the device via Bluetooth so that we could access the printer via a "Bluetooth COM Port". From then on, we were able to send ZPL code to the printer from our own applications and have the printer print what we sent, just as if the printer was directly connected using a serial cable.
In our application we had a little ZPL template into which we filled the information required. The user was then able to walk around with the mobile device, fill in forms and print labels.
The only catch was to re-enable the Bluetooth pairing after the scanner had gone into suspend mode, but I guess that's something you have to figure out depending on the device types - maybe there are even settings to have the connection re-established on your device.
We are developing an application which prints RFID labels using Zebra RZ400 RFID printer. Until now, we were sending ZPL commands by RawPrinterHelper class which makes call to winspool.drv.
However, we soon realized that not all tags are printed successfully so we looked for a way to get feedback about the success of the last print operation. There is a command "^RV" that is said to return a string upon a print operation that reflects operation success result.
Now, the problem is we don't know a way to get this feedback data from printer! RawPrinterHelper class does not have any method to get data.
I connected the printer to USB and used LibUsbDotNet library to communicate with the printer. I can send commands to printer successfully including "^RV" command and read from USB again to get the feedback from printer. I can get the feedback value but not every time, only once after randomly printing lots of tags.
Is there an offical SDK from Zebra to communicate with printers? What can be wrong about USB communication? Please share your experiences regarding Zebra .NET development.
There is an official Java SDK which does bi-di communications to the printer using the Windows driver (for USB. It does direct for Tcp). There is also a Windows Mobile SDK from Zebra which might work for you.
You can try dropping in the dlls, and then take a look at the UsbPrinterConnection class. Lemme know if it works for you
TCP/IP Bidirectional Programming Example Using Sockets - C#
https://km.zebra.com/kb/index?page=content&id=SA140&actp=LIST
I want to print a receipt containing text and barcode from MC75 [Windows mobile 6] and using a bluetooth printer (Zebra or any other).
I am very new to windows mobile and I don't know where to start and how to connect with bluetooth devices.
Please can someone provide me with some link or code to start with a print "hello world" via a bluetooth printer in c#.
Zebra provides an SDK for Windows mobile which has many examples, short sample applications, and even a demo utility. You just simply call the APIs provided and the SDK will make the proper connection to the printer via Bluetooth (or TCP) for you.
You could take a screen shot of the information on your device (example >> HERE <<), then send the file via Bluetooth.
The only other idea I could think of would be to write enough data in a text file to completely describe all of the controls displayed on the device (control type, location, size, color, any text, barcode font) then send that text file to a Windows program on the paired PC to take that information and recreate your form
...then Print from Windows.