Maybe check the docs? sorry if thats snarky but, its right there in the
livedocs.
Otherwise if you are really just trying to provide a pdf for a user then
just take out your "cfprint" and let the user print it.

cfprint

*Description*

Prints specified pages from a PDF file. Use this tag to perform automated
batch print jobs. Use the cfprint tag to print any PDF document, including
those generated by the
cfdocument<file:///Users/sross/Downloads/html/Tags_d-e_05.html#3765835>
, cfpdf <file:///Users/sross/Downloads/html/Tags_p-q_02.html#2922772>, and
cfpdfform <file:///Users/sross/Downloads/html/Tags_p-q_03.html#2938666> tag.
Also, you use this tag to print Report Builder reports exported in PDF
format.

.... further down the page....

printer

Optional



The name of a printer. An example in Windows is \\s1001prn02\NTN-2W-HP_BW02.
The default name is the default printer for the account where the ColdFusion
server is running. Printer names are case-sensitive and must be entered
exactly as they appear in the System Information page of the
ColdFusion Administrator. For more information, see Usage.

On Mon, Apr 14, 2008 at 2:25 PM, Peyton Todd <[EMAIL PROTECTED]>
wrote:

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


-- 
Steven Ross
web application & interface developer
http://blog.stevensross.com
[mobile] 404-488-4364 [fax] (404) 592-6885
[ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]



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