You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/user/barcode.rst
+20-9Lines changed: 20 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,29 @@
1
1
Printing Barcodes
2
2
-----------------
3
3
4
-
:Last Reviewed: 2023-05-16
4
+
:Last Reviewed: 2023-08-10
5
5
6
6
Many printers implement barcode printing natively.
7
-
This hardware renderered barcodes are fast but the supported formats are limited by the printer itself and different between models.
8
-
However, almost all printers support printing images, so barcode renderization can be performed externally by software and then sent to the printer as an image.
9
-
As a drawback, this operation is much slower and the user needs to know and choose the image implementation method supported by the printer's commandset.
7
+
This hardware renderered barcodes are fast but the supported
8
+
formats are limited by the printer itself and different between models.
9
+
However, almost all printers support printing images, so barcode
10
+
rendering can be performed externally by software and then sent
11
+
to the printer as an image.
12
+
As a drawback, this operation is much slower and the user needs
13
+
to know and choose the image implementation method supported by
14
+
the printer's commandset.
10
15
11
16
barcode-method
12
17
~~~~~~~~~~~~~~
13
-
Since version 3.0, the ``barcode`` method unifies the previous ``barcode`` (hardware) and ``soft_barcode`` (software) methods.
14
-
It is able to choose automatically the best printer implementation for barcode printing based on the capabilities of the printer and the type of barcode desired.
15
-
To achieve this, it relies on the information contained in the escpos-printer-db profiles.
16
-
The chosen profile needs to match the capabilities of the printer as closely as possible.
18
+
Since version 3.0, the ``barcode`` method unifies the previous
19
+
``barcode`` (hardware) and ``soft_barcode`` (software) methods.
20
+
It is able to choose automatically the best printer implementation
21
+
for barcode printing based on the capabilities of the printer
22
+
and the type of barcode desired.
23
+
To achieve this, it relies on the information contained in the
24
+
escpos-printer-db profiles.
25
+
The chosen profile needs to match the capabilities of the printer
26
+
as closely as possible.
17
27
18
28
.. py:currentmodule:: escpos.escpos
19
29
@@ -33,4 +43,5 @@ For alphanumeric CODE128 you have to preface your payload with `{B`.
0 commit comments