zplgfa

command
v0.0.0-...-7f861fd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2023 License: MIT Imports: 19 Imported by: 0

README

ZPLGFA CLI Tool

The ZPLGFA cli tool converts PNG, JPEG and GIF images to ZPL strings. So if you need to print labels on a ZPL compatible printer (like the amazing ZEBRA ZM400), but don't have ZPL-templates, you can use this free tool.

install

  1. install Golang
  2. 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:

zplgfa -file label.png | nc 192.168.178.42 9100

or via the integrated network capability:

zplgfa -file label.png -ip 192.168.178.42

You can also use some effects, e.g. blur:

zplgfa -file label.png -edit blur | nc 192.168.178.42 9100

or send special commands:

zplgfa -cmd feed -ip 192.168.178.42 -port 9100

you can also send multiple commands at once:

zplgfa -cmd cancel,calib,feed -ip 192.168.178.42 -port 9100

The ZPLGFA is actually just a demo application for the ZPLGFA package, if you need something for productive work, look at the source and build something, depending on your needs

test

You have your ZPLs, but no ZEBRA printer? You can test almost all ZPL functionality at labelary.com.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL