PDF rendering, printing & splitting

Hi all,
I'm a newer of PDF developer. And there's a trouble with me. I wonder if anyone could help me or give me any hint. I'll aprreciate him much.
What I want to do are opening a PDF file and rendering it in my own application and sharing it with others. Development tools is VC++ 6.0, platform is windows. Funcnalities required include rendering or printing a specific page of pdf. My application should surpport WTL, independent of MFC, .netframwork. Besides, I want split a PDF file by page and send the content of each page to other application(the same with mine) to share with my opening document and keep synchronous while I turn to any page.
I'm looking forward a instruction of which technology is most fit for me? Acrobat sdk or pdflib sdk? It's better if my application dosen't depend on Acrobat installation on client's computer. I thinks only a few functions needed to meet my requirment and a few pieces of codes can resolve my problem. Is it right?
Best regards.
Jack.lin
MSN:[email protected]
Hangzhou, China.

If you wish a solution that does not require Acrobat being installed, that would be the Adobe PDFLibrary. Contact Datalogics (
) for licensing information.
Leonard

Similar Messages

  • Report Rendering (Print & PDF) trashes report that looks fine on screen

    Since installing SQL Server 2012 SP2 CU3 (11.0.5556) a number of reports look fine on screen but when printed or exported to PDF the format is totally altered so that either many blank lines are inserted between lines, or lines are squashed together. It
    doesn't affect all reports. Reports (both affected and not affected) use Tablix with both Row Groups and Column Groups. There is no obvious consistency between those reports that are affected.
    All of our SQL Server instances are hosted on VM-Ware virtual servers.
    I've raised the issue via Microsoft Connect: https://connect.microsoft.com/SQLServer/feedback/details/1063641/report-rendering-print-pdf-trashes-report-that-looks-fine-on-screen
    Any thoughts or workarounds? Is this a bug?
    Thanks!

    Hi nsam,
    We installed the sqlserver 2012 sp2 cu3 in our lab, but unfortunately the issue cannot be duplicated, so I provided the following options for your reference.
    1),Please help to provide a way with detail steps to duplicate the issue.
    2),If you don't know how to duplicate the issue, please try to remove the sqlserver 2012 sp2 cu3 update by the following steps to see if the issue can be fixed.
    In Control Panel, open the Add or Remove Programs item.
    2. Click Change or Remove Programs .
    3. To see all the updates for the SQL Server 2012 installation, click to select the Show Updates check box.
    4.Uninstall the cumulative hotfix package.
    3,)Please visit this link to see the various support options that are available to better meet your needs: 
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone

  • PDF-Rendering is very slow

    Hi,
    on our local test-environment with CF 8.01 we have no problem to create a pdf with cfdocument-tag.
    <cfdocument format="pdf"
                    encryption = "128-bit"
                    permissions="AllowCopy,AllowPrinting"
                    unit="cm"
                    scale="100"
                    backgroundVisible="yes"
                    marginleft="1"
                    marginright="1"
                    filename="#url.pk_id#.pdf"
                    pageType="A4">
              <cfdocumentitem type="header">
              ... content of the pdf
    </cfdocument>
    but our productive-server (the same CF-version as the local testserver) is working very slow, and when I say slow I mean minutes not a view seconds more.
    I have no idea where this discrepance is comming from, especially as we could observe the pdf-rendering on fusion-reactor witch makes it rather improbable that - as we first thought - our firewall is slowing down the process.
    does anyone out there has an idea where the problem could be located or had someone in this forum experienced a simular pdf-pitfall?
    thanks for yout efforts.

    Hi Guys I work with a lot of pdf files with being a student at uni and not sure these tips might help. 
    Try an app called skim which is free it handles pdfs nicely and looks similar to the preview app. 
    Also if a pdf is slow to scroll try selecting all the pages goto file print.  Then on the bottom left hand side of the print window select pdf and then save as pdf.  I have found on some pdfs (usually the ones in black and white and look like a photo copy) using the the print save as pdf option has then allowed me to view a pdf fine in the preview app without any issues.  Hope this is useful.
    I suspect its to do with pixels per inch or dots per inch of the document.

  • Export to PDF vs. printing

    In my file I am going to set it up for both online PDF usage and as a printable book.  Here are the questions and I am using CS4.
    In my InDesign file I am using a blue color to denote an internal link, i.e.: My link to My link text anchor.  This is for the PDF.
    Meanwhile, if I go to print the book I do not want the internal links to show in color.
    It would also be nice if when the online PDF is printed if the blue colors would revert to the standard black.
    For the destination on page 13 I used a text anchor destination.  Meanwhile on page 4 I used a source.  Can I have them linkable forward and backward?  How would I go about accomplising that?
    Taking this further, I plan on having different files, Chapter 1, Chapter 2, etc.  What is the routine for having a link in one file point to a link in another file?  My experience has taught me that it is better to have books split up into different chapters.
    Can all this be done?
    Cordially,
    A. Wayne Webb

    Lets start with the chapters. I can't say about hyperlinks, but inter-file cross-refernces, which are quite similar are very prone to breakage, so the standard advice is to keep the whole book in one file if you need to use cross-references. For safety, save often, and save backup versions.
    If you use a SPOT color for your link colors you can use the Ink Manager to alias it to Black (or any other color). This means you can export one PDF in color for the web, and then export a second PDF for print, which you'll want to do anyway since print requires higher resolution, and during the export you can go to the Ink Manager and change your spot blue to black.
    You cannot specify that colored text in the PDF will print as black, but your users probably can. Most printer drivers have a "Text as Black" option and Acrobat and Reader have a Print Color As Black option, but that's global, not just text.
    Since I don't use hyperlinks in my work at all, and seldom use cross-refs, I'll leave your forward/backward link question for someone else.

  • Exported pdf images print very dark

    I bought a new color laser printer a Samsung clp-610nd. Samsung support has been awful. The pdf I am trying to print has image, jpgs from photoshop. I use a Macbook Pro. The pdf text prints great, the images are very dark. I can print the pdf on a deskjet and the images are accurate. I am sure this is a color issue but I dont know what I am doing wrong. Any thoughts on where to start?  If I print straight from indesign, the images are also dark. I just dont know enough color profiles to figure this out.

    Stix Hart wrote:
    As you've proved yourself this is a printer problem, not Indesign...
    Ah, but which printer?
    Without a calibrated and profiled monitor there's no way to know if the image is displaying correctly, and consequently of knowing if either printer is rendering correctly.
    Make sure you aren't managing color twice. Either your application or the printer should be using color management, but not both. I prefer to let the application do it if it can.
    You can play with profiles until you are blue in the face, but it will be shooting blind unless you calibrate the monitor first, and it will be even better if you get custom profiles for the printers. The odds are equally good that your inkjet prints light as that the laser prints dark. Most laser drivers also include density adjustments that allow you to print darker or lighter.
    Peter

  • Color PDFs only print in Greyscale

    I'm having trouble getting colour PDFs to print correctly. No matter what printer settings I use I only get a greyscale rendering on the printer. It looks fine on screen. Other apps print in color on the printer OK. I'm not sure when this problem occurred, it worked OK with previous versions of Adobe Reader up to about 3 months ago.
    System here is: Windows XP SP3, Adobe Reader 11.0.3, Canon MG3150 Inkjet multifunction device.

    No, I made sure that all boxes for grayscale were unchecked. Checked or unchecked it prints the same.

  • PDF renderer for next release please

    I would like to add to the
    discussion
    on the old labs forum.
    AIR would be hugely more useful to me if it could display a
    pdf natively. This would mean bundling a basic pdf renderer with
    AIR. This needn't add much to the AIR runtime (e.g. FoxIt reader is
    only 2mb).
    As mentioned in the linked discussion, AIR could check for
    the presence of Adobe Reader x.x and / or full Acrobat and then
    make use of them if required. But the ability to simply display
    (and hence print) pdf's without launching an additional application
    and without worrying about what the user might have installed on
    various OS's would IMHO make AIR a more wonderful thing!
    Here's hoping..

    The release notes state that you can display a pdf natively,
    ONLY if the client has the most current 8.1 reader. Unfortunately,
    I have not yet found a method for doing this, despite having the
    most current reader...
    Regardless, I second this proposal, and I do not understand
    why Adobe would essentially leave one of the core products of AIR
    out of the 1.0 release. I would have assumed that the first alpha
    would have been able to not only render a pdf to the display, but
    also write a pdf out to the client machine. Understandably, this
    may be easier said than done, but should have been done before a
    1.0 release.
    Also, I do not understand why 2/3 of the release notes are
    known issues many of which should have been taken care of prior to
    release. I do not understand why anyone would knowingly release a
    buggy product.

  • Convert a web report into pdf and print (in BW 3.5)

    Hello gurus,
    i have few web reports ( created using WAD). i am looking for a possibility to convert a web report (viewed in a browser by a user) into pdf and print them and this should be done by pressing a button.
    Is it possible in BW 3.5 version?.
    could anyone please help me?
    Any how to docs. would be really helpful.
    thanks and regards
    kumar

    Here it is
    <HTML>
    <!-- BW data source object tags -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_1"/>
             <param name="DATA_PROVIDER_ID" value=""/>
             DATA_PROVIDER:             DATAPROVIDER_1
    </object>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value="ZPD_ADHOC_PAGE"/>
             <param name="MENU_BACK" value=""/>
             <param name="MENU_BACK_TO_START" value=""/>
             <param name="SUPPRESS_WARNINGS" value="X"/>
             <param name="MENU_FILTER" value=""/>
             <param name="MENU_FILTER_ON_AXIS" value=""/>
             <param name="MENU_SELECT_FILTER" value=""/>
             <param name="MENU_FILTER_ON_AXIS_CHART" value=""/>
             <param name="MENU_FILTER_CHART" value=""/>
             <param name="MENU_FILTER_DRILL_DOWN" value=""/>
             <param name="MENU_DRILL_UP_GIS" value=""/>
             <param name="MENU_DRILL_DOWN" value=""/>
             <param name="MENU_EXCHANGE_OBJECTS" value=""/>
             <param name="MENU_REMOVE_DRILL_DOWN" value=""/>
             <param name="MENU_SWITCH_AXIS" value=""/>
             <param name="MENU_HIERARCHY_NODE_DRILL" value=""/>
             <param name="MENU_HIERARCHY_DRILL" value=""/>
             <param name="MENU_HIERARCHY_STATE" value=""/>
             <param name="MENU_SORT" value=""/>
             <param name="MENU_CALCULATE_RESULT" value=""/>
             <param name="MENU_CALCULATE_VALUE" value=""/>
             <param name="MENU_CUMULATE_VALUE" value=""/>
             <param name="MENU_DISPLAY_DOCUMENTS" value=""/>
             <param name="MENU_DOCUMENT_CREATE" value=""/>
             <param name="MENU_DISPLAY_DOCUMENT_PROP" value=""/>
             <param name="MENU_DISPLAY_DOCUMENT_SELEC" value=""/>
             <param name="MENU_RRI" value=""/>
             <param name="MENU_EXPORT_TO_CSV" value=""/>
             <param name="MENU_EXPORT_TO_XLS" value=""/>
             <param name="MENU_BOOKMARK" value=""/>
             <param name="MENU_CHARACTERISTIC_PROPERTIES" value=""/>
             <param name="MENU_VALUE_PROPERTIES" value=""/>
             <param name="MENU_QUERY_PROPERTIES" value=""/>
             <param name="MENU_VARIABLE_SCREEN" value=""/>
             <param name="MENU_CURRENCY_CONVERSION" value=""/>
             <param name="MENU_ENHANCED" value=""/>
             TEMPLATE PROPERTIES
    </object>
    <HEAD>
    <META NAME="GENERATOR" Content="Microsoft DHTML Editing Control">
    <TITLE>SAP BW Reporting Print Page</TITLE>
    <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
    <script type"text/javascript">
    <!--
    //   Global Variable Definition
    var dataTable = "";
    var pageRowCnt = 0;
    var prevPage = 0;
    var ColumnCnt = 0;
    var PrintDateTimeStamp = new Date();
    var rptWidth = 0;
    //DATE STAMP FUNCTION
    function datestamp(){
               var Today = new Date()
               document.write(Today);
    function getReportTitle() {
                    var myQueryString = window.location.search;
                    var startOfRptTitle = myQueryString.indexOf("QTITLE=");
                    if (startOfRptTitle != -1)
                         var endOfRptTitle = myQueryString.indexOf("&", startOfRptTitle + 7);
                         var myTitle = unescape(myQueryString.substring(startOfRptTitle + 7, endOfRptTitle));
                         var rpttitle = "";
                         for(i=0;i<myTitle.length;i++){
                             if (myTitle.substring(i,i+1) == "+"){
                                 rpttitle = rpttitle + ' ';
                             else
                                 rpttitle = rpttitle + (myTitle.substring(i,i+1));
                    else
                         var rpttitle =  "Unspecified Query Title";
                    return rpttitle;
    queryTitle=getReportTitle();
    function getHeading2() {
                    var myQueryString = window.location.search;
                    var startOfHdr2 = myQueryString.indexOf("HDR2=");
                    if (startOfHdr2 != -1)
                         var endOfHdr2 = myQueryString.indexOf("&", startOfHdr2 + 5);
                         var myHdr2 = unescape(myQueryString.substring(startOfHdr2 + 5, endOfHdr2));
                         var hdr2 = "";
                         for(i=0;i<myHdr2.length;i++){
                             if (myHdr2.substring(i,i+1) == "+"){
                                 hdr2 = hdr2 + ' ';
                             else
                                 hdr2 = hdr2 + (myHdr2.substring(i,i+1));
                    else
                         var hdr2 =  "#";
                    return hdr2;
    header2=getHeading2();
    function getHeading3() {
                    var myQueryString = window.location.search;
                    var startOfHdr3 = myQueryString.indexOf("HDR3=");
                    if (startOfHdr3 != -1)
                         var endOfHdr3 = myQueryString.indexOf("&", startOfHdr3 + 5);
                         var myHdr3 = unescape(myQueryString.substring(startOfHdr3 + 5, endOfHdr3));
                         var hdr3 = "";
                         for(i=0;i<myHdr3.length;i++){
                             if (myHdr3.substring(i,i+1) == "+"){
                                 hdr3 = hdr3 + ' ';
                             else
                                 hdr3 = hdr3 + (myHdr3.substring(i,i+1));
                    else
                         var hdr3 =  "#";
                    return hdr3;
    header3=getHeading3();
    function getAsOfDate() {
                    var myQueryString = window.location.search;
                    var startOfRelevance = myQueryString.indexOf("ASOFDATE=");
                    if (startOfRelevance != -1)
                         var endOfRelevance = myQueryString.indexOf("&", startOfRelevance + 9);
                         var myRelevance = unescape(myQueryString.substring(startOfRelevance + 9, endOfRelevance));
                         var asof = "";
                         for(i=0;i<myRelevance.length;i++){
                             if (myRelevance.substring(i,i+1) == "+"){
                                 asof = asof + ' ';
                             else
                                 asof = asof + (myRelevance.substring(i,i+1));
                    else
                         var asof =  "";
                    return asof;
    asofDateTime=getAsOfDate();
    function getPaperSize() {
                    var myQueryString = window.location.search;
                    var startOfPaperSize = myQueryString.indexOf("PSIZE=");
                    if (startOfPaperSize != -1)
                         var endOfPaperSize = myQueryString.indexOf("&", startOfPaperSize + 6);
                         var myPaperSize = unescape(myQueryString.substring(startOfPaperSize + 6, endOfPaperSize));
                         var psize = "";
                         for(i=0;i<myPaperSize.length;i++){
                                 psize = psize + (myPaperSize.substring(i,i+1));
                    else
                         var psize =  "0";    // default if none supplied  (normal 8x11)
                    return psize;
    varPaperSize=getPaperSize();
    var PaperSizeParamString='&PSIZE=' + escape(varPaperSize);
       switch(varPaperSize){
            case "0":    // Landscape - Letter
                           var WidthMax = 910;
                           var RowsPerPageMax = 38;
                           break;
            case "1":    // Landscape - Legal
                           var WidthMax = 1190;
                           var RowsPerPageMax = 38;
                           break;
            case "2":    // Portrait - Letter
                           var WidthMax = 660;
                           var RowsPerPageMax = 54;
                           break;
    function getTotalColumns() {
       var myHTML = dataTable.rows[1].innerHTML;
       var TotalTDs = 0;
       var nextTD = 0;
       for (i=0;i<myHTML.length;i++) {
           nextTD =  myHTML.indexOf("<TD", i);
           if (nextTD != -1) {
              i=nextTD;
              TotalTDs++;
           else break;
       return TotalTDs;
    function GetPageHeadings() {
       var headingHTM = "";
       var leftspancnt = 0;
       var rightspancnt = 0;
       var headingspancnt = 2;
       if (header2 != '#') headingspancnt = headingspancnt + 1;   // adjust for extra headings
       if (header3 != '#') headingspancnt = headingspancnt + 1;  
       if (currPage > 1) {
          headingHTM += '<TR style="page-break-before:always; display:none; visibility:hidden; "><TD Colspan="' + ColumnCnt + '"></td></tr>';
       else {
          headingHTM += '<TABLE  id="THEREPORT" name="MYREPORT" cellSpacing=0 cellPadding=0 width=' + WidthMax + ' border=0>';
       if (ColumnCnt == 1) {
          headingHTM += '<TR><TD vAlign=top align=left nowrap><font Size=3><STRONG>';
          headingHTM += queryTitle;
          headingHTM += '</STRONG></font></TD><TD Rowspan="' + headingspancnt + '" align="right" vAlign="top"><input type="image" border="0" name="SAPLogo" src="/sap/bw/Mime/Customer/Images/images.jpg" alt="SAP Logo"></TD></TR>';
          if (header2 != '#') headingHTM += '<TR><TD vAlign="top" align="left"><FONT Size=1>' + header2 + '</FONT></TD></TR>';
          if (header3 != '#') headingHTM += '<TR><TD vAlign="top" align="left"><FONT Size=1>' + header3 + '</FONT></TD></TR>';
          headingHTM += '<TR><TD vAlign="top" align="left"><FONT Size=1>' + asofDateTime + '</FONT></TD></TR>';
          headingHTM += '<TR><TD vAlign="top" align="left" Colspan="2"><hr size=2 color=black align=left></TD></TR>';
          headingHTM += '<tr>' + dataTable.rows[0].innerHTML + '<TD> </TD></TR>';
       else {
          leftspancnt = Math.floor(ColumnCnt/2);
          rightspancnt = ColumnCnt - leftspancnt;
          headingHTM += '<TR><TD vAlign=top align=left nowrap Colspan="' + leftspancnt + '"><font Size=3><STRONG>';
          headingHTM += queryTitle;
          headingHTM += '</STRONG></font></TD><TD Rowspan="' + headingspancnt + '" Colspan="' + rightspancnt  + '" align="right" vAlign="top"><input type="image" border="0" name="SAPLogo" src="/sap/bw/Mime/Customer/Images/images.jpg" alt="SAP Logo"></TD></TR>';
          if (header2 != '#') headingHTM += '<TR><TD vAlign="top" align="left" Colspan="' + leftspancnt + '"><FONT Size=1>' + header2 + '</FONT></TD></TR>';
          if (header3 != '#') headingHTM += '<TR><TD vAlign="top" align="left" Colspan="' + leftspancnt + '"><FONT Size=1>' + header3 + '</FONT></TD></TR>';
          headingHTM += '<TR><TD vAlign="top" align="left" Colspan="' + leftspancnt + '"><FONT Size=1>' + asofDateTime + '</FONT></TD></TR>';
          headingHTM += '<TR><TD vAlign="top" align="left" Colspan="' + ColumnCnt + '"><hr size=2 color=black align=left></TD></TR>';
          headingHTM += '<tr>' + dataTable.rows[0].innerHTML + '</TR>';
       return headingHTM;
    function GetPageFooting() {
       var footingHTM = "";
       var leftspancnt = 0;
       var rightspancnt = 0;
       if (ColumnCnt == 1) {
          footingHTM += '<TR><TD vAlign="top" align="left" Colspan="2"><hr size=2 color=black align=left></TD></TR>';
          footingHTM += '<TR><TD vAlign="top" align="left" nowrap><FONT Size=1>Prepared: ';
          footingHTM += PrintDateTimeStamp;
          footingHTM += '</FONT></TD><TD vAlign="top" align="right"><FONT Size=1>';
          footingHTM = footingHTM + 'Page ' + currPage.toString() + ' of ' + varPageTotal.toString();
          footingHTM += '</FONT></TD></TR>';
       else {
          leftspancnt = Math.floor(ColumnCnt/2);
          rightspancnt = ColumnCnt - leftspancnt;
          footingHTM += '<TR><TD vAlign="top" align="left" Colspan="' + ColumnCnt + '"><hr size=2 color=black align=left></TD></TR>';
          footingHTM += '<TR><TD vAlign="top" align="left" nowrap Colspan="' + leftspancnt + '"><FONT Size=1>Prepared: ';
          footingHTM += PrintDateTimeStamp;
          footingHTM += '</FONT></TD><TD vAlign="top" align="right" Colspan="' + rightspancnt + '"><FONT Size=1>';
          footingHTM = footingHTM + 'Page ' + currPage.toString() + ' of ' + varPageTotal.toString();
          footingHTM += '</FONT></TD></TR>';
       return footingHTM;
    function GetReportFooting() {
       var footingHTM = "";
       footingHTM += '</TABLE>';
       return footingHTM;
    function formatToPrint() {
       var PrintHTM = "";
       PrintHTM += GetPageHeadings();
       if (ColumnCnt != 1) {
          for (var i=1;i<dataTable.rows.length;i++) {
               (currPage > prevPage)?prevPage=currPage:"";  //increment current page count
               if ((pageRowCnt + 1)>RowsPerPageMax){
                   PrintHTM += GetPageFooting();
                   pageRowCnt = 0;
                   currPage++;
               if (prevPage != currPage) {
                   PrintHTM += GetPageHeadings();
               else
                   PrintHTM += '<tr>' + dataTable.rows<i>.innerHTML + '</tr>';
                   pageRowCnt++;
       PrintHTM += GetPageFooting();       
       PrintHTM += GetReportFooting();
       return PrintHTM;
    function DisplayPrintNotice() {
    // Paper Size "0" is Letter with Landscape
    // Paper Size "1" is Legal with Landscape
    // Paper Size "2" is Letter with Portrait
    if (varPaperSize == "0") {var varMessage ="nn From your browser File Menu, select Page Setup and do the following: nn 1) Adjust the Printer Orientation to Landscape n 2) select Print menu, then select the Print button.";}
    if (varPaperSize == "1") {var varMessage ="nn From your browser File Menu, select Page Setup and do the following: nn 1) Adjust the Paper Size to Legal n 2) Adjust the Printer Orientation to Landscape n 3) select Print menu, then select the Print button.";}
    //if (varPaperSize == "2") {var varMessage ="nn From your browser File Menu, select Page Setup and do the following: nn 1) Adjust the Paper Size to Letter n 2) Adjust the Paper Source (if necessary) n 3) Adjust the Orientation to Portrait (default) n 4) Select the Okay button nn Again select the File Menu, select Print, then select the Print button.";}
    alert(varMessage);
    //window.print()
    /*   SAP BW Reporting Stylesheet Revisions        */        
    function writeStyleRevisions() {
    function writeDynamicFontRevisions(dynafont) {
    //Writes the Dynamic Stylesheet
    -->
    </script>
    </HEAD>
    <BODY>
    <TABLE  id="tp1" cellSpacing=0 cellPadding=0 width=660 border=0 >
        <TR>
        <TD vAlign=top align=left nowrap>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="MYQUERY"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="WIDTH" value="660"/>
             <param name="BORDER_STYLE" value="NO_BORDER"/>
             <param name="SUPPRESS_REPETITION_TEXTS" value=""/>
             <param name="BLOCK_SIZE" value="3500"/>
             <param name="SHOW_PAGING_AREA_TOP" value="X"/>
             <param name="TARGET_DATA_PROVIDER_1" value="DATAPROVIDER_1"/>
             ITEM:            MYQUERY
    </object>
        </TD>
      </TR>
    </TABLE>
    <SCRIPT type="text/javascript">
    <!--
            var tbls = document.body.getElementsByTagName("TABLE");
            for (var i=0;i<tbls.length;i++) {
                  if (tbls<i>.name == "MYQUERY"){
                        var dataTable = tbls<i>;
                        break;
            document.title = queryTitle;
            rptWidth = dataTable.clientWidth;
            rptHeight = dataTable.clientHeight;
            originalRptWidth = rptWidth;
            originalRptHeight = rptHeight;
            originalRowHeight = Math.floor(rptHeight/(dataTable.rows.length+1));
            rptPageHeightMax = 580;                                                                                //660 less basic header and footer of 80
            if (header2 != '#') rptPageHeightMax = rptPageHeightMax - 20;   // adjust for extra headings
            if (header3 != '#') rptPageHeightMax = rptPageHeightMax - 20;  
            if (dataTable.rows.length == 1) {
                ColumnCnt = 1;                //No Applicable Data found message
            else {
                ColumnCnt = getTotalColumns();
            startingFont = 65;
            varFontSize = startingFont;
            if (rptWidth > WidthMax) {
                while ((rptWidth > WidthMax) && (varFontSize > 15))
                    writeDynamicFontRevisions(varFontSize);
                    rptWidth = dataTable.clientWidth;
                    rptHeight = dataTable.clientHeight;
                    varFontSize = varFontSize - 5;
                // calculate max rows per page
                rowHeight = Math.floor(rptHeight/(dataTable.rows.length+1)) + 1;        // add 1 for 2 row heading, add 1 for padding
                RowsPerPageMax = Math.floor(rptPageHeightMax/rowHeight) - 2;   // adjust for column headings
            if (dataTable.rows.length == 1) {
                varPageTotal = 1;                //No Applicable Data found message
            else {
                totalRows = dataTable.rows.length-1;                                       // total rows less headings
                varPageTotal = Math.floor(totalRows/RowsPerPageMax);       // compute total pages
                if (totalRows != (varPageTotal * RowsPerPageMax)) {
                    varPageTotal = varPageTotal + 1;                                        // if not a complete last page, add 1 for partial page
            currPage = 1;
            document.write(formatToPrint());
            document.all.tp1.style.display = "none";
            document.all.tp1.style.visibility = "hidden";
    //        DisplayPrintNotice();
    -->
    </SCRIPT>
    <STYLE>
    input.ie55   { display: none }
    </STYLE>
    <!-- special style sheet for printing -->
    <STYLE media=print>
    .noprint     { display: none }
    </STYLE>
    <script defer>
    function window.onload() {
        if (!factory.object) {
            return
        else {
    //     factory.printing.header = "SAP"
    //     factory.printing.footer = "SAP"
            if ( varPaperSize == "2" ) { factory.printing.portrait = true; }
            else { factory.printing.portrait = false; }
            factory.printing.Print(true);
            // enable control buttons
      /*  var templateSupported = factory.printing.IsTemplateSupported();
           var controls = idControls.all.tags("input");
           for ( i = 0; i < controls.length; i++ ) {
               controls<i>.disabled = false;
               if ( templateSupported && controls<i>.className == "ie55" )
                  controls<i>.style.display = "inline";
    </script>
    <P>
    <div id=idControls class="noprint" style="VISIBILITY: hidden">
    <input disabled type="button" value="Print this page"
    onclick="factory.printing.Print(true)">
    <input disabled type="button" value="Page Setup..."
    onclick="factory.printing.PageSetup()">
    <input class=ie55 disabled type="button" value="Print Preview..."
    onclick="factory.printing.Preview()">
    <input class=ie55 disabled type="button" value="Landscape"
    onclick="factory.printing.portrait=false">
    <input class=ie55 disabled type="button" value="Portrait"
    onclick="factory.printing.portrait=true">
    </div>
    </BODY>
    </HTML>

  • PDF and Print Control in Reports.

    Dear All,
    I want to set particular format for every report in PDF and Print control option like want to place client's logo in header and page number and date in fotter , how can i achive this,is there any way we can set it globally coz doing on every report is very time consuming.
    Regards,
    Tarang Jain

    You need Firebug....to know how your Dashboard works!!!!!!
    Check these 2 blogs and play.....
    http://oraclebizint.wordpress.com/2008/01/03/oracle-bi-ee-101332-customizing-download-links/
    http://oraclebizint.wordpress.com/2007/10/26/oracle-bi-ee-101332-styles-and-skins-firebug-to-your-rescue/
    i hope i helped....
    http://greekoraclebi.blogspot.com/
    Close the question.....and add a new thread...
    Give if you wish the appropriate points...

  • My iMac is connected to a Brother printer. I have Snow Leopard 10.7.3 As of yesterday, when I try to print a PDF it prints as a blank black page. Does anyone know how to correct this so that the PDF will print as I see it on screen?

    My iMac is connected to a Brother printer. I have Snow Leopard 10.7.3 As of yesterday, when I try to print a PDF it prints as a blank black page. Does anyone know how to correct this so that the PDF will print as I see it on screen?

    If you are running Mac OS X 10.7.3 then you have Lion installed, not Snow Leopard. It's probably not important to this discussion, but something you should be aware of.
    What application are you printing the PDF files from? Have you tried opening the PDF file using the Preview application that can be found in the Applications folder? Does the issue still occur? Have you tried other PDF files from a different source?
    Another poster in the following discussion thread reported that this method resolved their black blank PDF issue when viewing (and presumably printing) PDF files from Safari.
    https://discussions.apple.com/thread/3890509?start=0&tstart=0
    This solved my question by mcbuffy  on Apr 20, 2012 11:29 AM 
    There's a solution if you want to see the PDF inside Safari's window :
    Go to the folder : Your Hard Drive / Library / Internet Plug-ins.
    If you see a file with PDF in its name drag it to the trash.
    Quit and restart Safari to test with a PDF.
    If it works you can empty the trash.

  • Error message in Adobe Pdf in printer device panel when trying to create a pdf document.  I have CS3

    Error message in Adobe Pdf in printer device panel when trying to create a pdf document.  I have CS3 Web Premium with Acrobat Professional 8.  I use it fine on my old computer with Windows XP.  I recently got a new laptop with Windows 7.  I installed all my Adobe programs, and I think they are working.  When I look at Adobe PDF in the device section of the Control Panel it looks okay.  But when I try to print a Word, Photoshop, or HTML page in PDF, nothing happens.  I have tried printing both as File>print and using the PDF tab on the top menu bar.  I look at the device in the control panel and it has the yellow error warning symbol and suggests trying to troubleshoot.  I look at the document list and it says status "error".  When I try troubleshooting Windows suggests doing some Home Sharing and also suggests canceling the document I'm trying to print.  I tried re-installing just Acrobat 8 from CS3 (and have to use Photoshop CS4 disk for shared documents I guess).  I ran into a can't locate adobepdf_dll file, so did a web search on this issue and found a suggestion that I find and use the adobepdf_dll_64 file and may have to (I did have to) remove the "_64" for it to work.  I think I successfully reinstalled using that dll file- no errors came up anyway.  But still when I try printing/converting a photoshop, webpage, or word document into pdf, the pdf device in control panel still gives the error status on the document and gives the same troubleshooting advice.  Help?

    I just compared the properties between the two computers.  On the old computer it has the port as "My Documents/*.pdf".  On my new computer it lists the port as "LPT1".  I tried changing the port to "Print as File", but when I try printing a photoshop picture as pdf, I get a "Access Denied".  I then tried to create a new port on the device control panel.  I tried to create a local port "My Documents/*.pdf" port but was denied.  I ten tried to create a new port type and control panel asked for an INF file.  I wonder if this is where my problem lies.  Thoughts?

  • How can I retain hyperlinks while saving a webpage as PDF via Print?

    How can I retain hyperlinks while saving a webpage as PDF via Print?
    This is the title of an apple forum question, and it is a bug in both Safari 5.1.3 and under, and I find it to also occur in Firefox browser (at least 9.* 10.*, 11.0), running on Lion OS (10.7.2, 10.7.3). See:
    https://discussions.apple.com/thread/3212301?start=0&tstart=0
    Under the newer Mac OS mentioned, and Firefox 10.2, 11.0, 9.*, if I select:
    File -> Print -> PDF -> Open PDF in Preview"
    (and view / save the PDF in Preview, you will see none of the links in the original web page are active
    or using
    File -> Print -> PDF -> Save as PDF...
    same problem. Try this using any Wikipedia page, for example.
    When this problem was posed in Apple forums, by a user of the Safari browser, it was found to be a bug (since Aug 2011) fixed in a Safari browser build 5.1.4 circa Jan 2012. I tried the newer Safari browser and sure enough the problem went away (except that links embedded in the PDF no longer appeared as blue text - ARGH - but "hover over" with the cursor showed the link and clicking the link in Preview viewer activated the link in a browser window).
    So I post this to the Mozilla community, please fix this 'cause I don't want to have to switch over to Safari browser every time I want to archive a PDF with active links!!!!
    P.S. I did a spot-check and with the newer add-on Enjoy Reading 1.0.1 and FF11.0. When the Enjoy reading formatted version appears in the browser window, all URLs/links are preserved and highlighted in blue, but when I print that browser window as PDF, the links are dead (don't work) even though they appear in blue in the PDF.
    So, what's going on, can the Safari fix be researched and applied to FF?
    Also, on some forums, people are responding, Well, try installing Acrobat reader. Well, I don't want to, Preview reader has worked fine for me for years.

    Thanks jscher2000.
    RE: -- '''Generally speaking, PDF converters that work by intercepting a print job do not have access to the URLs behind links in the page.''' --
    I cannot say I agree. I could email you a PDF clipping or two (generated from Safari on Mac OS, in its native capability with no add-ons) that shows you otherwise. When I used PC platforms I did have to install PDF converters (tried both free and expensive ones) that did what I describe.
    I cannot try the add-on you mention, '''Print Pages to Pdf.''' in Firefox. It shows in my browser and Mac OS platform "Not available for your platform." So I am guessing it was written for the PC version of Firefox.
    The Mac OS has had a native PDF-creation functionality for as many years as I have been using it; I used PC prior to that, Win3.1 through XP and NT. And on my PC, I bought (and at work, my employer bought $$$, I had to justify three levels up to management the ability to create PDFs on my work PC) some Adobe functionality to CREATE pdf's (readin's free and easy, makin' em's costly on the PC).
    I've gone and dug through some of my (Mac) doc and clipping archives, and I find that stuff I created after about Dec 2008 or so seems to eliminate all link functionality. When viewed in the Apple native "Preview" application (sort of Apple's equivalent to Adobe Acrobat reader, ships with the OS): link tags are highlighted/tinted, clicking a link opens a (default) browser and takes you there; hover-over the tag text shows the actual link. (Of course, not all old links are still VALID or point to the desired source.)
    I could, in Safari or FF browser window and with no add-ons or Adobe paid products whatsoever, use the native OS method to create PDF's from any application (word processor, spreadsheet, browser, etc) via the menu File -> Print -> Save as PDF menu and create a PDF that had active hyperlinks. In Apple OS Lion 10.7.3, I still can't when it uses this broken WebKit interface, links are "dead" as a doornail until a fix is distributed in WebKit for a future Lion release. It seems this functionality died at least as far back as Leopard OS 10.6.8, but don't quote me on that. Also, my version of Pages 2009 version 4.1(923) (sorta like Word) STILL creates a PDF document that preserves (1) text hyper-links within the document, and (2) web links (in the PDF) that open the browser. I just made a test document.
    When all you can see in the PDF is the tag text, there is nothing to copy-paste to follow any link. Also, hypertext links are often used by authors to create links to other points in a document: now even *that* is broken in the PDF version of the documents I retrieve from the web and print from FireFox (Broken in Safari 5.1.3 and earlier but fixed in 5.1.4).
    Try this on the PC, in your browser and print a news clipping as PDF, do the links in the PDF work? What products do this, and what don't? I would bet the machine with a full Adobe suite this will work flawlessly. (Why should a PC user have to pay hundreds of $ to create this functionality in what I thought was an open standard (PDF)? But that's talkin' religion, let's not start that.)
    Some folks might say,
    go online and find the original source doc in your browser. Or,
    go and add those links manually using the Preview edit add-link capability (hunh? no thanks) , or
    save each item worth saving as an HTML archive instead of a PDF (argh, creating a whole directory in the process, I might add, including ads). Or,
    who needs PDFs, everything is online.
    Or, buy some Adobe product.
    I think they miss my point. This is a real strange dumbing-down of archival PDF documents, or at least a destruction of the ability to use PDF as an archive that retains its links and references.
    C.F. the guy who has archives of scientific papers, and the old material all cross-references nicely but after date X there are no working links.

  • How do I get a PDF document put into an attachment form that I can drag to an e-mail.  Usually I get an icon showing an spiral note book which then becomes an attachment when I drag it to the e-mail, but occasionally it stays in PDF and prints out on the

    How do I get a PDF document put into an attachment form that I can drag to an e-mail.  Usually I get an icon showing an spiral note book which then becomes an attachment when I drag it to the e-mail, but occasionally it stays in PDF and prints out on the e-mail.  What have I done differently?

    Thanks again for the detailed instructions Srini!
    And I really hate to be a pest . . . but . . .
    Using your example and not modifying it, I get the e-mail form filled out correctly and the pdf attached, however, I'm not prompted to sign it.
    Any more clues?

  • Can't print .indd booklet to PDF; opens print utility instead of Acrobat

    Thanks in advance for any help you can lend.
    I have a 16 page .indd document that I'm trying to export via "print booklet", using Adobe PDF 9.0 as my printer. Every time I try to print as a PDF, it goes through the process of compiling the images, loading fonts, etc., but then my printer utility opens (obviously giving an error) instead of Acrobat. When I just choose export as PDF I have no issues whatsoever; Acrobat opens and it saves properly. I need the document, though, in a saddle stitch imposed format for the printer.
    I'm on Mac OSX Lion 10.7.2
    Acrobat X version 10.1.3
    Adobe InDesign CS5.5
    The setting summary of the print dialogue is as follows:
    Print Preset: [Custom]
    Printer: Adobe PDF 9.0
    PPD: Adobe PDF 9.0
    PPD File: /var/folders/74/_l7wb86j7plcvb5kz2hwgmh00000gn/T//4f9757064d509
    Print Booklet
        Booklet Type: 2-up Saddle Stitch
        Auto Adjust Margins: On
        Top Margin: 0.2917 in
        Bottom Margin: 0.2917 in
        Left Margin: 0.2917 in
        Right Margin: 0.2917 in
        Space Between Pages: N/A
        Creep: 0 in
        Bleed Between Pages: N/A
        Signature Size: N/A
        Print Blank Printer Spreads: On
    General
        Copies: 1
        Collate: Off
        Reverse Order: Off
        Pages: All
        Sequence: All Pages
        Spreads: Off
        Print Master Pages: Off
        Print Layers: Visible & Printable Layers
        Print Non-printing Objects: Off
        Print Blank Pages: Off
        Print Visible Guides and Baseline Grids: Off
    Setup
        Paper Size: Tabloid Oversize
        Paper Width: 12 in
        Paper Height: 18 in
        Page Orientation: Landscape
        Paper Offset: 0 in
        Paper Gap: 0 in
        Transverse: Off
        Scaling: 100%
        Constrain Proportions: On
        Page Position: Centered
        Thumbnails: Off
        Tiling: Off
    Marks and Bleed
        Crop Marks: On
        Bleed Marks: Off
        Registration Marks: Off
        Color Bars: Off
        Page Information: Off
        Printer Mark Type: Default
        Crop Mark Weight: 0.25 pt
        Mark Offset from Page: 0.0833 in
        Use Document Bleed Settings: On
        Bleed Top: 0 in
        Bleed Bottom: 0 in
        Bleed Inside: 0 in
        Bleed Outside: 0 in
        Include Slug Area: Off
    Output
        Color: Composite CMYK
        Text As Black: Off
        Trapping: Off
        Flip: None
        Negative: Off
        Screening: Default
        Simulate Overprint: Off
        Frequency: 60
        Angle: 45
    Graphics
        Send Data: Optimized Subsampling
        Download: Complete
        Download PPD Fonts: On
        PostScript®: Level 2
        Data Format: ASCII
    Color Management
        Document Profile: U.S. Web Coated (SWOP) v2
        Color Handling: Let InDesign Determine Colors
        Printer Profile: Document CMYK - U.S. Web Coated (SWOP) v2
        Preserve CMYK Numbers: On
        Proof Profile: Document CMYK
        Simulate Paper Color: On
    Advanced
        Print &as Bitmap: On
        Bitmap Resolution: 300
        OPI Image Replacement: Off
        EPS: Off
        PDF: Off
        Bitmap Images: Off
        Transparency Flattener Preset: [Medium Resolution]
        Ignore Spread Overrides: Off
    I'm on Mac OSX Lion 10.7.2
    Acrobat X version 10.1.3

    I'm a Windows user, so I may not have this exactly right, but printing to PDF from Print Booklet on Mac is a two-step process -- first you printto Postscript file using the Acrobat 9 ppd, then you distill the file. I think you'll find more details at InDesignSecrets » Blog Archive » Acrobat’s Adobe PDF Printer Replaced in Snow Leopard

  • Colors are printing incorrectly when exported to PDF but print fine from InDeisgn and Photoshop

    Documents I create in Photoshop and InDesign and export to PDF print in different/wrong colors. The colors are fine when printed directly from Photoshop or InDesign, they look correct when viewing the PDF, but change when printed from the PDF (specifically blues print as purple). How do I fix this?

    This really sounds like a color management issue.
    How are you creating the PDF files from InDesign or Photoshop? We recommend using the PDF/X-4 settings for proper printing from Acrobat or any direct PDF RIP/printer.
    Also would like to know what type of printer you are printing to.
              - Dov

Maybe you are looking for

  • Windows crash when connecting BB

    I have 64-bit Vista SP1 with DTM 5.0.1 (sorry, don't have the exact build number handy - the machine is at home, and I'm at work). Everytime I connect my BB to the machine, it crashes with a BSOD. The machine was very, very stable for a long time, bu

  • Assiging wbs element as settlment receiver in service order settlement

    Hi PM CS Experts. We are using scenarios of creation of service order from sales order. So whatever cost we incurred for service order settling to sales order via settlement rule - settlment receiver is Sales order i.e. SDI. We are using settlement p

  • I can't print on my HP Photosmart C309a from my new Mac book air

    I bought a new mac book  air and with the new version system iOS X 10.9.1 I can´t print. I try to add it as a printer and it posts, ¨Can't install the software because it is not currently available from the Software Update server.¨. Is there anything

  • Blue ray player connection to web help

    Just wondering if any iMac people have recently successfully connected their blue ray player to the internet? Apple tells me that I have to purchase "Apple TV" device. The Sony player (BDP-N460) I purchased said I only need to buy an additional 'Link

  • The top left corner of my iPhone 5s popped out

    I Noticed today that when I set my phone down I could see the light from my iPhone 5s from the side of it. I picked it up to look and the screen is popping out. I have yet to drop it and I just received it a couple months ago. I'm stuck with it for 2