Bug 145499

Summary: Profile page format does not match ppd files definitions
Product: [Unmaintained] koffice Reporter: Ferdinand Gassauer <gassauer>
Component: generalAssignee: KDEPrint Devel Mailinglist <kde-print-devel>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist CC: aacid, cfeck, halla
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: extended ppd for Dymo labelprinters
CUPS ppd
Select Media size
select the printer in KDE print manager
select correct page size
kword page layout does NOT offer the defined media size
printout of the testpage

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)