Skip to content

lsedberg/receipt-printer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Printer

Service

# Initial Setup
sudo cp ./printer.service /etc/systemd/system/printer.service
sudo systemctl daemon-reload
sudo systemctl enable --now printer.service

# Status
sudo systemctl status printer.service
sudo journalctl -u printer.service -f

# Restart
systemctl --user restart printer.service

Usage

# Start Server
cargo run -- serve
# Send Plaintext Print Request
curl -X POST -d "text=Hello" <addr>:<port>/print/text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors