Public bug reported:

Binary package hint: xsane

(Using a Canon LIDE 60 scanner on Ubuntu 7.04)
In the XSane Preview window I can select for instance "DIN A4 portrait" for the 
"preset area" setting, but it seems the corresponding size at the bottom of the 
main XSane window does not follow correctly. Sometimes it changes when I change 
"preset area" but sometimes not.

Finally I do a scan, and I can see it is for sure not A4. Then I do:
 ps2ps -sPAPERSIZE=a4 testscan.pdf testscan.ps
 ps2pdf -sPAPERSIZE=a4  testscan.ps testscan-new.pdf
and the final pdf is Letter size and not A4!

I think XSane puts some size controls inside the postscript data that overrides 
my -sPAPERSIZE=a4 option. If I edit the ps file, and changes the occurrence of 
"letter" to "a4" like in:
 594 706 /letter setpagesize
and then do ps2pdf, I get an A4 pdf...

Steps to reproduce:

rm -r ~/.sane
Start XSane
Set output (from Viewer) to Save
Set filename to out.pdf
Set Preset Area to DIN A5 portrait
Set Preset Area to DIN A4 portrait
Click Scan

And you get a A5 file instead of A4.

Now for the rest that might be bugs in gs-common:
 ps2ps -sPAPERSIZE=a4 out.pdf out.ps
and you get a A5 sized ps
 ps2pdf -sPAPERSIZE=a4 out.ps out-new.pdf
and you get a Letter size pdf

** Affects: xsane (Ubuntu)
     Importance: Undecided
         Status: New

-- 
can not select page size reliably
https://bugs.launchpad.net/bugs/125088
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to