Peyton, where are you expecting the reports to be printed? You do realize that 
it's for printing to a printer connected to the server, right, and not the 
client? Sorry if that's obvious and you knew it. Just like checking first that 
an appliance is plugged in when trying to resolve a problem with it, this 
seemed an important first question.

So the next thing is that without naming a printer, it will go to the default 
printer for the server. Do you know what that is? If you go to the server and 
look at the list of printers, it will tell you. Are you checking for output 
there? You may see 0 documents in the queue if it prints quickly. That's just a 
guess.

/charlie


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peyton Todd
Sent: Monday, April 14, 2008 2:26 PM
To: [email protected]
Subject: [ACFUG Discuss] <cfprint> or some other way?

I need to provide a reporting capability for the website I'm writing. My first 
attempt has been to write a PDF using <cfdocument>, then print it with 
<cfprint>. The first step was successful, and the document so produced can be 
loaded to a web page and printed successfuly from there, but the invocation of 
the <cfprint> tag produces no output - and no error message - even though the 
Print Log in the administrator lists all the attempted documents. It is true 
that it does not list them as 'Printed' but only as 'Started'. But where are 
they? All the entries in the Win XP Printers and Faxes window show 0 reports in 
the queue...

I'm exploring other options, including loading the PDF to another window and 
letting the user print from there using the print button provided by Adobe in 
that window. But what could be the problem with my use of <cfprint>? I'm 
invoking it with the bare minimum of parameters, i.e., as <cfprint 
filename="MyReport.pdf" type="PDF" overwrite="yes">.

Thanks for your suggestions. 

Peyton


-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------






-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------



Reply via email to