-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add --margin option #49
Comments
There is a one-pixel rectangular box printed around the entire outside border to help with debugging this. Do you see any of the four sides? |
That said, while the problem is almost certainly that your printer is configured wrong, I'm sure you're not the only person that would rather pass |
printers, as a rule of thumb, are generally misconfigured. they are hell on earth and I don't understand why, decades into the computing age, we haven't fixed printers yet. but so is life, i'm happy i can print anything on this thing.
so interestingly, now i can print something with qrbackup. i made a test with a smaller file that generated less qrcode boxes, and that seems to have made the printer happier. but there's definitely not a border on all sides, and it's misaligned. here's what it looks like from my phone: amazingly, this actually scans properly and restores, which i'm really surprised about. it looks like it manages to recover everything just with the middle "parity" code. not sure with the right-side code isn't scanning properly either. but yeah, you can see something is clearly off with the layout here. so i looked at the evince tells me the generated PDF is 172x212mm which just seems like a really odd paper size. it also doesn't match the 500x600 ratio either. Modern printers are "driverless" and do not ship PPD files anymore, which makes "experiment with
... and that doesn't actually explain how this should be calculated. Also, the usage mentions "POINTS" but then the default is in "px", which are two entirely different thing as I understand it...
yeah, so i only have so much time in my life, and don't generally spend that time entertaining long term relationships with my printers (partly because it's really just a one-way relationship where i do all the work and all they give me are shredded papers most of the time). so yeah, i think a --margin would be great. this is something @misaki-web also suggested in #21 from what i can tell. :) |
Hi,
I've tried printing a PDF document generated by qr-backup and i'm struggling with my printer. It looks like the document expects the printer to be able to do "full bleed": there's no margin around the edges. This cuts off the letters "S" and "t" in the "Step" words and a good chunk of the left qrcodes, which make the entire left columns of the qrcodes unusable.
And just to be clear here: I hate printers. They never work. But in this specific case, the output of paperbackup actually prints fully while qr-backup fails halfway through, I think because of the layout issue.
I suggest adding a border around the PDF to workaround this problem.
The text was updated successfully, but these errors were encountered: