From ad1a2c79cf1ebedf31dc2c914ed4260be02c7d4e Mon Sep 17 00:00:00 2001 From: Simon Waldherr Date: Fri, 19 Oct 2018 19:59:56 +0200 Subject: [PATCH] update README.md files --- README.md | 4 ++++ cmd/zplgfa/README.md | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7b70ab6..bda3931 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # ZPLGFA Golang Package +[![GoDoc](https://godoc.org/github.com/SimonWaldherr/zplgfa?status.svg)](https://godoc.org/github.com/SimonWaldherr/zplgfa) +[![Go Report Card](https://goreportcard.com/badge/github.com/SimonWaldherr/zplgfa)](https://goreportcard.com/report/github.com/SimonWaldherr/zplgfa) +[![license](https://img.shields.io/badge/license-MIT-blue.svg)](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)). ## install diff --git a/cmd/zplgfa/README.md b/cmd/zplgfa/README.md index 6428a5c..266a794 100644 --- a/cmd/zplgfa/README.md +++ b/cmd/zplgfa/README.md @@ -7,20 +7,20 @@ So if you need to print labels on a [ZPL](https://en.wikipedia.org/wiki/Zebra_(p ## 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 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 -./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: ```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,