Download the PHP package wuyj/php-json-escpos without Composer
On this page you can find all versions of the php package wuyj/php-json-escpos. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-json-escpos
ESC/POS Print JSON formatted receipts on ESC/POS printers.
Based on mike42/escpos-php project, works properly on x-printer 80mm.
English | 简体中文
Quick Start
Include the library
Examples
Supported styles
underLine
- add underline for text
qrCode
- print qrCode
actionCut
- cut receipts paper
actionFeed
- actionFeed: 1 (feed 1 line)
- feed paper
fontSize
- fontSize: width, height
- FONT_A: 1, 2, 3
- FONT_B: 1.5
alignSide
- alignSide: 8, 8, -8 (print text as table, total 3 columns, each column will display 8 cell, -8 means align text by right, default to align text to left)
- 24 for FONT_A, 32 for FONT_B
strRepeat
- strRepeat (default char
_
will be repeated 48 times)alignLeft
alignRight
alignCenter
fontBold
lineBreak
actionText
Supported directives
each
- each: data_items (loop
data_items
to print text line)hidden
- hidden: hidden_value (hidden text line if hidden_value is true)
repeat
- repeat: repeat_times (repeat the specified line with
repeat_times
times)
All versions of php-json-escpos with dependencies
PHP Build Version
Package Version
The package wuyj/php-json-escpos contains the following files
Loading the files please wait ....