Comments (3)
[deleted comment]
from python-escpos.
As it says in a comment within the QR code library you're using, The spec
requires a border 4 times as thick as the size of the base QR code pixel size.
Given that we can't set border=16 without making the QR code more than 255 rows
tall, the simplest solution is what I did here:
https://github.com/ssokolow/python-escpos/commit/2a8f852c689bc29869b6a763748f9a0
6f6f5154a
(There's already precedent for changing the alignment. You force center
alignment without restoring the old alignment in barcode() )
Original comment by [email protected]
on 22 May 2014 at 5:45
from python-escpos.
The mentioned commit is this one 2a8f852 and available in this repo (has to be cherry-picked)
from python-escpos.
Related Issues (20)
- revise console output HOT 1
- Magic encoder does not use previously used code pages when possible HOT 3
- When I print a receipt with images I get an error, please help. HOT 10
- pip package "python-escpos" wildly out of date HOT 5
- failed to open device that does not exist. HOT 4
- ImportError: No module named escpos.printer on Windows 10 HOT 19
- Text size not working (width and height) HOT 9
- Image printing prints only garbage HOT 29
- Barcode not printed HOT 4
- Introduce IntEnum or similar for printer states
- Usb printer not working on web Application HOT 2
- Printer not found on web application HOT 1
- Font switching not working. HOT 3
- is_online() fails with raise NotImplementedError()
- Full cut not working on Epson TM-T20III HOT 2
- 'usb timeout error' when used on a raspberry pi 3 with a cheap POS-58 thermal printer HOT 5
- ImportError: cannot import name 'DeviceNotFoundError' from 'escpos.exceptions' HOT 2
- usb.core.USBError: [Errno 5] Input/Output Error` HOT 1
- EPSON TM-m30III randomly fails to print images HOT 1
- Arabic Text not printing correctly HOT 2
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 python-escpos.