1
votes

I'm trying to print a QR code + Text + Image on the same line in an ESC/POS supported thermal printer. I can print them one after the other in new lines, but is it possible to print them in one line? Is this even possible through ESC/POS commands? Here is the example of what I'm trying to do: enter image description here

1

1 Answers

0
votes

This is possible using page mode.
The commands that control page mode start, page mode print range, and commands that cannot be used in page mode are described on the following pages.

ESC L

Select Page mode
Switches from Standard mode to page mode.

This page shows an example of mixed printing of characters, graphics and barcodes in page mode.
Print in Page mode

Examine the commands used in the examples and how they are used, and apply them.

ESC W

Set print area in Page mode

ESC T

Select print direction in Page mode

GS $

Set absolute vertical print position in Page mode

GS \

Set relative vertical print position in Page mode

GS T

Set print position to the beginning of print line

ESC \

Set relative print position

FF (in Page mode)

Print and return to Standard mode (in Page mode)