Bug 55072 - Custom page size with kprinter
Summary: Custom page size with kprinter
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdeprint
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDEPrint Devel Mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-23 16:21 UTC by troll
Modified: 2011-05-27 17:43 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description troll 2003-02-23 16:21:10 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Compiled From Sources
Compiler:          gcc 2.95.3 
OS:          Linux

When printing a custom page size under kdeprint with cups it does not put 
the custom page size into the command line.

It would be nice if the print setting was custom to eiter default to the 
document size or give an option to set it.

It makes prining to an unlisted page size difficult.

It would also be nice if kde supported the same page sizes as ghostscript.
(such as C6 for envelopes)
Comment 1 sombragris 2004-02-05 19:12:47 UTC
In many countries, the paper size known as "Folio" or "Oficio 2" (216x330mm; 8.5x13in) is the default size. It is not possible to set this paper size as default since kdeprint does not allow custom paper sizes.

Solving this situation would be greatly appreciated.
Comment 2 Thorsten Schnebeck 2005-10-06 09:19:31 UTC
Printing on custom page size is a standard feature of cups/foomatic and kdepint (kprinter) does not have a GUI for this.

We use a roll printer, that can print max. 36"x90m so using a custom page size is the only workable option. Here is a code extract from a gutenprint ppd:

*MaxMediaWidth:  "2592"
*MaxMediaHeight: "129600"
*HWMargins:      15 30 15 30
*CustomPageSize True: "pop pop pop <</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice"
*ParamCustomPageSize Width:        1 points 597 2592
*ParamCustomPageSize Height:       2 points 419 129600
*ParamCustomPageSize WidthOffset:  3 points 0 0
*ParamCustomPageSize HeightOffset: 4 points 0 0
*ParamCustomPageSize Orientation:  5 int 0 0

So if a user select pagesize "Custom" he needs only a GUI with 2 textbox-widgets and for optimal support you have to compare the user input with MaxMediaWidth and MaxMediaHeight.

The corresponding announcement from Till of printing.org is from 2002(!)
http://www.linuxprinting.org/pipermail/inkjet-list/2002q4/000479.html

Meanwhile xpp GUI has support for custom paper size for a while.
Comment 3 David Faure 2008-01-23 13:04:10 UTC
JJ? I fail to see how.
Qt doesn't even have support for custom paper sizes until Qt-4.4 is out...
Comment 4 Cristian Tibirna 2008-01-23 16:16:04 UTC
It's about sending to CUPS the config selecting the desired paper format, from which CUPS (or the printer) can choose the paper source.

On the application's part, KDE/Qt can print on any format the application supports (and the user chooses).

It's like printing letter formatted (virtual) pages on a4 (physical) paper pages (on purpose).

This only means offering the appropriate list of formats that the PPD file indicates for the selected printer. At that point, the document can be already formatted. This is a JJ job.

Indeed, the full functionality offered by KPrinter (prior selection of various appropriate printing options like margins, virtual page dimensions etc.) could not include physical page size matching to virtual page size, not until Qt-4.4.

That's how I saw it.
Comment 5 Thomas Zander 2009-12-08 16:33:59 UTC
QPrinter has this already some time, AFAIK since KDE4 there is no KPrinter anymore. Can this bug be closed?
Comment 6 sombragris 2009-12-09 11:49:23 UTC
When trying to print something (using KDE SC 4.3), when clicking on "Properties" one can supposedly select a "Custom" paper size; but in my computer the boxes for the paper size dimensions are greyed out.

IMHO, functionality is still lacking (unless this is fixed in KDE SC 4.4), so I would not close the bug... yet.
Comment 7 Thomas Zander 2009-12-09 12:19:51 UTC
works fine in KMail. Maybe you forgot to change the paper format in the combobox to Custom?

Notice that this dialog is part of Qt, not KDE.
Comment 8 sombragris 2009-12-09 12:27:42 UTC
Thomas: Thanks for the answer. When describing the above case, this is precisely what I did (hey, I *even used Kmail*!). Picked "Custom" as the paper size, but the dimension boxes were all greyed out. This was under two different printers (HP DeskJet 840c and HP LaserJet P1006).

I know this is part of Qt, not KDE; what I am trying to imply is: the functionality previously present in KDE SC of the past is still not present. No matter what the supporting architecture might be, it is still a regression to the eyes of Joe User.

Thanks again,

Eduardo (from Paraguay, South America)
Comment 9 John Layt 2011-05-27 17:43:39 UTC
KDEPrint is obsolete, unmaintained and will never be revived.  Closing all open bugs.

If you still have this issue in the Qt dialog please report upstream in Qt bug  tracker.