Bug 145499 - Profile page format does not match ppd files definitions
Summary: Profile page format does not match ppd files definitions
Status: RESOLVED UNMAINTAINED
Alias: None
Product: koffice
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.x
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDEPrint Devel Mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-16 14:10 UTC by Ferdinand Gassauer
Modified: 2015-02-06 13:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
extended ppd for Dymo labelprinters (8.38 KB, text/plain)
2007-05-16 14:19 UTC, Ferdinand Gassauer
Details
CUPS ppd (11.46 KB, image/png)
2007-07-24 21:15 UTC, Ferdinand Gassauer
Details
Select Media size (25.88 KB, image/png)
2007-07-24 21:16 UTC, Ferdinand Gassauer
Details
select the printer in KDE print manager (33.56 KB, image/png)
2007-07-24 21:17 UTC, Ferdinand Gassauer
Details
select correct page size (81.86 KB, image/png)
2007-07-24 21:19 UTC, Ferdinand Gassauer
Details
kword page layout does NOT offer the defined media size (28.33 KB, image/png)
2007-07-24 21:20 UTC, Ferdinand Gassauer
Details
printout of the testpage (12.79 KB, patch)
2007-07-24 21:26 UTC, Ferdinand Gassauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ferdinand Gassauer 2007-05-16 14:10:47 UTC
Version:            (using KDE 3.5.6 "release 77.1" , openSUSE )
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.18.8-0.1-default

cups (localhost:631) let me select the pagesizes defined in the attached ppd file.

The profile section of the KDE printer definition dialog displays the usual pagesizes (ISO A4, .. letter...), but not the ones defined in the ppdf file.

Any hint where I can add the necessary information for papersizes?
Comment 1 Ferdinand Gassauer 2007-05-16 14:19:14 UTC
Created attachment 20587 [details]
extended ppd for Dymo labelprinters

the original file is extended by this 2 formats
*PageSize w101h54/Etikett - 101 x 54 mm":
*PageSize w190h59/Ordner  - 190 x 59 mm":
Comment 2 Kurt Pfeifle 2007-05-18 11:45:05 UTC
What exactly do you mean with "KDE printer definition dialog"?

What exactly do you mean with "profile section"?
Comment 3 Bram Schoenmakers 2007-07-24 20:07:16 UTC
Ferdinand, please clarify.
Comment 4 Ferdinand Gassauer 2007-07-24 21:15:10 UTC
Some time has past, so I tried to reproduce.... and add some snapshots. 
It have restarted the server, so the situation i describe now might be a bit different.

Comment 5 Ferdinand Gassauer 2007-07-24 21:15:47 UTC
Created attachment 21236 [details]
CUPS ppd

1.) I select a CUPS ppd file, which I have adapted for large labels.
Comment 6 Ferdinand Gassauer 2007-07-24 21:16:47 UTC
Created attachment 21237 [details]
Select Media size
Comment 7 Ferdinand Gassauer 2007-07-24 21:17:36 UTC
Created attachment 21238 [details]
select the printer in KDE print manager
Comment 8 Ferdinand Gassauer 2007-07-24 21:19:40 UTC
Created attachment 21239 [details]
select correct page size

IIRC this was not available when I wrote the bug report
Comment 9 Ferdinand Gassauer 2007-07-24 21:20:54 UTC
Created attachment 21240 [details]
kword page layout does NOT offer the defined media size
Comment 10 Ferdinand Gassauer 2007-07-24 21:26:19 UTC
Created attachment 21241 [details]
printout of the testpage

the hight of the testpage is 21cm (instead of the defined 19cm).
I do not know where the testpage is coming from but IMHO it should be created
dynamically on the fly using the ppd parameters to fit on the paper.
the test page should give a positive feedback and not scrambled letters....
(could be a cups problem though)

Hope that helps
Comment 11 Michael Goffioul 2007-08-16 11:12:09 UTC
I looked at the PPD file and there are things I don't understand in the added page sizes. AFAIK, these should be defined using 72dpi; if I take the size 101x54 mm, this gives a size of 283x153, but you use 1191x638. Am I missing something?
Comment 12 Ferdinand Gassauer 2007-08-16 16:36:06 UTC
Thanks Michael!

I stopped playing around to define a correct PPD files as it didn't seem useful to have a ppd definition, which I can not select in kword etc.
The main questions are:
* does KDE (printing) make use of page format definitions in the ppd files?
* does koffice make use of ppd definitions to format the page size.
Comment 13 Michael Goffioul 2007-08-17 09:09:54 UTC
1) yes
2) no (but I'm not completely sure, you should ask koffice developers)
Comment 14 Ferdinand Gassauer 2007-08-17 09:19:32 UTC
moving this to koffice due to Michaels answer http://bugs.kde.org/show_bug.cgi?id=145499#c13 (2)
Comment 15 Halla Rempt 2012-04-16 15:45:01 UTC
Erm... Are we ever going to query cups to determine which paper sizes the user can print to? I somehow doubt it.
Comment 16 Albert Astals Cid 2012-04-16 15:58:52 UTC
This been moved to koffice but mails still getting to kde-print-devel@kde.org ?
Comment 17 Christoph Feck 2015-02-06 13:11:50 UTC
Thank you for your bug report or feature suggestion.

The "KOffice" application suite is no longer maintained, and all tickets are now closed.

We recommend to switch to the "Calligra" application suite, which has replacements for all unmaintained KOffice applications:

- KWord was replaced with Calligra Words
- KPlato was replaced with Calligra Plan

For more information, see http://en.wikipedia.org/wiki/Calligra_Suite

(This is an automatic message from the KDE bug triaging team)