Printing SVG to Zebra Printer [Java][Link-OS SDK]

D Daniel Mallory 3 years 6 months ago
468 1 0

So this is a bit more of an open ended question,  but I have a java interface I've written that generates vector images (which are how I render labels so as to avoid text blurring), in a .svg format. I was wondering about the SDK's options for handling this - the consultants from my local distributor are yet to get here, so I wanted to format my code as best I can beforehand. Are the ZebraImageI/ZebraImageFactory/ZebraPrinter constructs capable of handling this image type or is there an external library I must use to handle this printing? I'm attaching the example of the code I have.
 
 
 
https://hastebin.com/ukixosonar.java

Please Register or Login to post a reply

1 Replies

Y Yanis Dalabiras

Hi Daniel,
Sorry it's been so long and I hope you were able to figure this out. 
For those who may want to know the same, the SDK does not support SVG images.  They are not natively supported by Java, so if a developer wanted to support them, you would need to find an SVG library, and render the graphic to a Java BufferedImage at the desired size.  From there, the SDK should be able to handle downloading/printing the image.

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