PDF Viewer / Printer

Hi all,
I'm looking for a PDF Viewer to embed within a Swing application that would hopefully give a printing option as well. I've been looking at Adobe's now unsupported Viewer, as well as a product call PDFGo. Does anyone have any recommendations on these? Are there suggestions for other alternatives? Thanks,
Max

Why don't you let the default browser of the user do the work for you?`
Start the browser with the URL of your pdf-file. The browser will do the rest.
Check out http://browserlauncher.sourceforge.net/ if you are looking for a way to start the default browser from within your application.
Timo

Similar Messages

  • Custom PDF Viewer & Printer

    Hi PDF Gurus,
    I need to develop an application in which I can:
    1- Only view a PDF document (and any other features to browse in PDF document) but not freely print it, save it as... and send it by email.
    2- with a customized button I can print document with some watermarks and text for every pages of PDF document.
    3- this application will open a document in an UNC path with access restrictions only for the application itself.
    4- The application will receive the following parameters:
    PDF file name to open, username and password to access to UNC path.
    5- Application will run on 50 client (up to 15 simultaneously) under Windows 32bit
    IS there someone that already developed it, or otherwise, could you please indicate to me a SDK Library for C++ or VB.net to develop it?
    Thanks in advance
    ENRICO

    I'm looking for a virtual PDF-printer for PPC2003. I need to be able to print out from a database application for recording ECG on the PDA, and then print out the result from the recording to a file that can easily be sent by e-mail via GPRS from the PDA. I've searched everywhere for a virtual PDF-printer for the PPC2002 - 2005 witout success - does anyone know were such printer driver can be found, if there is any?
    WebDoc
    [email protected]

  • ECL Viewer 6.0 - PDF View & Print Resolutions

    Hi,
    We installed SAPGUI 710 & ECL Viewer 6.0 Patch 4 for all our users.
    Settings were made to display PDF through ECL Viewer in DC30.
    We observed the following issues while working on PDF
    Display quality are not good due to poor resoultion.
    Even when we print from ECL Viewer, the quailty is very bad due to the poor resolution.
    I have changed the settings to High Definition/Low speed for both Print quality & Preview.
    There is some improvement. But, it is not as it is suppose to be.
    Are there any other settings to improve the resolution to display & print from ECL Viewer.
    Best Regards,
    Madhu

    We have installed the latest patches for the ECL Viewer and are still experiencing issues with resolution.
    When I open a drawing and click on properties, I can see the 2D Loader Preferences for PDF's but cannot change them.
    Currently the 2D Viewing Preferences are:
    View As: TIFF Group4, Monochrome
    Density: 300
    The preferences are grayed out and cannot be changed/saved.  I currently have PDF's configured to use %EAIweb.webviewer2D.1 %SAP-Control%.  I have researched KPRO and SPRO trying to find the config to change the Density from 300 to 1200 to see if this resolves the issue of the drawings opening and printing in low resolution but am unable to find this config.
    I may also note I have not set up the MIME types.  I have read that this should be done but again I lack understanding how this would be impacting my issue of resolution using the viewer.  If I configure SAP to open %auto% the PDF's open with the workstation application Adobe and are clear.  BUT this does not support our requirement to complete mark up's within SAP.
    Any assistance on this would be appreciated.
    Thank You!
    Ame B.

  • Universal PDF Viewer - Default on Letter and not on A4?

    Hello guys,
    Does anybody know how I can change the default settings of my Universal PDF Viewer printer?
    I have to put this thing back to A4 format everytime I print.
    So it is created with the Letter format default now.
    It uses the HP Color LaserJet 8500 PS driver in SGDADMIN.
    THNX alot!

    Hi.
    I'm not quite sure if the following does apply to your case but it helped us when dealing with a similar issues on RDP printers:
    http://support.microsoft.com/kb/243942/en-us
    Cheers,
    Rob

  • Is ID exported PDF considered non-editable? (In the case of view&print embedding permission fonts)

    Hiya!
    I am a graphic designer and I use InDesign 5.5.
    I have a question about font embedding when using the InDesign's export as a PDF in "print" format feature.
    Many fonts allow embedding into digital documents only for the purpose of viewing and printing.
    In addition to this the font EULA's mention that the embedded font may not be used to edit the document.
    Is it possible to create a non-editable PDF with embedded fonts?
    Is choosing PDF export option "print" the key here, or embedding the fonts as a subset?
    Isn't it still possible to edit PDF in Acrobat with touch up text tool? Or use some third party editing program?
    OR Is a PDF file - with fonts embedded as a subset -  non-editable as such, or at least considered to be non-editable enough?
    Or is it just that the file doesn't really have to be non-editable, but it must not be edited...
    How do I ensure that? Do I even need to ensure that?
    Whole thing seems so controversial.
    Hope someone can shed some light into this!!!
    -Ahlax-

    Ahlax,
    There are several separate concepts here.
    First, PDF is really a final form file format. It wasn't designed as an editable format for layout such as InDesign's .indd format ane Word's .doc and .docx formats. Although PDF files may be tagged with contextual metadata, typical content of PDF files contains no context in terms of words, sentences, paragraphs, columns, etc. It is simply graphical objects including text fragments, vector artwork, and raster images at a particular place on a page with specified graphical attributes (color, transparency, etc.). As such producing a full PDF file editor first requires definition of what it actually means to edit such a file given the characteristics of PDF files.
    That having been said, Acrobat and various third party plugins to Acrobat as well as third party applications provide some degree of editability for PDF files, recognizing that such edits are definitely not at the abstractual level that you get with InDesign. You can “touch-up” text, but doing a re-layout is effectively impossible. In most cases, it is better (in terms of time, effort, and resultant quality) to go back to the source document, make the changes there, and then regenerate the PDF.
    Fonts are a totally separate issue. Adobe products will not embed any font into a PDF file unless the font allows for at least preview and print embedding. For PDF forms, Acrobat requires a font to allow editability embedding. However for text touch-up and other edits, Acrobat never uses the embedded font. Such edits are only allowed if the user has the same font actually installed on their system.
    In terms of forcing a PDF file to be totally non-editable, that is done by applying security to the file when you export the PDF file from InDesign (the Security tab) or in Acrobat Pro after PDF creation (go to the Security tab under Document Properties (Ctrl-D) to set such security).
              - Dov

  • How do I stop pdf viewer from printing 4 pages per page?

    When I print a file off pdf viewer in firefox, my printout comes out 4 pages per page, even though I check advanced settings and verify that it is set to 1 page per page. I do not know where else I can look to correct this problem.

    HI nmrdata,
    It may be that Firefox printer settings need to be reset. Please see [[Fix printing problems in Firefox]].
    If you have any questions on how to open the about:config page please do the following steps :
    # In the [[Location bar autocomplete|Location bar]], type '''about:config''' and press '''Enter'''. The about:config "''This might void your warranty!''" warning page may appear.
    # Click '''I'll be careful, I promise!''' to continue to the about:config page.
    # Look for print.printer_print and reset the option.

  • How do I view/print a pdf document in an email? I'm not getting the little hand icon.

    How do I view/print a pdf document in an email? I'm not getting the little hand icon.

    Ah, yes, I'm using Adobe Reader!  That makes sense.  Thanks so much for your reply.  At the moment, I scan Word documents into my computer and they're automatically converted to PDFs.  If I had Adobe Acrobat on my computer, and scanned in documents, would they open in Reader automatically or could I open them in Acrobat and therefore add password protection?

  • I am running Quickbooks Online and need a pdf viewer plug in for Firefox 5 in order to print checks. Is it available and if so where?

    After writing a check in QBOL it shows it in a pdf viewer within my browser. After upgrading to FIREFOX 5 I can not print checks correctly as the earlier pdf viewer plug in is nit compatible with Firefox 5

    Try the version posted here:
    Blaq Blog - Firefox 4 Mac PDF Solution:
    * http://www.blaqapp.com/blog/110329-Firefox-4-Mac-PDF-Solution
    You need this extension to overcome the compatibility problem.
    *Add-on Compatibility Reporter: https://addons.mozilla.org/firefox/addon/add-on-compatibility-reporter/

  • Unable to view/print pdf from Banks website.

    I am unable to view/print pdf files from banks website, a white blank screen appears.  I've uninstalled and reinstalled Adobe multiple times.  I'm running Windows Explorer 9 and Adobe Reader XI.  I am able to view/print these files from a different computer and save them to a flash drive.  I am then able to open the files on my computer directly from the flash drive.  I am thinking maybe I have a setting enabled/disabled somewhere??

    Thank you for your response.  Please be patient with my ignorance--I am not a power user.
    1)I do not know what you mean when you direct me to open the PDFs within Reader.  I typically do open PDFs that are already stored in my files on my computer, but I don't know how do vies/download pdfs that I need to view or download from the Web from within Reader.  Can you please tell me the steps involved?
    2)  Do you happen to know whether this is a new development with Chrome?  I have been using both Chrome and Adobe Reader seamlessly for several years with no issues.

  • Firefox 29 no longer prints properly from the built in PDF viewer

    I print several EBAY labels a day. Just upgraded to firefox 29 (not realizing really what had changed - now regretting) and the built in PDF viewer no longer prints properly. It shows the label fine on the screen, but when sending to the printer (I tried two different ones) it just prints out two blanks pages. I tried a number of different printer settings and as i mentioned two different printers. Can't get anything to print now except two blank pages. If I switch the application settings in firefox to use an external 3rd party PDF viewer (e.g. Adobe reader 11, PDF Viewer plus, etc) those work fine. However, the default built in PDF viewer clearly broke in this new version. A very disappointing launch for me as this is critical feature for my use. Yes, I have a work around, but the point (and new bug) is still valid.

    Go to Tools
    Options
    Applications
    (Content Type) )Scroll down to Portable Document Format (PDF) (change Action to use Adobe Reader as Default or whatever PDF program you prefer.

  • Unable to view/print some PDF documents

    I am unable to view/print some of the technical documents (white papers) in the 91AS documentation page. When I attempt to open them I get the netscape "extend capabilities" dialog, but my local internet support does not have a plug-in/download for the file type multipart-byterange and requested that I contact the site owner for a source for the file. I am using Netscape/Communicator 4.73 and adobe acrobat reader 5.0
    Thank you
    stephen pater

    Hello,
    Please check whether you have right authorizations.
    You need to have authorization for SP02 transaction code.
    Take SU53 screen shot and submit to your security team.
    Regards,
    Ravi

  • Format on HTML report different than on PDF view

    I have a Quote report based on Product Revenue that we send to our customers. I have it formatted nicely when initially displayed and also when viewed with the Printer Friendly HTML option. But... when I view it as a PDF, it is not even close.
    The layout of the report uses a narrative section with HTML formatting to get the elements to align correctly, per the documentation. The HTML I use is as follows:
    Narrative Section formatting code:
    <table width="600">
    <tr><td colspan=3>  <div align="center"><b><font size="5" face="Times">
      @10</font><br>
    <font size="4" face="Times" >  Prepared Exclusively For: @8</font></b>
    </div></td>
    </tr>
      <tr> <th width="250"><div align="left">Quote Details</div></th> <th width="50">   </th><th width="300"><div align="left">Sales Manager Info:</div></th></tr>
    <tr>
    <td>Quote ID: @9</td><td> </td><td>Name: @16</td></tr>
    <tr>
    <td>Quote Date: @15</td><td> </td><td>Email: @17</td>
    <tr><td>Quote Expiration: @14</td><td> </td><td> </td></tr>
    <tr><td colspan=3><div align="center"><b>Phones - Cell:</b> @18, <b>Work:</b> @20, <b>Fax: </b> @19 </div></td></tr>
    </table>
    Notes: @11Is there another way to get the HTML view and PDF view to look the same (or at least close)?
    (more details and examples here --> [HTML and PDF Views|http://crm.nurserysupplies.com/images/CRM_HTML_and_PDF_views.doc])

    To date, this is considered a product limitation. I just talked with an escalation manager regarding this very issue, and he offered to bring this up with the product managers/engineers on 5/15/09. I recommend escalating this issue and asking your escalation manager to do the same.
    We are trying to create a customer contract based on Opportunity information.
    The best way to accomplish what you are trying to do is: Click Printer Friendly > Click HTML > Click on File - Print in browser window > Either print to PDF using a pdf printer from adobe or the cutepdf or print a hard copy.

  • PDFs look different in Adobe reader and Acrobat professional compared to the built in PDF viewer on windows 8

    Hi there,
    I have been trying to narrow down an issue we have been having for some time in printing PDF files and finding that they look different on paper compared to screen.  Up until today our big KIP plotter got the blame, but as I have been collecting notes on a little windows 8 tablet I noted that PDFs opened in the windows PDF viewer have the same visual defects as the printouts.  My example today is that on a CAD drawing there is a small box/frame with a number in their, I tried printing and the frame was completely blacked out.  As a test I tried saving the PDF as a TIFF file from Adobe Acrobat professional and this file had the same fault as the printed copy.  When I open it in the windows 8 pdf viewer I can see that there is a shading within this box that does not show on Adobe Reader (latest version 11.0.10.32), the adobe reader and acrobat pro version both show a white background to the box.  We have been having lots of issues with sections being missing from drawings and overly feint lines.
    I am not sure where to start trying to narrow down why we are getting different results in different PDF readers.  Is there anyone who maybe able to point me in the right direction?  It almost feels like the shading or colour density is not being consistent when PDFs are being opened in different packages.
    Thanks in advance
    Andy

    Some PDF viewers comply with the PDF ISO Standard (ISO 32000) "just enough" while others (such as Adobe's) fully comply.
    As with anything there's a cost to using anything that comes from a "just enough" approach.
    Be well...

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

  • FR PDF view format adjustment

    FR report works fine in HTML view But it doesnt fit fine in pdf print . Is there any way i can adjust my pdf view and users want to view report in portrait format
    can information on this will be really helpfull
    thanks

    i was able to fix from page set up
    thanks

Maybe you are looking for

  • On macbook pro when logging in the loading bar gets to a certain point every time then crashes

    I recently upgraded to yosemite, I tried to go on my macbook but after I log in the system shuts down automatically

  • UTF-8 and *.jsp, *.jspf files with NitorX 419

    Hello I hava a problem for setting the encoding of the JSP files in eclipse 3.1rc3 and NitroX 419. I am using tiles (but i am not sure that they are properly recognized). And I want to create one fragment file eg. one for body element in tiles. I am

  • Playbook Micro SD slot??

    Currently I have a 16g playbook and have been thinking about getting a 32g. While searching I have noticed they are listed as having Micro sd slots. Does anyone know if truly they are coming out with the slots or is this a misprint? Example best buy

  • How to preserve database user details before cloning

    Hi Experts, How to preserve database user details before cloning, I am cloning the test database with the prod database, so my concern is how to preserve the users details which they have in TEST database( like roles, privilges, profiles , passwords,

  • Multiple environments on Application Server

    Hi, I'm using 4.7.25, and the base API via db.jar. I have db.jar in the shared library folder on JBoss AS5 and I have to say I am very impressed with Berkeley DB. Performance is greatly improved from using MySQL, and is getting even better as we tune