tracker issue : CF-3767744

select a category, or use search below
(searches all categories and all time range)
Title:

CFPRINT cut the top margin of the page

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): / John Walker (Anit Kumar Panda)

Created: 05/28/2014

Components: CFPRINT

Versions: 10.0

Failure Type: Data Loss

Found In Build/Fixed In Build: 4.1 (Build 0001) / 298513

Priority/Frequency: Major / All users will encounter

Locale/System: English / Mac 10 All,Win XP All

Vote Count: 0

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_possibly_fixed on July 30, 2017 using build 2016.0.01.298513
Problem: The margin on the of page gets cut off when printed with CFPRINT

Method: Use the below code:-
<cfprint printer="\\indiasvr-nt\HP LaserJet M4345 MFP PS (6th Floor Pantry)" source="c:\test.pdf" >
<cfexit>

Result: When the output is print using Adobe PDF/Acrobat, the page prints fine. However, the margin on the of page gets cut off by almost by 3-4mm when printed with CFPRINT

Expected: Should print as expected

Workaround: None. Issue reproducible with ColdFusion 11

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3767744

External Customer Info:
External Company: H & M bay inc
External Customer Name: John Walker
External Customer Email: john.walker@hmbayinc.net

Attachments:

Comments:

We tried cfprint with "pageScaling"(within "'attributeStruct'" parameter) set as "fit-to-printer-margin" or "reduce-to-printer-margins". With this setting, there was no difference in printed documents using Adobe PDF/Acrobat and that of cfprint. Both the documents were having similar vertical and horizontal margin span. Hence closing the bug.
Comment by Akhila K.
12019 | October 31, 2014 05:27:59 AM GMT
This is been tested with paper attribute set as "iso-a4".
Comment by Akhila K.
12020 | October 31, 2014 10:04:39 AM GMT
Nikhil has made the default as "iso-a4". The fix is checked in but it looks like there is some issue with the jpedal library. KP is looking into that.
Comment by Rupesh K.
12021 | October 01, 2015 12:59:19 AM GMT
Hi Adobe, I'm currently unable to reproduce the issue, and am seeking additional information: 1) Regarding: 'Nikhil has made the default as "iso-a4".' Was that later undone b/c it caused CF-4127891, thus unfixing this ticket? 2) Could the repro code, including PDF, please be attached, so that I can verify the fix? 3) Is this a regression from CF10? 4) What CF11 and CF2016 builds was this fixed in? Thanks!, -Aaron
Comment by Aaron N.
12022 | July 30, 2017 08:06:52 PM GMT
Hi Adobe, Could you please attached the test.pdf referenced in the description? I'm unable to reproduce this issue. Could you please reply to my previous comment? I just want to reproduce the issue, but I don't know the full steps. Thanks!, -Aaron
Comment by Aaron N.
12023 | October 01, 2017 07:19:01 AM GMT
Hi Aaron Please find the attached test case for the same. You can find the fix in CF2016 update 1. Regarding "Nikhil's changes", please ignore the comment. It was a engineering discussion. A fix along with the change in default value was done to fix this bug. Please let me know if you need any other info. Thanks Poonam
Comment by Poonam J.
12024 | October 03, 2017 07:16:41 AM GMT