Updated to match current state
This commit is contained in:
parent
a6cc742fa0
commit
b835ac45d7
16
README.md
16
README.md
@ -1,21 +1,19 @@
|
|||||||
# ITS Thermal Printer
|
# ITS Thermal Printer
|
||||||
|
|
||||||
Local client-only tool, will generate a PDF for the client to print as needed.
|
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](https://git.vfsh.dev/sgrant/mccs-thermal/releases).
|
Grab the latest version (`ITThermal vX.Y.Z.zip`) from the [Releases section](https://git.vfsh.dev/sgrant/mccs-thermal/releases).
|
||||||
|
|
||||||
# Usage
|
## Usage
|
||||||
|
|
||||||
1. Extract the `ITThermal.zip` file to a local directory
|
1. Extract the `ITThermal.zip` file to a local directory
|
||||||
2. Open `index.html` in a modern web browser (Chrome, Firefox, Edge, etc.)
|
2. Open `index.html` in a modern web browser (Chrome, Firefox, Edge, etc.)
|
||||||
3. Fill out one of the available forms and click "Generate Receipt"
|
3. Fill out one of the available forms and click "Generate Receipt"
|
||||||
4. A PDF of the receipt will be generated and displayed on the page
|
4. A PDF of the receipt will be generated and displayed on the page
|
||||||
5. If you're using FireFox the print dialog will open automatically. For other browsers, use the print functionality of your browser's PDF viewer.
|
5. 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
|
### 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
|
||||||
- Uses jsPDF library for PDF generation:
|
|
||||||
- https://rawgit.com/MrRio/jsPDF/master/docs/jsPDF.html
|
|
||||||
|
|
||||||
# To Do
|
## Notes
|
||||||
- Add error handling on the front end for missing/invalid fields
|
|
||||||
- Make notes on DT actually optional
|
- Uses [jsPDF](https://rawgit.com/MrRio/jsPDF/master/docs/jsPDF.html) library for PDF generation
|
||||||
- Add a class for better font handling
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user