zebra-zpl 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +79 -71
- data/README.md +442 -439
- data/docs/example.rb +290 -290
- data/lib/zebra/zpl/barcode.rb +124 -72
- data/lib/zebra/zpl/barcode_type.rb +38 -37
- data/lib/zebra/zpl/font.rb +48 -47
- data/lib/zebra/zpl/graphic.rb +93 -91
- data/lib/zebra/zpl/label.rb +89 -86
- data/lib/zebra/zpl/text.rb +82 -104
- data/lib/zebra/zpl/version.rb +5 -5
- data/spec/zebra/zpl/barcode_spec.rb +270 -203
- data/spec/zebra/zpl/image_spec.rb +146 -146
- data/spec/zebra/zpl/label_spec.rb +110 -126
- data/spec/zebra/zpl/text_spec.rb +109 -144
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c81ca79584b9114a968e839e885f5a486180b851dcc8cfa56c30c81e171ac93
|
4
|
+
data.tar.gz: 28ba010e016b9b73883671b248527166e5d1d879cbc24b444534285ce324a183
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f00081f07a064a4d1aa713acfc2848944687da7c0132329789352a13c7b289067f23633fc774eb319b14340e9574e23b938a5f5442de49e8c29523776494bb1c
|
7
|
+
data.tar.gz: c5bb6bdef3609db120b5f8805c7bce83c28220d58485dd1255ce49ec34085557041fd2e1975069bab897b5d5f802841a841f2def3a72d1bde87b12431bdc1f05
|
data/CHANGELOG.md
CHANGED
@@ -1,71 +1,79 @@
|
|
1
|
-
### 1.1.
|
2
|
-
|
3
|
-
* [#
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
* [#
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
* [#
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
* [#
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
* [#
|
25
|
-
* [#
|
26
|
-
* [#
|
27
|
-
* [#
|
28
|
-
* [#
|
29
|
-
* [#
|
30
|
-
* [#
|
31
|
-
* [#
|
32
|
-
* [#
|
33
|
-
* [#
|
34
|
-
* [#
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
* [#
|
39
|
-
* [#
|
40
|
-
* [#
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
* [#
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
* [
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
* [
|
66
|
-
* [
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
* [#
|
71
|
-
* [#
|
1
|
+
### 1.1.4 (10/08/2022)
|
2
|
+
|
3
|
+
* [#81](https://github.com/bbulpett/zebra-zpl/pull/81): Added D font type. Added `label_shift` configurable attribute - [@vkhalzov](https://github.com/vkhalzov)
|
4
|
+
* [#80](https://github.com/bbulpett/zebra-zpl/pull/80): Improvements to barcode usage - [@DmytroVasin](https://github.com/DmytroVasin)
|
5
|
+
* [#79](https://github.com/bbulpett/zebra-zpl/pull/79): Change appearance of bold text setting - [@DmytroVasin](https://github.com/DmytroVasin)
|
6
|
+
* [#78](https://github.com/bbulpett/zebra-zpl/pull/78): Fix of a test in image node - [@DmytroVasin](https://github.com/DmytroVasin)
|
7
|
+
* [#77](https://github.com/bbulpett/zebra-zpl/pull/77): Add `reverse_print` setting for `Zpl::Text` node. Fix mistake with redefining of the default font. Removed unused methods - [@DmytroVasin](https://github.com/DmytroVasin)
|
8
|
+
|
9
|
+
### 1.1.3 (10/05/2020)
|
10
|
+
|
11
|
+
* [#70](https://github.com/bbulpett/zebra-zpl/pull/70): Update max print speed from 6 to 14 - [@eke-bb](https://github.com/eke-bb)
|
12
|
+
|
13
|
+
### 1.1.2 (02/25/2019)
|
14
|
+
|
15
|
+
* [#63](https://github.com/bbulpett/zebra-zpl/pull/63): Un-restrict font size - [@mtking2](https://github.com/mtking2)
|
16
|
+
* [#62](https://github.com/bbulpett/zebra-zpl/pull/62): Add print service option for print jobs (`lp`/`rlpr`) - [@LagTag](https://github.com/LagTag)
|
17
|
+
|
18
|
+
### 1.1.1 (12/19/2019)
|
19
|
+
|
20
|
+
* [#58](https://github.com/bbulpett/zebra-zpl/pull/58): Add access to source `Img2Zpl::Image` object - [@mtking2](https://github.com/mtking2)
|
21
|
+
|
22
|
+
### 1.1.0 (11/04/2019)
|
23
|
+
|
24
|
+
* [#54](https://github.com/bbulpett/zebra-zpl/pull/54): Fix height bug with ^B commands - [@mtking2](https://github.com/mtking2)
|
25
|
+
* [#53](https://github.com/bbulpett/zebra-zpl/pull/53): Added support for symbol types, fixed other bugs with the `Graphic` class, updated specs - [@mtking2](https://github.com/mtking2)
|
26
|
+
* [#50](https://github.com/bbulpett/zebra-zpl/pull/50): Add support for image elements by incorporating the [img2zpl](https://github.com/mtking2/img2zpl) gem - [@mtking2](https://github.com/mtking2)
|
27
|
+
* [#49](https://github.com/bbulpett/zebra-zpl/pull/49): Fixed bug with `Barcode`'s `^BY` command. Added UPCA, UPCE, & EAN13 types - [@mtking2](https://github.com/mtking2)
|
28
|
+
* [#48](https://github.com/bbulpett/zebra-zpl/pull/48): Fixed bug breaking `Text` elements. Added rspecs for `Datamatrix` - [@mtking2](https://github.com/mtking2)
|
29
|
+
* [#45](https://github.com/bbulpett/zebra-zpl/pull/45): Add CHANGELOG & update README - [@mtking2](https://github.com/mtking2)
|
30
|
+
* [#44](https://github.com/bbulpett/zebra-zpl/pull/44): Update README & add more docs - [@mtking2](https://github.com/mtking2)
|
31
|
+
* [#43](https://github.com/bbulpett/zebra-zpl/pull/43): Add ZPL comment element - [@LagTag](https://github.com/LagTag)
|
32
|
+
* [#42](https://github.com/bbulpett/zebra-zpl/pull/42): Consolidate Graphic Elements to One Class. Deprecate `Box` class - [@LagTag](https://github.com/LagTag)
|
33
|
+
* [#41](https://github.com/bbulpett/zebra-zpl/pull/41): Ability to pass ZPL string to PrintJob - [@LagTag](https://github.com/LagTag)
|
34
|
+
* [#40](https://github.com/bbulpett/zebra-zpl/pull/40): Bold Text - [@LagTag](https://github.com/LagTag)
|
35
|
+
* [#39](https://github.com/bbulpett/zebra-zpl/pull/39): Fix specs + minor maintenance - [@mtking2](https://github.com/mtking2)
|
36
|
+
* [#36](https://github.com/bbulpett/zebra-zpl/pull/36): Add Datamatrix - [@rafaelmf3](https://github.com/rafaelmf3)
|
37
|
+
* [#33](https://github.com/bbulpett/zebra-zpl/pull/33): Remove the hardcoded attributes for the box element - [@LagTag](https://github.com/LagTag)
|
38
|
+
* [#32](https://github.com/bbulpett/zebra-zpl/pull/32): Added diagonal line graphic (^GD) - [@LagTag](https://github.com/LagTag)
|
39
|
+
* [#31](https://github.com/bbulpett/zebra-zpl/pull/31): Added Circle Graphic (^GC) - [@LagTag](https://github.com/LagTag)
|
40
|
+
* [#29](https://github.com/bbulpett/zebra-zpl/pull/29): Removed hard coded attributes in Text Element - [@LagTag](https://github.com/LagTag)
|
41
|
+
* [#27](https://github.com/bbulpett/zebra-zpl/pull/27): Added pdf417 support - [@LagTag](https://github.com/LagTag)
|
42
|
+
* [#25](https://github.com/bbulpett/zebra-zpl/pull/25): Don't Overwrite Element Widths - [@LagTag](https://github.com/LagTag)
|
43
|
+
|
44
|
+
### 1.0.5 (2018/10/25)
|
45
|
+
|
46
|
+
* [#22](https://github.com/bbulpett/zebra-zpl/pull/22): update label print density range from 0-6 to 0-15 - [@steve-abrams](https://github.com/steve-abrams)
|
47
|
+
* [#21](https://github.com/bbulpett/zebra-zpl/pull/21): Support QR codes (fixed) - [@mtking2](https://github.com/mtking2)
|
48
|
+
* [#20](https://github.com/bbulpett/zebra-zpl/pull/20): Fix incorrect raw flag - [@mtking2](https://github.com/mtking2)
|
49
|
+
|
50
|
+
### 1.0.4 (2017/10/27)
|
51
|
+
|
52
|
+
* [#15](https://github.com/bbulpett/zebra-zpl/pull/15): Raw ZPL support - [@bbulpett](https://github.com/bbulpett)
|
53
|
+
|
54
|
+
### 1.0.3 (2017/06/12)
|
55
|
+
|
56
|
+
* [#14](https://github.com/bbulpett/zebra-zpl/pull/14): Version bump to 1.0.3 - [@bbulpett](https://github.com/bbulpett)
|
57
|
+
* [#13](https://github.com/bbulpett/zebra-zpl/pull/13): Windows Printing Support - [@mtking2](https://github.com/mtking2)
|
58
|
+
|
59
|
+
### 1.0.2 (2017/04/27)
|
60
|
+
|
61
|
+
* [ead84a4](https://github.com/bbulpett/zebra-zpl/commit/ead84a4170f291e9a121263ac0ce577b9b5b21ba): Revert to Unix-only `lp` - [@bbulpett](https://github.com/bbulpett)
|
62
|
+
|
63
|
+
### 1.0.1 (2017/04/26)
|
64
|
+
|
65
|
+
* [b5e3f3e](https://github.com/bbulpett/zebra-zpl/commit/b5e3f3ea41960ce953073dcf1b09c28047a17b0d): Attempt `lpr` for Windows if Unix `lp` fails - [@bbulpett](https://github.com/bbulpett)
|
66
|
+
* [3858b33](https://github.com/bbulpett/zebra-zpl/commit/3858b332491d7afe34277d43530e0da7462da2b1): Use SSL for homepage in gemspec - [@bbulpett](https://github.com/bbulpett)
|
67
|
+
|
68
|
+
### 1.0.0 (2017/04/26)
|
69
|
+
|
70
|
+
* [#10](https://github.com/bbulpett/zebra-zpl/pull/10): Add side margins - [@bbulpett](https://github.com/bbulpett)
|
71
|
+
* [#9](https://github.com/bbulpett/zebra-zpl/pull/9): Add padding to sides for text blocks - [@bbulpett](https://github.com/bbulpett)
|
72
|
+
* [#8](https://github.com/bbulpett/zebra-zpl/pull/8): Add rotation to zpl builders - [@bbulpett](https://github.com/bbulpett)
|
73
|
+
* [#7](https://github.com/bbulpett/zebra-zpl/pull/7): Add international text support and apply label width to zpl builder methods - [@bbulpett](https://github.com/bbulpett)
|
74
|
+
* [#6](https://github.com/bbulpett/zebra-zpl/pull/6): Font modifications - [@bbulpett](https://github.com/bbulpett)
|
75
|
+
* [#5](https://github.com/bbulpett/zebra-zpl/pull/5): Restore barcode functionality - [@bbulpett](https://github.com/bbulpett)
|
76
|
+
* [#4](https://github.com/bbulpett/zebra-zpl/pull/4): Orientation module - [@bbulpett](https://github.com/bbulpett)
|
77
|
+
* [#3](https://github.com/bbulpett/zebra-zpl/pull/3): Restore zpl barcode logic - [@bbulpett](https://github.com/bbulpett)
|
78
|
+
* [#2](https://github.com/bbulpett/zebra-zpl/pull/2): ZPL barcodes tested and working - [@bbulpett](https://github.com/bbulpett)
|
79
|
+
* [#1](https://github.com/bbulpett/zebra-zpl/pull/1): Convert zpl method, class, and file namings - [@bbulpett](https://github.com/bbulpett)
|