Coldfusion 8,cfdocument, cfpdf, watermark, blank page output?

I'm using cfdocument. No matter whether I use PDF or
Flashpaper as the type, if I specify the "name" attribute it
results in an outputted page that is blank. If I remove the name
attribute, it renders the pdf or flashpaper page.
Why is this happening? I want to use it to create a PDF
onscreen and then add a watermark to the just generated PDF, but
the cfpdf action="addWatermark" requires you to specify the name of
the pdf to add the watermark to. Since I cannot set the name, I
can't add the watermark.
What can I do? Thanks.

....if I specify the "name" attribute it results in an outputted
page that is blank. If I remove the name attribute, it renders the
pdf or flashpaper page.
Why is this happening?
It is so by design in the cfdocument as well as in the cfpdf
tag. If you specify a name attribute, Coldfusion wont display the
PDF or Flashpaper output, but will hold it in memory as a variable.
To do the watermark with
cfpdf action="addWatermark" you must specify the source
attribute. That implies that, in the cfdocument that goes before,
you should save the PDF as a file.
Here is an example. Coldfusion will create
myTestDoc.pdf and store it in the current directory. For the
watermark, I wish to use an image stored in the same directory.
Coldfusion will then store the watermarked result as the file
myWatermarkedDoc.pdf. The browser will only display the text
PDF doc watermarked and saved as file.
edited: read "watermark" in place of "bookmark"

Similar Messages

  • Blank page seen in the print preview ?

    Hi all I have deveoped a smartform and created a second page with main window......but the problem is , iam getting a blank page output when i see it in the print preview . suppose if data
    is only in two pages iam , i can see the third page with no data...can anyone tel me wats the problem ?
    thanks,
    SIva

    Hi Siva
    What are the contents in your second page of smartform
    do you have any data in second page of smartform
    if so check whether the data exists or not
    do revert back if any issues
    hope this helps
    regards
    Vikas C

  • HP LaserJet 4200 Printer outputting blank page (with creases) before printing

    HP LaserJet 4200 Printer
    Keeps outputting a blank page, with creases in the paper (about the middle of page), before it prints the intended page.
    This happens at random, but quite often. We have been using this printer for years without any issues. This has been happening for about the last few weeks. 

    Hi have the same problem with my HP LJ4200.
    The problem is intermitent , blank page with with creases before the document
    Have you found a solution ?
    thanks !

  • Blank page coming inbetween the output of the pdf

    Hi Tim,
    I am getting a blank page in between the data output of the pdf. For example I have a 10 pages output of the pack slip report in PDF so for the first 7 pages it is printing the header and line information printed correctly. But for 8th page only header information is printed(without line information) and 9th page only half part of the header (header is having 10 rows so only 5 rows ) are getting printed
    Any help will really appriciated. This is in production now.
    Thanks,
    Ambadas

    Hi Ravi,
    Thanks, I tried removing all spaces but still it is giving this problem and this is not happening all the time but only for large report like more than 7-8 pages. Can you look at the template see if I am missing something.
    Please let me know.
    Thanks again.
    Ambadas

  • Adobe Forms: how to avoid blank pages in the output

    Hi Guys,
    when i am executing a report using adobe forms for limited records i can see the output in single page in pdf without any blank pages before or after the output page.But if the records exceed then in the output i can see first 3 blank pages and then in the 4th page i can see the printed output only with the limited records .Can u tell me why this is happening.
    Thanks.
    Jagadeesh
    Moderator message: wrong forum, please have a look in the forum for "Adobe Interactive Forms".
    Edited by: Thomas Zloch on May 18, 2011 2:06 PM

    Usually blank pages appear as first page due to the presence of filler lines (//////) on top of report header.Please ensure that the top header is exactely started from top of page itself.

  • PDF Output giving Blank Page at first

    I have an rtf template which is used to print output in pdf format. I have a table which has many rows which displays data for each record. In order to avoid breaking the page in between the rows of a record , i have added an outer table with single row and column and pasted the data table inside it and changed the row property of outer table to 'Allow Rows to Break Across Pages' to unchecked. It works fine only if the first record set length does not exceed a full page. IF the first record expanded to more than one page, it leaves a blank page at the very first and start the record at the second page. Can you please advise how to solve this issue. Its very URGENT please..
    Regards
    Anish

    Please help me out ...

  • HP 7280 outputs a blank page before every page printed

    Newly-installed 7280 works fine, but everytime something is printed, it outputs a blank page before every printed page.  This is true whether printing from Word, IE, Outlook, Quicken, Photoshop, etc.
    I have checked all likely culprits in the printer dialog boxes, including clearing the Separator Page option.
    Any thoughts?
    This question was solved.
    View Solution.

    are your computers running windows XP or Vista? because in Vista, if it uses the pre-installed drivers that come with the OS, then it prints blank sheets between the printed sheets. if you install the driver from the CD directly, then it has resolved the issue a lot of times for me.
    so to the properties of the printer, and go to the Advanced Tab, and click in New Driver. and in teh wizard, select HP Photosmart 'C7200' and not Photosmart '7200' (considering it is the Photosmart C7280). that should work.
    Make it easier for other people to find solutions, by marking my answer with \'Accept as Solution\' if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"
    I am an ex-HP Employee.

  • Separate color output and blank pages

    Good morning community,
    I have a little question for you today.
    How can I output a separate color PDF with blank pages included?
    Unfortunately, as I choose separation in the output menu, the chance to include blank pages (usually available in the general menu) disappears.
    Instead, I need to generate a spot color PDF with all the pages, even the blank ones – in order to grant to the final printer the correct imposition.
    Thank you very much,
    Aulica

    thank you rob day, great idea, with just one strategic move.
    the reason why I need a separate pdf consists in "coedition", that is when I work with co-publishers and I work modifying only the plate of the text (in a specific language), that stays on a separate spot black. Therefore the co-publishers ask me to generate the relative spot black pdf.
    Another solution is to put my text in a separate layer, but in this case I receveid layout files from a designer who didn't distinguish correctly art and text into different layers, so the work to separate them now, would be too long.
    However It sounds me strange that It isn't possible to output with blank pages in separate colors...
    Aulica

  • How to suppress blank pages in 11i from printer output

    Hi All,
    We were working on Oracle Reports and registering in 11i thr concurrent program and while running thr concurrent request we are getting blank pages from printer output, please let me know how to suppress blank pages as i need to get printouts without any white pages.
    Say for example if we run concurrent request and o/p is 10 pages which consists of 3 blank pages so finally we need to get printer o/p with 7 pages which are having data as i need to stop printing which are having white pages.
    Please help as this a critical scenario.....
    Regards,

    Please post the details of the application release, database version and OS.
    We were working on Oracle Reports and registering in 11i thr concurrent program and while running thr concurrent request we are getting blank pages from printer output, please let me know how to suppress blank pages as i need to get printouts without any white pages.
    Say for example if we run concurrent request and o/p is 10 pages which consists of 3 blank pages so finally we need to get printer o/p with 7 pages which are having data as i need to stop printing which are having white pages.
    Please help as this a critical scenario.....Does this happen to all concurrent requests?
    Is the issue with all printers or specific ones only?
    What if you use the lp command from the OS to print the concurrent requests output files, do you still get blank pages?
    Do you use PASTA?
    Please see these docs/links.
    How To Investigate Printing Issues and Work Towards its Resolution? [ID 297522.1]
    Oracle Applications Postscript Printing [ID 99495.1]
    Only First Line Of Concurent Output Prints And Then Blank Lines/Pages [ID 452906.1]
    Apps Reports Generate and/or Print With Incorrect Page Break Points [ID 359716.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Blank+AND+Page+AND+Print&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Blank+AND+Page&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Blank page on Internet Explorer if PDF Output 2 pages

    Hi @all,
    I have a problem with generating pdf reports over internet explorer.
    I start the internet explorer with a url that calls a perl program. This program starts the oracle report server, generates the report and writes the output of the report back to the internet explorer over application/pdf.
    This works all right when the pdf report contains more than 2 pages. But when the report is less than 2 pages I get a blank page, the acrobat reader is not startet and I get an error message after 3-4 minutes: There was a file input/output error. Timeout for the connection with the file.
    Curious is that at the moment it works also fine on my PC but not on the PC of a collegue. We have identical configurations of Acrobat Reader 5.0 and Internet Explorer 6.0.
    Can anybody help me with this problem? Why does it work with more than 2 pages and why not with less than 2 pages?

    Hi Everyone ,
    I have faced the same problem,The first if condition may not effect ,If any if condition immidiately following the for loop then it will crates the problem.
    -----------------May be your problem because of this---------------------------------
    | <?FOR LOOP ?> <?IF CONDITION?><?END FOR EACH?>|
    SOLUTION :<?FOR LOOP?><?IF @SECTION:CONDITION?>?>
    <?END FOR EACH?>|

  • Report Output in PDF using htmldb_example.xslt yields blank page; commas

    I am able to generate a PDF file from a given region using FOP (Formatting Objects Processor). The file that is produced in the Adobe reader produces a nice report with a header and footer region. However, there is always a blank page (containing the header and footer information only). Also, the report produced contains mixed data (text, dates MM-MON-RR and numbers (1.00 3.00 named Hours and Days) and totals. For certain reports, the total lines for the 2 number columns could get into the thousands (1,996.54 284.52). When the comma in the number is introduced, the total row will no longer align with the detail rows.
    I know that htmldb_example.xslt is only an example, but has anybody experienced this behavior?
    Of note, the example file "hr_employees.pdf" that is downloaded from Oracle also has a blank page.

    Code changed in htmldb_example.xslt to fix comma/number format and extra page:
    <!--Some FOP processers require a block element within a table cell to render correctly-->
    <fo:block font-size="8pt">
    <xsl:choose>
    <xsl:when test=".=translate(.,translate(.,'0123456789+-,.',''),'')">
    <xsl:attribute name="text-align">end</xsl:attribute>
    </xsl:when>
    <xsl:when test="string(number(.))='NaN'">
    <xsl:attribute name="text-align">start</xsl:attribute>
    </xsl:when>
    <xsl:otherwise>
    <xsl:attribute name="text-align">end</xsl:attribute>
    </xsl:otherwise>
    </xsl:choose>
    <xsl:value-of select="."/>
    </fo:block
    Page break code, before:
    <fo:table break-after="page" font-family="Helvetica">
    after, (no extra page):
    <fo:table font-family="Helvetica">
    <!--break-after="page" causes page break after the report ends-->

  • Blank Page in PDF output with RTF Template

    Hi, In RTF template; I am printing static text based on certain conditions optionally. I am getting a blank page at the end of the report if the static text is ending in the last 3 lines of the page. Does anyone had this issue before?

    Hello,
    Please upload the RTF file and the XML data file so we can test it and find out what is wrong there.
    You will have to zip the XML file in order to upload it.
    Bogdan

  • Query regarding displaying of a blank page on the output of an invoice

    hi All,
    I am facing a problem in both my development and staging servers. Whenever a print preview of an invoice is seen, there are 3 pages getting displayed (depending on the data) with one BLANK PAGE between 2 pages having data ie., First page has the data, second page is blank and third page has some data again.
    Now its very strange and i could not understand why this problem  is arising.
    I had debugged the invoice SAPScript, but culd not find the issue,. Can anyone please help me out in this regard.
    Regards
    Priya

    hi!
    hav u assigned the next page for ur first page as wanted.....
    or u r calling two pages explicitly by new-page then check the page assigned and check for spaces in ur program.....

  • Blank Page at the end of report(html output)

    Hi,
    I have created a paper layout report using report 10g.
    DESFORMAT for the report is html.
    when i take a print out of the report from internet explorer its printing a blank page at the end.
    I tried with BLANKPAGES=NO it didn't help me and even unchecked the Blank Pages property in Report Builder tool.
    Please help me in resolving this issue.
    Regards
    Srinivas.

    Many thanks. That works

  • Avoid Creating a Blank Page in the PDF Output for conditional request

    Hello BI Masters
    I have a Conditional request on my Last page of the data it checks the number of rows in the first page then it prints the excess rows in the last page and everything is working fine but when i use the conditional request its generating a blank page at the end of the report and i doant want to display balnk page
    My Conditinal format is like this
    <?if:number(SEC3_COUNT)>2?><?if:number(SEC4_COUNT)>2?>
    <?if:number(SEC5_COUNT)>2?><?if:number(SEC6_COUNT)>8?>
    <?initial-page-number:”1”?>
    Form FDA 1572 – Statement of Investigator Continued
    Protocol: <?SEC7_NAME?> <?SEC7_TITLE?>      
    Investigator(s): <?for-each:GET_SECTION_1_DETAILS_ROW?><?SEC1_FULL_NAME?><?end for-each?>
    <?end if?><?end if?>
    <?end if?><?end if?>
    I dont want the Balnk Page to be Displayed , Please help me out
    ~Srix

    Hi Everyone ,
    I have faced the same problem,The first if condition may not effect ,If any if condition immidiately following the for loop then it will crates the problem.
    -----------------May be your problem because of this---------------------------------
    | <?FOR LOOP ?> <?IF CONDITION?><?END FOR EACH?>|
    SOLUTION :<?FOR LOOP?><?IF @SECTION:CONDITION?>?>
    <?END FOR EACH?>|

Maybe you are looking for

  • How do I split an existing library into multiple libraries?

    I currently have ~95 GB of music and ~300 GB of movies in iTunes and I've stored all of it on an external hard drive. I'm getting a new Mac Book Pro with a 320 GB Hard Drive and I was hoping to migrate the music so it would be stored on the internal

  • Slow database startup

    I recently created a database using PFILE with only basic parameters and then I created SPFILE for the same. But whenever I gave STARTUP at cmd prompt it takes nearly 30 minutes to start the database. My system is P-4 with 1GB ram and working on Wind

  • Anyone know what the plans are for us 'can't haves...

    So my exchange was Infinity enabled well over a year ago and after the period of waiting in anticipation hopes were dashed with messages of my cabinet not being enabled etc and I aslo suspect there is something 'interesting' about my connection as th

  • T61 - DVD or CD?

    On my order form, the device is described as "Optical Device - DVD Recordable, Ultrabay Slim". On the machine, the device is labelled as "DVD-Multi CD-RW". I genuinely believed I was ordering a machine with a DVD writer on it ... does this mean I got

  • Crash on startup with 7.7.1 (11), related to iTunes Store

    I just upgraded, and iTunes crashes on start-up unless I turn Airport off first. If Airport is off when I start iTunes, I can turn the Airport on after I launch iTunes, but if I try to access the iTunes store, iTunes crashes.