Skip to main content
Participating Frequently
February 28, 2013
Question

cfprint drops pages

  • February 28, 2013
  • 2 replies
  • 1263 views

We are using cfprint to print pdf files to our network printers.

Some of our pdfs only print 8 pages and the others print all 14 or so pages.

They all print fine from acrobat reader.

This happens with all our networked printers.

Current Environment:

CF9 Enterprise

Win2008 R2

Any thoughts?

Thanks,

Ernie

This topic has been closed for replies.

2 replies

Inspiring
March 1, 2013

Kindly let me know following:-

  1. What attributes, you are using for this CFM page?
  2. Is this behavior occuring with either all pdf files or any specific pdf files?
  3. Post short running sample code so that i will also test this issue in my environment and will update you for same.
ebdesignsAuthor
Participating Frequently
March 1, 2013

Just page 9 of this pdf file will not print.

If i print all the pages it stops at the end of the 8th page.

If i print just the 9th page the job does not even get sent to the printer.

<!-- Set printing defaults -->
<cfset attrib=StructNew()>
<cfset attrib["paper"]="Tray 3">
<cfset attrib["sides"]="two-sided-long-edge">

<cfset attrib["orientation"]="portrait">
<cfset attrib["finishings"]="staple-top-left">

<cfset attrib["color"]="no">
<cfset attrib["pages"]="#url.pages#">

<cfset attrib["jobName"]="Ernie#url.f#_#url.pages#">

Printing page <cfoutput>#url.pages#</cfoutput><br>

<cfflush>

<cfprint
     printer="HP Universal Printing PS"
     source="temp\#url.f#.pdf"
     copies="1"
     type="PDF"
     attributestruct="#attrib#">
ebdesignsAuthor
Participating Frequently
March 1, 2013

Bad formatting from copy and paste from CF Studio 5

Tim Cunningham
Participating Frequently
February 28, 2013

Have you found any errors in the logs?

ebdesignsAuthor
Participating Frequently
March 1, 2013

No errors are reported in the log files.