UNPKG

receiptline

Version:

Markdown for receipts. Printable digital receipts. Generate receipt printer commands and images.

259 lines (198 loc) 5.78 kB
# Changelog ## [3.0.0] - 2025-11-30 ### Changed - Japanese font for SVG/PNG output - SVG filter ID to include UUID ## [2.1.1] - 2025-11-28 ### Fixed - For bug fixes in sharp v0.34.0 - Text decoration in PNG output using sharp ## [2.1.0] - 2025-10-29 ### Added - Quiet zone option to QR code generator ## [2.0.0] - 2025-10-25 ### Changed - QR code / barcode generator ## [1.16.5] - 2025-10-18 ### Removed - Unnecessary adjustments in Star Landscape ## [1.16.4] - 2025-10-16 ### Fixed - Bugs with symbols in Star Landscape - Redundant code patterns ## [1.16.3] - 2025-10-13 ### Fixed - File extension from .txt to .receipt - Bugs in UPC and EAN for SII Landscape - SVG coordinates to integer values - Redundant code ## [1.16.2] - 2025-01-19 ### Fixed - For bug fixes in sharp v0.32.4 ## [1.16.1] - 2024-04-05 ### Fixed - README ### Removed - Unnecessary div elements in the designer ## [1.16.0] - 2023-11-15 ### Added - Base64 validation for images - Support for new headless mode of puppeteer - Serial port options ### Changed - File extension from .txt to .receipt ## [1.15.0] - 2023-02-20 ### Added - Print margin - Initial value setting by URL query string to the designer ## [1.14.0] - 2022-12-12 ### Added - "starimpact" for Star impact printers ## [1.13.1] - 2022-11-16 ### Fixed - Paper width of preview in the designer - The designer and an example to enable PNG output - Printer configuration example ## [1.13.0] - 2022-11-09 ### Added - Landscape orientation - "epson" alias for escpos - "generic" for generic escpos - "text" for plain text output - Example of receipt ### Changed - To accept extended printer configurations ## [1.12.0] - 2022-10-20 ### Added - Image method with reduced parameters to command objects - Barcode generator ### Changed - CODE39 / ITF / Codabar (NW-7) barcode width for display ## [1.11.3] - 2022-10-12 ### Fixed - Text placement of barcodes for display ## [1.11.2] - 2022-10-08 ### Fixed - A bug in the image upside down printing on Fujitsu command object ## [1.11.1] - 2022-09-28 ### Fixed - UPC / EAN barcodes for escpos family to automatically correct check digit errors - CODE39 / ITF / Codabar (NW-7) barcode width for star family ## [1.11.0] - 2022-09-07 ### Changed - QR code for printing to the same image as for display - Underline on command object of escpos family ## [1.10.2] - 2022-09-02 ### Fixed - Codabar (NW-7) start/stop characters on Citizen command object ## [1.10.1] - 2022-08-22 ### Fixed - Code128 symbol width to be minimized - Empty string in barcode / 2D code ## [1.10.0] - 2022-06-13 ### Added - TypeScript typings ### Fixed - JSDoc annotations - Type conversion ## [1.9.0] - 2022-04-16 ### Added - Support for image processing module "sharp" - Thai character support ## [1.8.0] - 2022-03-08 ### Added - Transform stream API - Support for Node SerialPort 10.x ### Changed - convert-svg-to-png to puppeteer ### Fixed - HTTP POST encoding to utf-8 - A bug in the image upside down printing on StarPRNT command objects ## [1.7.0] - 2022-02-03 ### Added - Custom command object - Multilingual encoding for Chinese and Korean models ## [1.6.0] - 2021-12-19 ### Added - Multilingual encoding ## [1.5.3] - 2021-06-05 ### Added - Examples of cloud printing ## [1.5.2] - 2021-05-28 ### Added - Command Emulator Star Line Mode ### Changed - HTTP port from 10080 to 8080 ### Fixed - Large image printing - Print end process ## [1.5.1] - 2021-05-19 ### Added - An option to select whether to print with device fonts or as images ## [1.5.0] - 2021-05-16 ### Added - Chinese and Korean languages - Star Graphic Mode (TSP100LAN) ### Changed - Ruled line drawing - SVG paper cut drawing from text to path ## [1.4.0] - 2021-04-18 ### Added - Image processing options - Star Line Mode (TSP series) ### Changed - SVG text-anchor from start to middle ## [1.3.2] - 2021-03-30 ### Added - Features to the ReceiptLine Designer (formatting, favicon, Open Graph tags) ### Changed - Connection termination process of the serial-LAN converter - MIME type from image/x-icon to image/vnd.microsoft.icon ### Fixed - A bug that the edge of the image is not printed when cpl is odd - Examples of displaying and printing receipts ## [1.3.1] - 2021-03-20 ### Added - Features to the ReceiptLine Designer (download, tooltip, column delimiter, spacing) - Examples of displaying PNG receipts - Examples of printing SVG receipts ## [1.3.0] - 2021-03-13 ### Added - Impact printer (TM-U220) ### Fixed - SVG to avoid empty group elements - URL parsing ## [1.2.1] - 2021-02-07 ### Fixed - Examples of displaying and printing receipts ## [1.2.0] - 2021-02-07 ### Added - Examples of displaying and printing receipts ### Changed - SVG ruled line drawing from text to path ### Fixed - Printing of transparent images ## [1.1.2] - 2020-12-18 ### Fixed - Escape processing of the barcode / 2D code dialog box ## [1.1.1] - 2020-11-18 ### Changed - SVG font for barcode text to web font ## [1.1.0] - 2020-11-09 ### Added - Printing options (line spacing and paper cutting) - Serial-LAN converter ### Changed - SVG font from OS standard font to web font ## [1.0.2] - 2020-07-23 ### Fixed - A bug that images are not displayed in SVG created in Node.js environment by [@eggplants](https://github.com/eggplants) ## [1.0.1] - 2020-07-11 ### Added - Link to official specifications to README - Images of development tools and printers for README ### Changed - Data validation of Codabar (NW-7) ## [1.0.0] - 2020-06-09 ### Added - First edition