Summary: | cannot print PDF files in kghostview, cannot print anything after attempt to do so | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Leston Buell <bulbul> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | aacid, adrian, esigra, grundleborg, luis |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandrake RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Leston Buell
2003-05-01 19:26:56 UTC
I think that this problem only occurs when printing two or more pages to a sheet. When i use Kghostview to print a PDF file to a two-per-sheet PS file, Kghostview cannot render the resulting PS file. I now suspect that this is a bug in Mandrake that i saw a fix alluded to somewhere. I will update this bug when i figure out if that solves the problem. The problem persists even after all of the Mandrake packages were upgraded. With print-to-file, this is very easy to test, since you don't need a printer: 1. Open a PDF file in kghostview. 2. Click on Print icon. 3. Select "Print to File (PostScript)". 4. In Properties select 2 pages per sheet. 5. Print. 6. Attempt to view output PS file in kghostview. The page numbers will appear in the left-hand column, but no page is rendered in the man pane. Now try going through the very same steps opening the PDF file with kprinter instead of kghostview. When you click on Print, an error dialog appears that says: The MIME type application/pdf is not supported as input of the filter chain (this may happen with non-CUPS spoolers when performing page selection on a non-PostScript file). Do you want KDE to convert the file to a supported format? If you click on "Convert", you get a dialog that says: Select target format for conversion: application/postscript Click on "OK", then you get: No appropriate filter found. Select another target format. After two or three trials, kprinter gives up and closes. So, what is kghostwriter doing when it attempts the conversion? The outcomes of kghostview and kprinter are different. Kprinter fails to write any output, while kghostview outputs a file which can't be rendered. I cannot reproduce this. I tried printing a PDF to a PS using two pages per sheet and it worked fine. What I guess is happening is that kprinter is failing and kghostview doesn't handle that failure, but I can't be sure yet. I have a similar problem that happened when I upgraded Mandrake from v9.0 to v9.1. Some PDF files fail to print from konqueror. It loads the paper, then pauses, and finally ejects. I found, with some help, that those files would print if I used xPDF and use kprinter. To Martin: Can you try "print to Postscript" in kghostview and then printing that file (through kghostview or directly through kprinter or even in the command-line with lpr.cups) ? Generally: Could this be a Mandrake 9.1 problem? Anyone on another platform seeing this? Regards, luis I'm using MDK 9.0, KDE 3.0.3, Kghostview 0.13.1, ghostscript 7.05.33-3. I can print a PDF file from Kghostview OK, but when I try to print a .PS file, I get a message about the file format being application/pdf and asking if I want to convert to application/ps (similar to comment #2 above). Why does it think that the file isn't a ps type already? PS. I can print a PS file from plain ghostview just fine. - Dennis McNulty Is this bug still present in a recent KDE version, such as 3.5.9 or 4.0.1 (with Okular)? Moved to Okular. |