Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #268232
| From | Florent Rougon <f.rougon@free.fr> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: printing QR-codes on labels with 300dpi label printers with LaTeX |
| Date | 2024-03-13 17:10 +0100 |
| Message-ID | <Ihzl0-gp0L-13@gated-at.bofh.it> (permalink) |
| References | (6 earlier) <IghzP-fB4D-1@gated-at.bofh.it> <IgLxU-fTYi-17@gated-at.bofh.it> <IgLxU-fTYi-15@gated-at.bofh.it> <IhubD-glbl-7@gated-at.bofh.it> <IhubD-glbl-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Florent Rougon <f.rougon@free.fr> wrote:
> - printer matrix alignment if printer resolution is low (more
> difficult; maybe try with some very small horizontal and veritical
> shifts to see if it helps...).
Thinking about it more, this is probably hopeless unless printer
resolution is *extremely* low. Typical printer dots are so small that
you can't realistically expect paper placement to have good enough
precision to align both grids (say, 1/4 of the printer dot size).
This is, I believe, what Jeremy meant when he wrote earlier in this
thread:
> Getting back to pixel registration, the latex CUPS route is very unlikely to
> work well. However a custom application that generates a pixel perfect bitmap
> that is printed at 100% scale through cups should work.
I agree with that if printer resolution is so low that the QR code and
printer dot grids have to be aligned. Even with perfect size in the PDF,
there is very little hope that paper will be every time correctly
aligned in the vertical and horizontal directions with the matrix of
dots managed by the printer—a dot at 300 dpi being approximately
0.08 mm. The only realistic hopes are:
- high enough resolution that grid alignment doesn't really matter (is
300 dpi enough? Maybe.);
- direct control over the printer bitmap (what Jeremy mentioned).
For the sake of completeness, the following LaTeX document (an inline
attachment) draws a QR code whose modules are correctly placed for some
“ideal” 300 dpi printer. This assumes that printer dots perfectly start
at a dot-size multiple from the top left corner of the physical page,
which probably can't be obtained in practice. So, this is mainly to show
how accurate placement and computations can be done (\fpeval is provided
by xfp; it is very accurate and expandable).
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping Jeffrey Walton <noloader@gmail.com> - 2024-03-08 05:20 +0100
Re: libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping gene heskett <gheskett@shentel.net> - 2024-03-08 11:30 +0100
Re: libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping Charles Curley <charlescurley@charlescurley.com> - 2024-03-08 16:20 +0100
Re: libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping Jeffrey Walton <noloader@gmail.com> - 2024-03-08 16:40 +0100
Re: libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping Max Nikulin <manikulin@gmail.com> - 2024-03-08 17:30 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX Max Nikulin <manikulin@gmail.com> - 2024-03-09 17:30 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX jeremy ardley <jeremy.ardley@gmail.com> - 2024-03-09 21:50 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX Max Nikulin <manikulin@gmail.com> - 2024-03-10 04:30 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX jeremy ardley <jeremy.ardley@gmail.com> - 2024-03-10 05:00 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX Max Nikulin <manikulin@gmail.com> - 2024-03-10 08:50 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX jeremy ardley <jeremy.ardley@gmail.com> - 2024-03-10 09:20 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX jeremy ardley <jeremy.ardley@gmail.com> - 2024-03-10 01:00 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX jeremy ardley <jeremy.ardley@gmail.com> - 2024-03-11 03:00 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX jeremy ardley <jeremy.ardley@gmail.com> - 2024-03-12 21:00 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX Max Nikulin <manikulin@gmail.com> - 2024-03-13 18:00 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX jeremy ardley <jeremy.ardley@gmail.com> - 2024-03-14 10:50 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX jeremy ardley <jeremy.ardley@gmail.com> - 2024-03-14 11:00 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX Max Nikulin <manikulin@gmail.com> - 2024-03-10 04:00 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX Florent Rougon <f.rougon@free.fr> - 2024-03-11 12:00 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX Florent Rougon <f.rougon@free.fr> - 2024-03-13 11:40 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX Florent Rougon <f.rougon@free.fr> - 2024-03-13 17:10 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX Max Nikulin <manikulin@gmail.com> - 2024-03-11 17:50 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX Max Nikulin <manikulin@gmail.com> - 2024-03-19 17:10 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX "Thomas Schmitt" <scdbackup@gmx.net> - 2024-03-19 20:00 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX Max Nikulin <manikulin@gmail.com> - 2024-03-20 18:00 +0100
Re: printing QR-codes on labels with 300dpi label printers with LaTeX "Thomas Schmitt" <scdbackup@gmx.net> - 2024-03-20 18:40 +0100
csiph-web