update README.md files
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
# ZPLGFA Golang Package
|
# ZPLGFA Golang Package
|
||||||
|
|
||||||
|
[](https://godoc.org/github.com/SimonWaldherr/zplgfa)
|
||||||
|
[](https://goreportcard.com/report/github.com/SimonWaldherr/zplgfa)
|
||||||
|
[](https://raw.githubusercontent.com/SimonWaldherr/zplgfa/master/LICENSE)
|
||||||
|
|
||||||
The ZPLGFA Golang package implements some functions to convert PNG, JPEG and GIF files to ZPL compatible ^GF-elements ([Graphic Fields](https://www.zebra.com/us/en/support-downloads/knowledge-articles/gf-graphic-field-zpl-command.html)).
|
The ZPLGFA Golang package implements some functions to convert PNG, JPEG and GIF files to ZPL compatible ^GF-elements ([Graphic Fields](https://www.zebra.com/us/en/support-downloads/knowledge-articles/gf-graphic-field-zpl-command.html)).
|
||||||
|
|
||||||
## install
|
## install
|
||||||
|
|||||||
@@ -7,20 +7,20 @@ So if you need to print labels on a [ZPL](https://en.wikipedia.org/wiki/Zebra_(p
|
|||||||
## install
|
## install
|
||||||
|
|
||||||
1. [install Golang](https://golang.org/doc/install)
|
1. [install Golang](https://golang.org/doc/install)
|
||||||
1. `go install simonwaldherr.de/go/zplgfa/cmd/zplgfa`
|
1. `go get simonwaldherr.de/go/zplgfa/cmd/zplgfa`
|
||||||
|
|
||||||
## usage
|
## usage
|
||||||
|
|
||||||
So if your image file is `label.png` and the IP of your printer is `192.168.178.42` you can print via this command:
|
So if your image file is `label.png` and the IP of your printer is `192.168.178.42` you can print via this command:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./zplgfa -file label.png | nc 192.168.178.42 9100
|
zplgfa -file label.png | nc 192.168.178.42 9100
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also use some effects, e.g. blur:
|
You can also use some effects, e.g. blur:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./zplgfa -file label.png -edit blur | nc 192.168.178.42 9100
|
zplgfa -file label.png -edit blur | nc 192.168.178.42 9100
|
||||||
```
|
```
|
||||||
|
|
||||||
The ZPLGFA is actually just a demo application for the ZPLGFA package,
|
The ZPLGFA is actually just a demo application for the ZPLGFA package,
|
||||||
|
|||||||
Reference in New Issue
Block a user