Summary: | problems with printing some PDF's | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | MarC <marcp> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | aacid, adrian |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Test.pdf (test file to reproduce the bugs I comment)
Test2x1.pdf (test file to reproduce the bugs I comment) Test_toPS.ps (PS file in a zip) Test_toPS2x1.ps (PS in a zip) test_acroread.ps zipped. |
Description
MarC
2005-01-26 00:55:58 UTC
Can you try to: 1) "kprinter your_file.pdf", select 2 pages per sheet in the printer properties dialog, and "Print" 2) "kghostview your_file.pdf", print it to "Print To File (PS)" pseudo-printer, and then "lpr -o number-up=2 the_result_file.ps" Do these 2 cases work OK? Michael. En/na Michael Goffioul ha escrit: >------- You are receiving this mail because: ------- >You reported the bug, or are watching the reporter. > >http://bugs.kde.org/show_bug.cgi?id=97908 > > > > >------- Additional Comments From kdeprint_bugs swing be 2005-01-27 09:07 ------- >Can you try to: >1) "kprinter your_file.pdf", select 2 pages per sheet in the printer properties dialog, and "Print" >2) "kghostview your_file.pdf", print it to "Print To File (PS)" pseudo-printer, and then "lpr -o number-up=2 the_result_file.ps" > >Do these 2 cases work OK? > >Michael. > > > > > Im sorry to answer late. I was busy. Here you have more clues: Test.pdf is the original file Test2x1.pdf obtained with pdfnup (I answer to 2) The option 2 pages for sheet with "Print to File" always work, but the problem is how do you print it. (I answer to 1) Typing "kprinter Test.pdf", 2 pages per sheet, and selecting range for pages 27-28, IT SUCCEEDS. Typing "kprinter Test2x1.pdf", 1 pages per sheet, and selecting range page 14 only, IT SUCCEEDS. Opening Test.pdf with kghostview, 2 pages per sheet, and selecting range for pages 27-28, IT FAILS (it doesnt print anything). Opening Test.pdf with acroread, redirecting all to kprinter, 2 pages per sheet, and selecting range for pages 27-28, IT FAILS. Opening Test2x1.pdf with kghostview, 1 pages per sheet, and selecting range page 14 only, IT SUCCEEDS but prints the page bad (vertically when it should do it horizontally). Opening Test.pdf with acroread, redirecting all to kprinter, 1 pages per sheet, and selecting range page 14 only, IT FAILS. hope that this helps. Created attachment 9331 [details]
Test.pdf (test file to reproduce the bugs I comment)
Created attachment 9332 [details]
Test2x1.pdf (test file to reproduce the bugs I comment)
I tried your Test.pdf file, using kghostview, I printed pages 27-28 to a PS file with 2 pages per sheet enabled (I cannot test it on a real printer) and the result viewed with gv looks OK. Is it also the case for you? If yes, can you try to print the resulting file with "lpr"? Can you do the same, but using 1 page per sheet when printing in kghostview, and using "lpr -o number-up=2" to actually print it? Michael. En/na Michael Goffioul ha escrit: >------- You are receiving this mail because: ------- >You reported the bug, or are watching the reporter. > >http://bugs.kde.org/show_bug.cgi?id=97908 > > > > >------- Additional Comments From kdeprint_bugs swing be 2005-01-31 13:04 ------- >I tried your Test.pdf file, using kghostview, I printed pages 27-28 to a PS file with 2 pages per sheet enabled (I cannot test it on a real printer) and the result viewed with gv looks OK. Is it also the case for you? > well it is displayed out of the margins when I see it on kghostscript... but it is done OK (lpr prints it ok). I attach it in file Test_toPS2x1.ps in order that you can see it. (The problem always appears when I use the HP Laserjet 4L printer, I never had it printing to a file) >If yes, can you try to print the resulting file with "lpr"? > yes it prints it correctly. >Can you do the same, but using 1 page per sheet when printing in kghostview, and using "lpr -o number-up=2" to actually print it? > > > I attach the ps to Test_toPS.ps it doesn't print it. it is rejected. >Michael. > > > > > Created attachment 9374 [details]
Test_toPS.ps (PS file in a zip)
Created attachment 9375 [details]
Test_toPS2x1.ps (PS in a zip)
1. the out-of-margin problem you see in kghostview is probably related to the fact that kghostview doesn't use the right media size, try to change it 2. it looks like when CUPS does the 2-up operation, the result cannot be printed by your driver, but this is out of the scope of KDEPrint. Can you try the same operations with acroread? - print to PS file (directly form acroread, do not use kprinter), 1 page per sheet, "lpr -o number-up=2" - print to PS file (idem), 2 pages per sheet, "lpr" (I'm not sure if acroread allows you to print 2 pages per sheet, if not, just forget this case) 3. If you succeed to print in point 2, try the same but using kprinter this time to print to a PS file. En/na Michael Goffioul ha escrit: >------- You are receiving this mail because: ------- >You reported the bug, or are watching the reporter. > >http://bugs.kde.org/show_bug.cgi?id=97908 > > > > >------- Additional Comments From kdeprint_bugs swing be 2005-02-01 10:01 ------- >1. the out-of-margin problem you see in kghostview is probably related to the fact that kghostview doesn't use the right media size, try to change it > >2. it looks like when CUPS does the 2-up operation, the result cannot be printed by your driver, but this is out of the scope of KDEPrint. Can you try the same operations with acroread? >- print to PS file (directly form acroread, do not use kprinter), 1 page per sheet, "lpr -o number-up=2" > > when I do "lpr test_acroread.ps" or "lpr -o number-up=2 test_acroread.ps" NOTHING is printed. I attach the file. >- print to PS file (idem), 2 pages per sheet, "lpr" (I'm not sure if acroread allows you to print 2 pages per sheet, if not, just forget this case) > > acroread doesn't have this options. This is why I use kprinter... >3. If you succeed to print in point 2, try the same but using kprinter this time to print to a PS file. > > > > > Created attachment 9382 [details]
test_acroread.ps zipped.
Well, it looks like the problem is not directly related to KDE. Indeed, you can reproduce the problem with PS generated from acroread without use of KDE components. It appears that the PS data generated by acroread/kghostview(gs) from your PDF file, combined with the 2-up operation performed by CUPS, produces errors in the printer driver. This is out of the control of kdeprint and I'm afraid I can't help you further. You don't have that problem with gpdf probably because gpdf uses another PDF rendering engine (Xpdf), which is the same as kpdf (did you try kpdf to see if the problem occured?). I'll reassign the bug to kghostview, because there's nothing I can do at my level. Michael. ok many thanks. I'll appreciate that you reassign the bug of kghostview. Maybe you could tell also CUPS developpers about the 2-up operation? and well... for acroread and my driver (hpijs, from HP) I'm afraid I will have to do the same as for all the propietary programs (hope that some developer fix it spontaneously)... thanks again. kde rocks En/na Michael Goffioul ha escrit: >------- You are receiving this mail because: ------- >You reported the bug, or are watching the reporter. > >http://bugs.kde.org/show_bug.cgi?id=97908 >kdeprint_bugs swing be changed: > > What |Removed |Added >---------------------------------------------------------------------------- > AssignedTo|kdeprint_bugs swing be |luis luispedro org > Product|kdeprint |kghostview > > > >------- Additional Comments From kdeprint_bugs swing be 2005-02-01 16:11 ------- >Well, it looks like the problem is not directly related to KDE. Indeed, you can reproduce the problem with PS generated from acroread without use of KDE components. It appears that the PS data generated by acroread/kghostview(gs) from your PDF file, combined with the 2-up operation performed by CUPS, produces errors in the printer driver. >This is out of the control of kdeprint and I'm afraid I can't help you further. You don't have that problem with gpdf probably because gpdf uses another PDF rendering engine (Xpdf), which is the same as kpdf (did you try kpdf to see if the problem occured?). >I'll reassign the bug to kghostview, because there's nothing I can do at my level. > >Michael. > > > > > Can you confirm whether or not this works with Okular? No answer for years. |