Skip to content
A Label Printer Application
C M4 Shell Other
Branch: master
Clone or download

Latest commit

Latest commit 57b20e1 Feb 28, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml Feb 28, 2020
man
snap Fix snap version string. Feb 18, 2020
static-resources
xcode
.gitattributes
.gitignore Add Xcode project. Dec 3, 2019
CHANGES.md
CONTRIBUTING.md
DESIGN.md
DOCUMENTATION.md
LICENSE
Makefile.in Rename "resources" directory to "static-resources" to avoid having th… Jan 23, 2020
NOTICE
README.md Prep for 1.0b2 release. Jan 26, 2020
common.h Reword - LPrint is a Label Printer Application (since "printer applic… Jan 13, 2020
config.guess
config.h.in
config.sub Add placeholder man pages/templates. Nov 21, 2019
configure 1.0 release. Feb 17, 2020
configure.ac 1.0 release. Feb 17, 2020
device.c
device.h
dither.h
driver-common.c
driver-cpcl.c
driver-dymo.c Reword - LPrint is a Label Printer Application (since "printer applic… Jan 13, 2020
driver-epl1.c Reword - LPrint is a Label Printer Application (since "printer applic… Jan 13, 2020
driver-epl2.c
driver-fgl.c
driver-pcl.c
driver-pwg.c
driver-zpl.c Fix some ZPL driver issues. Jan 14, 2020
driver.h
install-sh
lprint-add.c Report media dimensions in both inches and millimeters (Issue #14) Feb 10, 2020
lprint-cancel.c Reword - LPrint is a Label Printer Application (since "printer applic… Jan 13, 2020
lprint-default.c
lprint-delete.c
lprint-devices.c Add error logging for device accesses (Issue #8) Jan 21, 2020
lprint-drivers.c
lprint-jobs.c Show all jobs. Jan 15, 2020
lprint-modify.c
lprint-options.c
lprint-printers.c Reword - LPrint is a Label Printer Application (since "printer applic… Jan 13, 2020
lprint-server.c
lprint-shutdown.c
lprint-status.c Reword - LPrint is a Label Printer Application (since "printer applic… Jan 13, 2020
lprint-submit.c
lprint.c Add support for -u in add/default/delete/modify commands (Issue #1) Jan 24, 2020
lprint.h
lprint.spec 1.0 release. Feb 17, 2020
makesrcdist
server-auth.c
server-client.c Finalize new web interface (Issue #1) Jan 26, 2020
server-dnssd.c
server-ipp.c Implement static resources (Issue #2) Jan 24, 2020
server-job.c
server-log.c
server-print.c
server-printer.c
server-system.c Save and load next job-id, printer-config-change-[date-]time, and Feb 1, 2020
template.c

README.md

LPrint - A Label Printer Application

LPrint implements printing for a variety of common label and receipt printers connected via network or USB. Features include:

  • A single executable handles spooling, status, and server functionality.
  • Multiple printer support.
  • Each printer implements an IPP Everywhere™ print service and is compatible with the driverless printing support in iOS, macOS, and Linux clients.
  • Each printer can support options such as label modes, tear-off offsets, media tracking, media top offset, print darkness, resolution, roll selection, and speed.
  • Each printer can print "raw", Apple/PWG Raster, and/or PNG files.
  • Each printer automatically recovers from out-of-media, power loss, and disconnected/bad cable issues.

For more information, see the file "DOCUMENTATION.md", the man pages in the "man" directory, and/or the LPrint project page at https://www.msweet.org/lprint.

Note: Please use the Github issue tracker to report issues or request features/improvements in LPrint:

https://github.com/michaelrsweet/lprint/issues

Requirements

LPrint depends on:

  • A "make" program (both GNU and BSD make are known to work),
  • A C99 compiler (both Clang and GCC are known to work),
  • Avahi 0.7 or later or mDNSResponder to provide DNS-SD support,
  • CUPS 2.2.0 or later to provide HTTP, IPP, and Apple/PWG Raster support,
  • libpng 1.6.0 or later to provide PNG printing support, and
  • libusb 1.0 or later to provide USB printing support.

Supported Printers

The following printers are currently supported:

  • Dymo LabelWriter printers
  • Zebra ZPL printers

Others will be added as time and access to printers permits.

Standards

LPrint implements PWG 5100.14-2013: IPP Everywhere™ for each printer, and has a partial implementation of PWG 5100.22-2019: IPP System Service v1.0 for managing the print queues and default printer.

IPP extensions for label printers have been proposed in the Printer Working Group in the IPP Label Printing Extensions v1.0 document; LPrint will be updated to conform to the final names and values that are approved by the IPP workgroup.

Legal Stuff

LPrint is Copyright © 2019-2020 by Michael R Sweet.

LPrint is licensed under the Apache License Version 2.0 with an exception to allow linking against GPL2/LGPL2 software (like older versions of CUPS). See the files "LICENSE" and "NOTICE" for more information.

LPrint is based loosely on the "ippeveprinter.c" and "rastertolabel.c" code from CUPS.

You can’t perform that action at this time.