Version: (using KDE KDE 3.1.1) Installed from: Compiled From Sources OS: Linux I came across some PDF files that display perfectly with kghostview, but printing fails. When attempting to print, KDE pops up a dialog saying that the PDF is of type 'application/x-zerosize' and must be converted to 'application/postscript'. You can choose to print anyway or to convert. Both result is printing blank pages and an occasional crash of kghostview.
Created attachment 1868 [details] Test-PDF. Fails to print.
Created attachment 1869 [details] Test-PDF. Fails to print.
By the way, how is it possible that documents that display perfectly cannot be printed? KDE should at least provide an option to print the document as an image in stead of postscript, in case postscript printing fails.
The fact that KDEPrint detects the file as application/x-zerosize means that it receives an empty file to print. So nothing is printed. The file to print is provided by the application, so I'm pretty sure that the problem is kghostview failing to convert the PDF to PS.
I am sorry, I am unable to reproduce. I tried HEAD, BRANCH, 3.1.1 and both gs 7.05 & 6.52 with print to file (in HEAD, I even printed one page). Can you please try the following: 1. Print to postscript in kghostview. What do you get as a result? Can you post the file or tell us if it resulted in an empty file? 2. Tell us what version of gs you have. If you don't know, open a konsole, and type gs --version What is the output of this command? thank you, luis pedro
I did some more experimenting and I found out that the error accurs only when using ESP Ghostscript. The exact Ghostscript version is: ESP Ghostscript 7.05.6 (2003-02-05) Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. The error that is produced when I try to manually convert the PDF to PS using 'pdf2ps' is: Unknown device: pswrite The document printed fine on a machine using GNU Ghostscript 7.05 (2002-04-22). I never had any problems with ESP Ghostscript until now. I don't remember why I installed ESP in stead of GNU, hopefully I can just replace ESP with GNU and all will work fine??
I encounter the same zerosize problem, but from konqueror and today from kmail as well :( I don't have more information about the type of documents -> is it only 1 type of document/email or is it more general? I'll need to look into this. With the error msg comes the suggestion to have the document converted anyhow. This fails with the following error msg: cupsdoprint -P 'black1' -J 'file:/' -H 'linux06.mycomp.com:631' -o ' FullUserName=Richard Room=441 copies=1 media=A4,Normal,Upper multiple-document-handling=separate-documents-collated-copies number-up=2 orientation-requested=3 sides=two-sided-long-edge' '/tmp/kde-rbos/kdeprint_dy2pgg7' : uitvoering faalde met de melding: client-error-bad-request Running SuSE-8.2, kde-3.1.2, I don't know the gs version. -- Richard
Is bug 58912 maybe related? http://bugs.kde.org/show_bug.cgi?id=58912
> Is bug 58912 maybe related? No, this is clearly a PDF->PS conversion problem, not MIME related. Probably not even a KDE related problem.
In my case in need to from no pdf to ps... According to Michael Goffioul in bug report 54549 it's a QT problem. If so I would like to know if this problem might have been fixed already...
I don't think this is related to kde but an instalation issue. Therefore I am closing as INVALID. To Richard: this seems a bad KDE/CUPS/something-else instalation or configuration. If you do feel that this is a KDE problem, please file a new bug report against KDEPRINT as it doesn't fit in this report. regards, luis