KDE Print error using CUPS and enscript
Michael Goffioul
kde-print@mail.kde.org
Mon, 21 Oct 2002 11:53:02 +0200
Ernie Pasveer wrote:
>
> Hi All,
>
> I haven't got any response yet from my previous post. I'm think because
> I sent the list screenshots instead of just listing the errors. So, here
> are the errors.
Did you miss my answer on kde-print? See
http://lists.kde.org/?l=kde-print&m=103492890910888&w=2
>
> Here's the error I get while trying to print anything while in Konquorer
> or any KDE program.
>
> enscript -M Letter -p '' '/tmp/kde-erniep/kdeprint_ARtRnTO'
> execution failed with message:
>
> enscript: couldn't create output file "": No such file or directory.
>
> Now in my configuration window I have:
>
> Command: enscript -M %psu %filterargs %filteroutput %filterinput
>
> Input From
> File: %in
> Pipe:
>
> Output To
> File: -p %out
> Pipe: -p -
>
> Can anyone explain what %psu, %filterargs, and the other % variables are? and
> how they get set?
%psu: paper size with first letter as capital letter
%filterargs: command-line options as described in the associated XML file
%filterinput: the input specification (file or pipe)
%filteroutput: the output specification (file or pipe)
%in: the input file
%out: the output file
All tags are replaced at run-time by KDEPrint using the print
options and the potential input/output file (depending on the place
of the filter in the filter chain).
> How is there a '' being set as an argument to enscript.
The '' you get stands for the output file, which happens to be empty.
The real problem is: why is the enscript filter being used when printing
from a KDE app. It shouldn't. Check your ~/.lpoptions file.
Michael.
--
------------------------------------------------------------------
Michael Goffioul IMEC-DESICS-MIRA
e-mail: goffioul@imec.be (Mixed-Signal and RF Applications)
Tel: +32/16/28-8510 Kapeldreef, 75
Fax: +32/16/28-1515 3001 HEVERLEE, BELGIUM
------------------------------------------------------------------