tracker issue : CF-4127891

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

[ANeff] Bug for: CF11 vs CF2016 wrt cfprint default paper type

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 03/11/2016

Components: CFPRINT

Versions: 2016

Failure Type: Non Functioning

Found In Build/Fixed In Build: CF2016_Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Platforms All

Vote Count: 0

Listed in the version 2016.0.01.298513 Issues Fixed doc
Verification notes: verified_fixed on July 30, 2017 using build 2016.0.01.298513
CF11 could print to a user-defined (in printer driver) paper type. CF2016 cannot.

ISSUE #1: cfprint no longer uses printer driver's default paper type

Repro:

1) Setup a small-format printer (ex: a label printer having maximum paper dimensions of 4"x6")
2) Create a user-defined paper size of 4"x3" and set that as the printer's default paper size
3) Run the following:

<cfhtmltopdf name="myPDF" pagetype="custom" pagewidth="4" pageheight="3">My PDF</cfhtmltopdf>
<cfprint printer="SmallFormatPrinter" color="no" fidelity="yes" source="myPDF">

Actual behavior in CF11: printing is successful

Actual behavior in CF2016: exception "iso-a4 isn't a valid paper type"

See? Pre-2016, cfprint used the printer driver defaults. But in 2016, cfprint *always* uses iso-a4 as the default paper type. Related ticket: 3767744 (see Rupesh's comment 'Nikhil has made the default as "iso-a4".')  That change needs to be reverted.

ISSUE #2: getPrinterInfo() doesn't list the user-defined presets.

Workarounds: None. B/c the combination of Issue 1 and Issue 2 makes it impossible to use cfprint to print to a printer having the default paper type set via a user-defined size (example: 4"x3").

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

Watson Bug ID:	4127891

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email:  
External Test Config: Windows 2012 R2 + CF2016 + small-format label printer (ex: maximum paper dimensions: 4"x6") + user-defined paper type (ex: 4"x3") as printer's default paper type

Attachments:

Comments:

Hi Adobe, I see this was just now marked Closed/Fixed. Awesome! Could I please get a patch for this? It is a show-stopper for me. Thanks!, -Aaron
Comment by External U.
3294 | March 30, 2016 11:31:01 PM GMT
Verified, on April 12, 2016, that this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Thanks!, -Aaron
Comment by Aaron N.
3295 | July 30, 2017 06:16:14 PM GMT