Comments (5)
Not currently. The parser knows how to skip past the commands, but we don't use a library to turn them into images for HTML output yet.
We have one test file (qr-code.bin
from escpos-php
) which uses a 2D data command for QR codes, but shows only blanks.
It would be possible to add support for some types of QR code fairly easily.
Do you have any example binary files that contain QR codes which could be used for testing such a feature?
from escpos-tools.
Hi @mike42
I have ended up generating QR codes as images and then adding them as images.
Here is an example of escpos file with QR code:
from escpos-tools.
@bblimke where do you add them? And how you distiguish the QR inside the lines? Could you share some code please?
from escpos-tools.
@gelinger777 QR is not supported and I don't remember how to distinguish them. I ended up producing escpos files with images of QR codes instead of QR codes.
from escpos-tools.
problem is that different manufacturers have different commands which should be sent before the qr code string and after it. If we could achive at least that on epson/metapace and 2 other major manufacturer's qr codes would be detected and replaced with base64 images would be great imho...
from escpos-tools.
Related Issues (20)
- Print Margin on Top HOT 2
- How to gerate Invoice like this? Or how to add html in print view? HOT 2
- esc2html encoding HOT 3
- I get a blank page when I execute my file ascii.bin with php esc2html.php ascii.bin > output.html HOT 2
- Add support for user-defined character sets HOT 1
- esc2html output error HOT 2
- fopen(/tmp/test.bin): failed to open stream: No such file or directory HOT 1
- esc2html: Uncaught ImagickException: insufficient image data in file
- Composer support HOT 1
- Add Docker support HOT 1
- Unable to generate Barcode HOT 1
- Unable to generate with Esc2html HOT 3
- Composer issue : Failed to extract mike42/escpos-php HOT 1
- For those who need encoding, use it. HOT 1
- How to implement in laravel? HOT 1
- PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given HOT 1
- Encoded characters in decoded output
- there is no bigger BULLSHIT than your programm HOT 1
- Is PHP 8.2 Supported? I get this error after upgrading - Uncaught Error: Undefined constant "ReceiptPrintHq\EscposTools\Parser\Command\STDERR
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from escpos-tools.