Code for a local-only utility for generating and printing slips on thermal receipt paper.
| src | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
ITS Thermal Printer
Local client-only tool, will generate a PDF for the client to print as needed.
Grab the latest version (ITThermal vX.Y.Z.zip) from the Releases section.
Usage
-
Extract the
ITThermal.zipfile to a local directory -
Open
index.htmlin a modern web browser (Chrome, Firefox, Edge, etc.) -
Fill out one of the available forms and click "Generate Receipt"
-
A PDF of the receipt will be generated and displayed on the page
-
If you're using FireFox the print dialog will open automatically. For other browsers, use the print functionality of your browser's PDF viewer.
Important Note: The scaling must be set to 100% or Actual Size to ensure proper formatting on the thermal printer. FireFox should do this automatically, but other browsers (namely Edge and Chrome) will default to "Fit to Page" which will mess up the formatting and print approximately 500 miles of white space before the receipt
Notes
- Uses jsPDF library for PDF generation