Problem when printing with linkos

G Gustavo Leao 3 years 7 months ago
6 3 0

Hi everyone.

I'm developing a Windows application in WPF, which uses the "link-os" SKD to print a large amount of tickets over a USB connection with a GC420t. The latest problem, and this is what makes me lose sleep at night, is that during printing, the printer apparently loses the detection of the mark (or gap) and begins to print the content in a wrong position relative to the top of the ticket.

Important points:
- My software build a ZPL string in runtime and sends it to the printer;
- I'm using the "GC420t" driver (non EPL);
- The printer properties are correctly assigned: label size, media type, speed, darkness, etc;
- The printer is calibrated.

Below, attached ZPL sample code, and the link to a video that demonstrates exactly the moment the error happens. Every help is welcome. Thank you very much.

Zebra GC420t error while printing - YouTube

ZPL Sample code attached.

Please Register or Login to post a reply

3 Replies

D Dmitry Prokhorov

Hello Gustavo,

Also possible cause of your problem could be in image data that seems you transfer to printer in ZPL with each label. It may lead to buffer overflow problem in your printer and you may need to check printer readiness by reading printer status.

As a workaround for this problem it would be good to implement a template for your label. It could contain your image. Then you will need just to print that template with specific values assigned to template fields. It may be more optimal approach to print your labels.

Dmitry Prokhorov
Software Engineer, Kutir Mobility
Posted on behalf of Zebra Technologies

D Dmitry Prokhorov

Hello Gustavo,

Could you please to run ~JG command and share a photo of result?

Dmitry Prokhorov
Software Engineer, Kutir Mobility
Posted on behalf of Zebra Technologies

D Dmitry Prokhorov

Hello Gustavo,

I have checked your attached ZPL sample code and it looks ok.
So far I can see (by field values) it is not exactly a code that is reproducing the issue on your video.
Would you please to provide a code that is reproducing your issue?

Dmitry Prokhorov
Software Engineer, Kutir Mobility
Posted on behalf of Zebra Technologies

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