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
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: