Skip to content

Print random XKCD comics to a Zebra ZP450 thermal printer via serial

License

Notifications You must be signed in to change notification settings

mtbutler07/xkcd-serial-printer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random XKCD Comic Printer

Description

Python3 script to download a random XKCD comic, transfer the image via serial to a Zebra thermal printer, and print a label.

Setup

Download Python dependencies

$ python3 -m pip install -r requirements.txt -U --user

Configure the COM port in the xkcd-printer.py script

Example com_port = "COM3"

Run the script

$ python3 xkcd-printer.py

Resources

ZPL II Command Reference

About

Print random XKCD comics to a Zebra ZP450 thermal printer via serial

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages