Bug 47400

Summary: kprinter: page size dimensions not used
Product: [Unmaintained] kdeprint Reporter: andrew
Component: generalAssignee: KDEPrint Devel Mailinglist <kde-print-devel>
Status: CLOSED NOT A BUG    
Severity: normal CC: jlayt
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bugzilla Maintainers 2002-09-04 00:05:18 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: kprinter
Version: kprinter: 0.0.1
         KDE: 3.0.3
         Qt: 3.0.5
         FreeBSD 4.6-STABLE 26/Aug/2002

 Paper dimensions not updating.
 When using "Properties..." button; "Print Format" tab; and changing
  papaer from A4 to DL  and orientation from Portrait to Landscape;
  and selecting the "Save" and "OK" buttons several times.
 It then continues to print as if printing to a 297mm A4 landscape length
 instead of 220mm DL length. i.e. leaving first 7.7cm right side of
 envelope blank while printing main text off-envelope. Printer: Postscript >> print server >> HP 5MP printer
Comment 1 Michael Goffioul 2002-09-09 07:56:52 UTC
What print system are you using: CUPS LPRng?

The problem is probably that whe you select the paper size and send 
the whole job to the print server it doesn't take into account the 
new page size: LPRng doesn't support it but CUPS does.
You should use the actual paper size at PS generation time (in the
application).

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 Cristian Tibirna 2005-09-20 06:00:03 UTC
3 years old. No answer to maintainer's question from the original reporter.
Comment 3 Michael Goffioul 2005-09-20 09:14:58 UTC
When printing a PS file with kprinter, the selected page size is actually ignored because the PS file usually already contains the pafe dimension (bounding box). In "kprinter" mode, kdeprint just sends the print options to CUPS, but some can be ignored by CUPS. For example, the page size is only used by CUPS when you send plain text: in that case, CUPS converts the text to PS using an enscript-like tool, where it can make use of the target paper size. When printing a PS file, it's useless (== too late).

Michael.
Comment 4 John Layt 2008-12-31 12:16:19 UTC
Closing old Resolved status bug.