Bug 39143 - using kprinter from command line should allow preview
Summary: using kprinter from command line should allow preview
Status: CLOSED FIXED
Alias: None
Product: kdeprint
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Goffioul
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-09 14:48 UTC by Ferdinand Gassauer
Modified: 2002-09-16 14:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferdinand Gassauer 2002-03-09 14:37:58 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdeprint
Version:           KDE 2.9.0 7 (3.0 rc1)
Severity:          wishlist
Installed from:    compiled sources
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:                Linux (i686) release 2.4.4-4GB
OS/Compiler notes: 

Hi!

would be helpfull to see the output 

cu ferdinand

(Submitted via bugs.kde.org)
(Called from KBugReport dialog. Fields Application manually changed)
Comment 1 Michael Goffioul 2002-03-11 09:12:22 UTC
gassauer@kde.org wrote:
> 
> Package: kdeprint
> Version: KDE 2.9.0 7 (3.0 rc1)
> Severity: wishlist
> Installed from:    compiled sources
> Compiler:          gcc version 2.95.3 20010315 (SuSE)
> OS:                Linux (i686) release 2.4.4-4GB
> OS/Compiler notes:
> 
> Hi!
> 
> would be helpfull to see the output

I agree it could be useful but it doesn't make sense. The problem is
that using kprinter on the command line you could feed a lot a file
formats different from PS. These other formats will then be converted
to PS by the spooler but I can't interact with the spooler in its
processing pipe to perform a preview. Once the file is sent to the
spooler you can't do anything else.
When used from KDE applications the data sent to the spooler is PS
(at least in 99%) so I can safely invoke the kghostview component to
view it but this is done before sending the data to the spooler. When
using kprinter you could imagine to "preview" the file to print using
the component registered for the file format (for example kwrite if
it's text) but this would not correspond to a real "preview" in the
sense it will look like the print result.
That's why I disabled the preview in kprinter utility.

Michael.

-- 
------------------------------------------------------------------
Michael GoffioulIMEC-DESICS-MIRA
e-mail: goffioul@imec.be(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510Kapeldreef 75
Fax:    +32/16/28-15153001 HEVERLEE BELGIUM
------------------------------------------------------------------
Comment 2 Ferdinand Gassauer 2002-03-11 19:09:51 UTC
Hi!
I understand that kprinter called from the command line can not have the s=
ame=20
functionality (preview). IMHO this should be mentioned in the documentation.

BTW I just realized that a HELP button for calling the excellent print=20
handbook is missing in the print dialog.
--=20
cu
ferdinand
http://www.goesing.at
Comment 3 Michael Goffioul 2002-03-12 08:42:47 UTC
> Hi!
> I understand that kprinter called from the command line can not have the same
> functionality (preview). IMHO this should be mentioned in the documentation.

A job for Kurt? :-)

> BTW I just realized that a HELP button for calling the excellent print
> handbook is missing in the print dialog.

This is planned but not implemented yet. With the imminent release I don't
want to break anything it will be for 3.1 probably. At this moment you can
access it from the help tab in KControl.

Michael.

-- 
------------------------------------------------------------------
Michael GoffioulIMEC-DESICS-MIRA
e-mail: goffioul@imec.be(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510Kapeldreef 75
Fax:    +32/16/28-15153001 HEVERLEE BELGIUM
------------------------------------------------------------------
Comment 4 Michael Goffioul 2002-03-12 08:44:54 UTC
Close this for the time being.

-- 
------------------------------------------------------------------
Michael GoffioulIMEC-DESICS-MIRA
e-mail: goffioul@imec.be(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510Kapeldreef 75
Fax:    +32/16/28-15153001 HEVERLEE BELGIUM
------------------------------------------------------------------