[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#403133: marked as done (kdeprint: Impossible to print in PDF)



Your message dated Thu, 11 Jan 2007 23:30:48 +0200
with message-id <200701112330.56477.geromanas@mailas.com>
and subject line bug #403133 - print from kpdf fails, add file name to command and it works
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: kdeprint
Version: 4:3.5.5a.dfsg.1-2
Severity: important

When I try to print anything to PDF through Kdeprint, I get always the same message in a KNotify 
window (sorry for french):

-----------------------
Un problème d'impression est survenu. Le message d'erreur émis par le système est :

Impossible de démarrer le processus d'impression. Vérifiez la syntaxe de la commande : gs -q -dNOPAUSE 
-dSAFER -dPARANOIDSAFER -sDEVICE=pdfwrite -sPAPERSIZE=a4 -sOutputFile=$out{/tmp/test.pdf} -c save pop -f 
%in 
-----------------------

(Translated, it gives something like :
"Printing problem happened. The error message emmited by the system is:

Impossible to start printing process. Verify the syntax of the command : (...)" )

It works for *.ps though. This bug seems related to #304801.

Regards, Didier

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)

Versions of packages kdeprint depends on:
ii  enscript               1.6.4-11          Converts ASCII text to Postscript,
ii  kdelibs4c2a            4:3.5.5a.dfsg.1-5 core libraries and binaries for al
ii  libc6                  2.3.6.ds1-8       GNU C Library: Shared libraries
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libqt3-mt              3:3.3.7-1         Qt GUI Library (Threaded runtime v
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3
ii  poster                 1:19990428-8      Create large posters out of PostSc
ii  psutils                1.17-24           A collection of PostScript documen

Versions of packages kdeprint recommends:
ii  gs-esp [postscript-viewe 8.15.3.dfsg.1-1 The Ghostscript PostScript interpr
ii  gs-gpl [postscript-viewe 8.54.dfsg.1-5   The GPL Ghostscript PostScript int
ii  kghostview [postscript-v 4:3.5.5-2       PostScript viewer for KDE

-- no debconf information


--- End Message ---
--- Begin Message ---
Hi,

2007 m. sausis 11 d., ketvirtadienis 20:58, Didier Raboud rašė:
> Well..
>
> Steps to reproduce on _my_ machine :
>
> * Open http://bugs.debian.org/403133 (for example) in konqueror.
> * [Ctrl-P] (Menus : Location, Print)
> * In "Name:", choose to print to a PDF file
Are you referring to the name "Print to File (PDF)" here? If not, read below.

> * In "Output file:", choose to print to /tmp/print.pdf (for example, no
> matter)
> * Clic "Print"
>
> Then that error message appears :
> -----------------
> A print error occurred. Error message received from system:
>
> Unable to start child print process. Check the command syntax:
> gs -q -dNOPAUSE -dSAFER -dPARANOIDSAFER -sDEVICE=pdfwrite -sPAPERSIZE=a4
> -sOutputFile=$out{/tmp/print.pdf} -c save pop -f %in
> -----------------
That is not the command which should executed be when you choose "Print to 
File (PDF)". It seems that your configuration is broken somewhere.

By the way, I've found "Print to a PDF file" in my user ~/.kde config files. 
KDE wouldn't let me choose it for printing, but it was there. KDE 3.5.5 no 
longer has this "special printer" because it is superseeded by "Print to File 
(PDF)". So I recommend you (if you don't have jobs pending and haven't 
customised kdeprint)

$ rm -rf ~/.kde/share/apps/kdeprint

-- OR if you have heavily customised kdeprint --

$ editor ~/.kde/share/apps/kdeprint/specials.desktop

and remove obsolete entries. Default KDE entries can be found 
at /usr/share/apps/kdeprint/specials.desktop.

`kbuildsycoca` or even KDE log off & log on might be needed for changes to 
take effect.

You can also try editing printer list via kcontrol module "printers".

I'm closing this bug... Reopen if steps above do not help.

Attachment: pgpAb87Pr9KOw.pgp
Description: PGP signature


--- End Message ---

Reply to: