LinkOS-Android-Samples icon indicating copy to clipboard operation
LinkOS-Android-Samples copied to clipboard

print image and text together

Open salim-lachdhaf opened this issue 4 years ago • 7 comments

is it possible to print an image and text in the same ticket, i can't find how go do it, i find either print a text alone or print an image online , please help me to achieve my case

salim-lachdhaf avatar Apr 27 '21 19:04 salim-lachdhaf

You can have the image and the text in one ZPL file. A single API call to send the content of this ZPL file to the printer will print both the image and the text. Hope this answers your question.

ssizebra avatar Apr 27 '21 20:04 ssizebra

but what other type of zebra like cpc, could you please paste and example code to do that ?

salim-lachdhaf avatar Apr 27 '21 21:04 salim-lachdhaf

What is CPC? Do you mean CPCL? For CPCL and their examples, please refer to this document - https://www.zebra.com/content/dam/zebra/manuals/printers/common/programming/cpcl-link-os-pg-en.pdf

ssizebra avatar Apr 27 '21 21:04 ssizebra

is there any example for zpl file that contains both text and image

thank you for your support

salim-lachdhaf avatar Apr 27 '21 22:04 salim-lachdhaf

There are many examples in ZPL User's Manual. Or, you can download ZebraDesigner for Developers 3 tool to create examples yourself.

ssizebra avatar Apr 28 '21 13:04 ssizebra

@ssizebra can we get cpcl code from this ZebraDesigner For Developer3 tools?

MohsinIkram-Auxilium avatar May 04 '23 08:05 MohsinIkram-Auxilium

We cannot get the CPCL output from the ZebraDesigner for Developer 3 tool, as it does not support CPCL. It only supports ZPL. However, you can get the CPCL output from the ZebraDesigner Essentials 3 or ZebraDesigner Professional 3.

ssizebra avatar May 18 '23 15:05 ssizebra