-
-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved: Barcode scaling for PDF417 and Code128 (#219)
* Improved: Code128 charset usage Improved: PDF417 scaling Improved: DHL uses a decimal height for PDF417 Improved: PDF417 size when no column value is given * Improved: PDF417 uses correct vertical scaling now * Improved: GS1 type support Improved: Code128 invocation filtering
- Loading branch information
Showing
10 changed files
with
221 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
104 changes: 104 additions & 0 deletions
104
src/BinaryKits.Zpl.Viewer.WebApi/Labels/Test/BarcodePDF417-102x152.zpl2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
^XA | ||
|
||
^FO10,10 | ||
^BY1 | ||
^B7N,4 | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ^FS | ||
|
||
^FX This one looks half-height on Zebra | ||
^FO120,10 | ||
^BY1 | ||
^B7N,4,,,,Y | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ^FS | ||
|
||
^FX Difference for security level | ||
^FO10,90 | ||
^BY1 | ||
^B7N,4,3 | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ^FS | ||
|
||
^FO120,90 | ||
^BY1 | ||
^B7N,4,4 | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ^FS | ||
|
||
^FO250,90 | ||
^BY1 | ||
^B7N,4,5 | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ^FS | ||
|
||
^FO400,90 | ||
^BY1 | ||
^B7N,4,6 | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ^FS | ||
|
||
^FX Labelary is wrong on this one | ||
^FO570,90 | ||
^BY1 | ||
^B7N,4,6,,,Y | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ^FS | ||
|
||
^FO10,210 | ||
^BY1 | ||
^B7N,4,5,6 | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ^FS | ||
|
||
^FO210,210 | ||
^BY1 | ||
^B7N,4,5,6,20 | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ^FS | ||
|
||
^FX Difference for missing columns | ||
^FO10,300 | ||
^BY1 | ||
^B7N,4,5,8,24,N | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ^FS | ||
|
||
^FO250,300 | ||
^BY1 | ||
^B7N,4,5,,24,N | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ^FS | ||
|
||
^FX DHL real-world test vs corrected | ||
^FO10,400 | ||
^BY2 | ||
^B7N,6.7,5,,30,N | ||
^FD | ||
UNH+2876965+IFTMIN:D:96B:UN+DHL5.6.0/AWESOME'BGM+787+999994760001+9'DTM+186:20240312:102'TSR+++10'TOD+Z02++CPT'NAD+OS+0464651'NAD+CN+++MEVR. SOME PERSONE+STREET 17 E+SOMEPLACE++0+DE'CTA+GR'[email protected]:EM'GID+0+1'MEA+WT++KGM:2'PCI+ZZ1+JVGL09999999999994760001'UNT+13+123546798' | ||
^FS | ||
|
||
^FX Difference in blocks between all three sources. (This, Zebra and Labelary) | ||
^FO10,590 | ||
^BY2 | ||
^B7N,6,5,9,30,N | ||
^FD | ||
UNH+2876965+IFTMIN:D:96B:UN+DHL5.6.0/AWESOME'BGM+787+999994760001+9'DTM+186:20240312:102'TSR+++10'TOD+Z02++CPT'NAD+OS+0464651'NAD+CN+++MEVR. SOME PERSONE+STREET 17 E+SOMEPLACE++0+DE'CTA+GR'[email protected]:EM'GID+0+1'MEA+WT++KGM:2'PCI+ZZ1+JVGL09999999999994760001'UNT+13+123546798' | ||
^FS | ||
|
||
^FX Difference in blocks with Labelary but not with Zebra printed result | ||
^FO10,780 | ||
^BY2 | ||
^B7N,4,5,6 | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ^FS | ||
|
||
^FO380,780 | ||
^BY2 | ||
^B7N,4,5,6 | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789^FS | ||
|
||
^FO10,840 | ||
^BY3 | ||
^B7N,4,5,8,24,N | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ^FS | ||
|
||
^FO10,950 | ||
^BY4 | ||
^B7N,4,6,7,24,N | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ^FS | ||
|
||
^FO10,1060 | ||
^BY5 | ||
^B7N,4,6,4,36,N | ||
^FDABCDEFGHIJKLMNOPQRSTUVWXYZ^FS | ||
|
||
^XZ |
18 changes: 18 additions & 0 deletions
18
src/BinaryKits.Zpl.Viewer.WebApi/Labels/Test/GS1-102x152.zpl2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
^XA | ||
|
||
^FX all should produce 011234567890123121123456 | ||
|
||
^FT101,59^A0N,31,30^FH\^CI28^FDGS1-128 : ^FS^CI27 | ||
^BY2,3,54^FT110,134^BCN,,N,N | ||
^FH\^FD>;>8011234567890123121123456^FS | ||
|
||
^FT101,174^A0N,31,30^FH\^CI28^FDGS1-DataMatrix : ^FS^CI27 | ||
^FT185,324^BXN,6,200,0,0,1,_,1 | ||
^FH\^FD_1011234567890123121123456^FS | ||
|
||
^FT548,174^A0N,31,30^FH\^CI28^FDGS1-QR: ^FS^CI27 | ||
^FO642,206^BQN,2,5 | ||
^FH\^FD>;>8011234567890123121123456^FS | ||
|
||
^PQ1,0,1,Y | ||
^XZ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.