Issue 99209

Summary: Cropped/scaled bitmaps make page trimming (page size calculation?) incorrect
Product: Draw Reporter: cobbr2 <cobbr2>
Component: printingAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P2 CC: issues
Version: OOo 3.0.1   
Target Milestone: ---   
Hardware: Mac   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
This document shows the problem.
none
This document lacks only the bitmap from the other, but prints fine.
none
Generated by using "Print", selecting "Trim to fit", then pulling down on the PDF menu on the print dialog box to select "save as PDF"
none
Generated exactly as the other, only from 'blue-diamond-alone'. Note that blue diamond appears in this PDF, NOT in the other. none

Description cobbr2 2009-02-13 20:32:09 UTC
I've attached (or will try to attach) two documents.  They're identical except for the inclusion of a 
bitmap, which was dragged in as a PNG, then scaled and cropped (in that order).

If I print both of these documents or preview them, I get very different behavior.  In both cases, I'm told 
I have things outside my print range (where the heck is that set? I sure don't see anything outside a 
margin on either of them!) I select "trim".

In the first, the blue diamond (a vector object) will print (and show in preview). In the second, it will 
not.

The printers associated with my machine are both HP's, a Color LaserJet 2500n and a LaserJet 3005p.  I 
have them both in standard, default settings. I just downloaded 3.0.1 today and recreated the problem 
(I'd originally seen it in 3.0.0).
Comment 1 cobbr2 2009-02-13 20:34:21 UTC
Created attachment 60152 [details]
This document shows the problem.
Comment 2 cobbr2 2009-02-13 20:35:28 UTC
Created attachment 60153 [details]
This document lacks only the bitmap from the other, but prints fine.
Comment 3 wolframgarten 2009-02-16 13:22:40 UTC
Please have a look at format/Page/Margins sections. Setting each drop down box
value with the Fn/Page down key selects the lowest value the printer can do.
The margins in your doc are set to 1 cm and the text is placed outside these
margins partially.
When I try to print both docs from my Macbook Pro I only get a transparency
warning in one case (blue diamond and map), nothing else. I have tried with
OOo310_m1.
Comment 4 cobbr2 2009-02-17 04:09:27 UTC
I was obviously unclear about the issue. I don't care about the warning. What I care about is that when I 
*preview* or *print* the document that has the cropped image in it, the blue diamond and part of the 
enclosed map are *not* printed.  I'll attach PDFs generated from the Print dialog box of what I'm talking 
about.

Even in your analysis, you suggested that the map is completely inside the margins.  

As a secondary symptom, if I select "scale page to fit" instead of trim, the margin of printed document 
on the the actual piece of 8.5 x 11" paper is roughly 4cm (1.5"), nothing like the 1cm you see in the 
document.

Please use the whole sequence of actually previewing & printing the document, not just looking for the 
dialog box, to confirm the bug.  Thanks.
Comment 5 cobbr2 2009-02-17 04:11:03 UTC
Created attachment 60222 [details]
Generated by using "Print", selecting "Trim to fit", then pulling down on the PDF menu on the print dialog box to select "save as PDF"
Comment 6 cobbr2 2009-02-17 04:12:07 UTC
Created attachment 60223 [details]
Generated exactly as the other, only from 'blue-diamond-alone'. Note that blue diamond appears in this PDF, NOT in the other.