link-os compatible printer?

// Expert user has replied.
L Leo Hu 3 years 8 months ago
209 2 0

I am trying to learn "Connect and Print Over TCP/IP and Bluetooth – Zebra Android Link-OS™ SDK – Java – Android Studio" (https://km.zebra.com/kb/index?page=content&id=SA370). on page  of 3 (Getting Started with Android Development – Zebra
Android Link-OS™ SDK – Android Studio), it says "Zebra Network-Enabled Label Printer,
In order to fully test the application created during the course of this tutorial, a networkenabled
Zebra printer capable of understanding ZPL or CPCL.
Bluetooth connectivity is available through the Zebra Link-OS Multiplatform SDK and covered
in other available tutorials.
Zebra Link-OS Multiplatform SDK supports various printers and mobile devices.", do I need "a networkenabled
Zebra printer capable of understanding ZPL or CPCL" or "Zebra Link-OS Multiplatform SDK supported printer" and what is the difference between them? Can zebra QL320 plus be used for this project?

Please Register or Login to post a reply

2 Replies

r roberto cottone

Hi Leo,
The QL Plus is not a Link-OS printer.  The Link-OS SDK still does support a lot of the commands that do work with non-Link-OS printers.  Your best option is to use the SDK versions off of this link: Link-OS Multiplatform SDK , not the standard Link-OS Multiplatform SDK | Zebra  page.  The sample you pulled down should work with a couple of modifications in the MainActivity.java file. 
1. delete line 222: "ZebraPrinterLinkOs linkOsPrinter = ZebraPrinterFactory.createLinkOsPrinter(printer);"
2. modify line 224: PrinterStatus printerStatus = printer.getCurrentStatus();
3. If you intend to use CPCL, you will need to delete line 276: "SGD.SET("device.languages", "zpl", connection);"

There may be a few commands that will not work as expected with the older printer model, but most of the time there are work-arounds.  Let us know if you run into commands that you want a work-around for.

C Christal Spaeth

Leo,

The QL320 Plus uses the CPCL language, however, the Link-OS Multiplatform SDK does not support the QL Plus series printers. The QLn series is the newer replacement for the QL Plus series and is Link-OS compatible. You can learn more about Link-OS and Link-OS compatible printers here: Link-OS™ | Zebra

Christal

CONTACT
Can’t find what you’re looking for?