boomaga
boomaga copied to clipboard
correct duplex offset
I always searched for such a straight forward software like boomaga. Difficult to find but now I'm happy. However, I have a problem and I wonder whether this can be solved by boomaga: My printer allows duplex printing, but it creates an offset between front and back page by some mm. I tried to correct this offset but was not successful because the margins always act on front AND back page. Is there a possibility to solve this by boomaga or can this be implemented? Thanks, Femi
Right now the program does not allow to fix your problem, it uses the same margins for the front and back pages. This is a rare case, I don't think it makes sense to complicate the GUI and add this options to GUI. But I can add such options to the configuration file. But this is a bug in the printer driver. Let's start to fix it. What printer you are using? Send me the PPD file from the /etc/cups/ppd directory.
That would be perfect. However, I have several old pdfs that were once created for another printer and contain the offset correction for the old (no longer existing) printer which is different from the one I have now. Furthermore the adjustment depends on the paper weight, humidity, ... A flexible adjustment would thus be nice.
I have a HP 1320. Here is the ppd:
Very strange, HP 1320 is a good device. I've used it at work long time. But I used the driver from HP. Did you tried to use drivers from HP? Here's my PPD file
I'll try to find this printer and to check your PPD file, but I don't know how much time it take.
Your ppd seems to be a bit better. Thanks! But there is still an offset of 1-2 mm. This happens only when printing duplex. Turning the paper manually and printing two times one page does not result in an offset. I think this is due to hardware tolerances and can only be adjusted individually. Generally one can not expect high accuracy for non-professional printers but a good "register accuracy" is really desirable. Querying a search engine reveals that many people with high demands would be thankful for a flexible adjustment possibility. Maybe ...? Thanks, Femi
As a workaround I used pstops "2:0(-1mm,2mm),1:(0,0)" in.ps out.ps
to move the odd pages by -1mm and 2mm in x and y direction and keep the position of the even pages (0,0). However this requires converting the files to postscript and is a bit unhandy.
I did not intend to close this issue, sorry.
Just needed my workaround again and found a mistake in my comment from 1 Feb. correct is: pstops "2:0(-1mm,2mm),1(0,0)" in.ps out.ps (the 2nd colon was too many).
Just realized that pstops sometimes does not work with landscape ps files. But there is a workaround when the input is a pdf by first rotating the pdf with pdftk. A possible process of adjusting offsets is therefore:
rotate landscape to portrait (if required):
pdftk in.pdf cat 1-endeast output portrait.pdf
convert pdf to ps:
pdftops portrait.pdf
correct offset:
pstops "2:0(0mm,3mm),1(0,3mm)" portrait.ps corrected.ps
(This moves even and odd pages 3mm to the left/upwards to correct an offset of 6 mm.)
convert back to pdf, if required:
ps2pdf corrected.ps out.pdf
remove unused files:
rm portrait.pdf portrait.ps corrected.ps
(Be aware that the offset and out.pdf are printer specific. Keeping in.pdf is thus recommended.)
But maybe this correction procedure is no longer required when boomaga will be enhanced ... ;)