BI Publisher Merge PDF and print documents through Java

We need our reports in merged and printed (collated). Is this possible with BI Publisher . If yes, how?
The reports will be called from Java. So far I found the Web Service provided by BI Publisher handy in printing and creating reports but not combine them.
Thanks in advance.
Edited by: 829489 on Mar 6, 2013 8:28 AM

check this links . it may help you
http://technology.amis.nl/2007/03/19/merging-pdf-documents-using-the-bi-publisher-api/
https://blogs.oracle.com/xmlpublisher/entry/merge_and_secure_pdfs
https://blogs.oracle.com/xmlpublisher/entry/file_attachments
http://docs.oracle.com/cd/E10091_01/doc/bip.1013/b40017/T421739T479695.htm#T477455

Similar Messages

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

  • Photosmart C6180 prints too many copies of PDFs and HTML-documents

    Hi,
    My Photosmart C6180 prints multiple copies of documents even if I haven't asked for it. This seems to only apply to PDFs and HTML-documents, I haven't seen it happen with Word/Excel. It's not consistent, it happens most of the time but now always for these documents. When I look at the console, when it has started printing I see shortly the status "Printing - Restarting". That's probably when it starts the 2nd copy. Sometimes it stops by itself, other times it seems to be looping and I have to turn the printer off and delete the document from the queue.
    HP solution center SW is updated, I run Vista with latest service packs on a Thinkpad T400s.
    Any ideas?
    Thanks!

    My C6180 printed multiple copies of any document from my Vista OS laptop ( wireless connection ), but not from my
    XP OS desktop ( USB connection), even though I selected 1 copy on the print menu. Unchecking "Enable bidirectional support" in the Properties / Ports dialog box solved the problem. Hope this helps someone too.

  • AcroPDF in VB6 - Find text in PDF and print that page.

    Okay, so I'm certain that this question has been asked and answered a hundred times, but for some reason my googling skills are seriously failing me today...
    I have a legacy application built in VB6 that generates PDF documents of a particular form letter.  Each PDF contains all of the form letters that were printed on that particular day.  I actually have it all working rather decently, but something came up a little while ago that set me on a new programming obsession.  I want to enable the following functionality from my application:
    The user provides a text string that should be unique among all pages of all PDF's (customer ID).
    The application then finds the PDF that contains that text string and identifies which page number contains that text string.
    Finally, send only that page to the printer.
    Currently I can easily create, display and print the PDF from my application.  While the creation of the document is done through a third-party reporting system, all display and printing functions are basically handled using AcroPDF.dll.  Going through the available properties and methods for an AcroPDF object, I see that I can tell it to print only specified pages, which gives me the last part of my requirements, and I've got the user input part down pat.  I'm just totally stumped at finding a solution for "step 2".
    Any suggestions, ideas or comments would be greatly appreciated.  I'm kinda tired of banging my head against a wall.  Thank you for your time.

    If you are only using Adobe Reader, then that feature isn't available.
    If you have Adobe Acrobat, then you have a few options.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 26 Oct 2011 08:15:12 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: AcroPDF in VB6 - Find text in PDF and print that page.
    AcroPDF in VB6 - Find text in PDF and print that page.
    created by GHosaPhat<http://forums.adobe.com/people/GHosaPhat> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3991293#3991293

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

  • Major problem saving and printing documents on two computers

    This is a bizarre problem that seems to have been transferred from my old MDD to my new Mini when I migrated all my old data and it has me baffled. My apologies if this explanation seems long and complicated but I want to be pretty thorough.
    About a month ago I started experiencing a problem with printing. I noticed when printing a sheet of business cards that the page was getting compressed, for lack of a better word, vertically. This was very noticeable because the trim marks on the side of the page were not lining up with the perforations and each row of cards was getting progressively closer to the top as each row was printed. In other words, the first row of cards was okay but then the next row was a little too far "north", the next row a little more, the next row a little more, etc. The bottom of the page was not cut off, it was just squeezed up a bit but not enough that you could tell that the proportions were off. Now I see that many of my documents are like that no matter what application I've use to create them – Pages, Illustrator, Avery DesignPro. What's even worse, I've used Pages to create a sheet of business cards for a friend and Illustrator to make packaging labels and she's having the same problem printing the PDFs of the labels on a different computer. What this seems to tell me is that something has been corrupted and the computer is saving messed up files.
    So, about ten days ago I got a Mini and migrated my data using Migration Assistant. And the problem has now been transferred to the Mini. So I now have two Macs connected to two different HP printers that are both incapable of printing (and apparently saving) documents in the proper proportions.
    Now, a truly weird thing is that I printed a test sheet of business cards from the Mini on the printer connected to the MDD (via printer sharing) and it appeared that the document printed at the correct length. However, another document, a sheet of labels created in Illustrator, printed at the right length but one edge was slightly cropped off. Grrr.
    Anyway, as I said, until about a month ago everything worked fine so something got messed up at that time to cause this problem with saving and printing documents. I need to get this resolved for business reasons – I'm an aspiring designer – but the only thing I can think of doing is wiping out my Mini and reloading everything except my account settings from Time Machine unless someone has advice on what to do. Help! (And yes, I've checked to see that page scaling was always set at 100%.)

    Well, I've just about had it. I erased the disk, reinstalled the OS, Adobe CS4, and iWork. I did not use Migration Assistant this time to restore my settings but still my Mac prints documents in the wrong dimensions. Could this be a sudden HP problem? It seems to me some system setting somewhere is making my computer save and print documents in the wrong size. I now have a computer that is almost useless for designing. Lucky me.

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

  • Is there any way to view full pdf and office documents opened in safari? they just open partically if they are bigs

    is there any way to view full pdf and office documents opened in safari? they just open partically if they are bigs

    Drag them to your iTunes library.  Download the free iBooks app.  Select the PDFs you want too sync in the iTunes books pane.  The iBooks app will show your books collection or your PDFs collection as you select.

  • Storing PDF and Word document in oracle database

    any idea, how to store PDF and word document using oracle database.
    thanks

    The common approach is store as BLOB in database, use DBMS_LOB package to handle the loading and reading, sample script source asktom
    Also check this thread in Asktom
    SQL> create table demo
      2  ( id        INT PRIMARY KEY,
      3    theBlob   blob,
      4    dummy_col VARCHAR2(1)
      5  )
      6  /
    Table created.
    SQL> -- --------------------------------------------------------------
    SQL> -- Load a PDF file into a BLOB field and compress the BLOB.
    SQL> -- --------------------------------------------------------------
    SQL> declare
      2      l_blob    blob;
      3      l_bfile   bfile;
      4 
      5  begin
      6      insert into demo (id, theBLOB) values ( 1, empty_blob() )
      7      returning theBlob into l_blob;
      8 
      9      l_bfile := bfilename( 'BLOB_DIR', 'Test.PDF' );
    10      dbms_lob.fileopen( l_bfile );
    11 
    12      dbms_lob.loadfromfile( l_blob,
    13                             l_bfile,
    14                             dbms_lob.getlength( l_bfile ) );
    15 
    16      UPDATE demo
    17      SET    theBlob = utl_compress.lz_compress(l_blob, 6)
    18      WHERE  id = 1;
    19  -- If you don't want compress the LOB just update directly
    20      dbms_lob.fileclose( l_bfile );
    21      COMMIT;
    22  end;
    23  /
    PL/SQL procedure successfully completed

  • Export to PDF and Print to Postscript (in one step)

    I am seeking a script that will do the following consecutively:
    * Export to PDF (PDF settings never changes, output directory never changes)
    * Print to PS (printer preset that is used never changes, output directory never changes)
    It would save us a lot of time in our workflow having to do this in one step, with a single keyboard shortcut.
    Since the same PDF and Printer presets are always used, as well as the output directories, It would
    probably be easy to include those settings in the script itself, as opposed to some preference file, I'm guessing.
    If anyone can help me write this, I'd much appreciate it.
    Thanks,
    Destin

    Thanks Gerald for the suggestion.
    Looks like some powerful software there... and a bit pricey for what I need to do (over $500 US dollars, yikes).
    Surely the script I am seeking is much less involved than that.  I suppose I'll have to try to do some Javascript myself,
    which will be a learning experience...

  • Urgent Help Regarding PDF and Word Document Downloading

    Many Thanks Shaik for you humble help. Actually now what I did in the past 3 days,
    I used Oracle Intermedia to store my PDF and Word Documents in the database using Oracle SQL Loader. Then I used PL/SQL Server Pages and Oracle Web Toolkit for the downloading of my documents.
    Now the problem is I saved all my formatted documents in the databse and for retrieval I am using following code in my stored procedure
    * Select BLOB Data
    select blob_data into myblob from mytable where blob_name = name;
    Setup headers which describes the content
    owa_util.mime_header('text/html', FALSE);
    htp.p('Content-Length: ' || dbms_lob.get_length(myblob));
    owa_util.http_header_close;
    Initiate Direct BLOB download
    wpg_docload.download_file(myblob);
    end;
    The structure of the mytable table:
    create table mytable
    doc_id varchar2(128),
    doc_name varchar2(128),
    blob_data blob
    But when it prompt the client to download the file actually it gives the junk file name like 'B104ea56' (which i understand is the address of the blob address). What I want is to show the "SAVE AS" download box with the proper document name which is stored in my field in the following way
    1 SALES.PDF
    2 PLANNING.PDF
    3 MANUAL.DOC
    4 STANDARD.TXT
    If I set the MIME type for the file format than it automatically starts download the file to the client browser, that I do not want, It should ask the user to download with the proper document name.
    Waiting consiously for your help
    Regards

    Presumedly you'd like those documents being accessiable by users as well, so they should be put on a web server, ftp or nfs sharing. You can just add the urls to those documents, or the directory they are in, into robot system as starting points and let robot run to collect them.

  • How can i send and recieve mail through java

    HI All,
    plz let me know how can i send and receive mail through java.
    Regards:
    sachin kakkar
    http://www.datamansoftwares.com

    Using java mail API..
    try to search the forum for java mail... you find many question and answer.
    use the left search textfield

  • Convert external documents to PDF and print

    Hi,
    I have a SAP script and with some help from SDN I am at point where I can convert this SAP script to PDF using the function module below
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    FORMAT = 'PDF'
    * MAX_LINEWIDTH = 132
    * ARCHIVE_INDEX = ' '
    * COPYNUMBER = 0
    * ASCII_BIDI_VIS2LOG = ' '
    * PDF_DELETE_OTFTAB = ' '
    IMPORTING
    BIN_FILESIZE = BINFILESIZE
    * BIN_FILE =
    TABLES
    otf = DATAB[]
    lines = PDFTAB[].
    Now my requirement is, let's say I have an external doc(word or excel) residing on my PC. I have complete path of this file in my hand. I want to convert this file to PDF and append it to the above PDFTAB[] and print to the printer 'TDDEST' as a single document.
    Thanks,

    Hi,
    use this code passing in v_url the complete path
    START-OF-SELECTION.
      SET SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'STATUS'.
      SET TITLEBAR 'T1'.
    *running down the pbo for the first time,
    *create the controls and their containers
      IF my_main_container IS INITIAL.
        CREATE OBJECT my_main_container
        EXPORTING
        container_name = 'CUSTOM_CNTL'
        EXCEPTIONS
        cntl_error = 1
        OTHERS = 2.
    *create PDF Viewer object
        CREATE OBJECT my_pdf_viewer
        EXPORTING
        parent = my_main_container
        EXCEPTIONS
        cntl_error = 1
        cntl_system_error = 2
        OTHERS = 3.
        IF sy-subrc <> 0.
    *could not create PDF Viewer
        ENDIF.
    *my_pdf_viewer->LANGU = 'IT'.
        DATA: view_buttons_active TYPE char01 VALUE 'X',
        v_url TYPE char255.
        IF my_pdf_viewer->acrobat_vs_reader = ''.
          view_buttons_active = 'X'.
        ENDIF.
    *create SAP toolbar for PDF Viewer
        CALL METHOD my_pdf_viewer->create_toolbar
          EXPORTING
            tool_buttons      = 'X'
            view_buttons      = view_buttons_active
          EXCEPTIONS
            cntl_error        = 1
            cntl_system_error = 2
            OTHERS            = 3.
        IF sy-subrc <> 0.
    *could not create toolbar
        ENDIF.
    *Open the PDF document
       IF NOT my_pdf_viewer->html_viewer IS INITIAL.
        CLEAR v_url.
        v_url = file.
        CALL METHOD my_pdf_viewer->open_document
          EXPORTING
            url = v_url.
        IF sy-subrc <> 0.
          SET SCREEN 1000.
          MESSAGE i208(00) WITH 'Documento non presente: riprovare'.
        ENDIF.
       ELSE.
        MESSAGE e208(00) WITH 'Impossibile aprire il documento'.
       ENDIF.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  EXIT-PROCESSING  INPUT
          text
    MODULE exit-processing INPUT.
      fcode = ok_code.
      CLEAR ok_code.
      CASE fcode.
        WHEN 'BACK' OR 'EXIT' OR 'CANC'.
          SET SCREEN 0.
          LEAVE SCREEN.
      ENDCASE.
    ENDMODULE.                 " EXIT-PROCESSING  INPUT

  • Retrieve Archived PDF and print

    Hi Folks,
    I have certificates which have been archived. Once I get the Archiv Id of the document from TOA01, how do I use this data to print?
    The Archived Document is a PDF Document. Could you please advise steps on how this data can be retrieved and printed?
    Information I have presently is that I can get the archived data in Binary Format with FM ARCHIVOBJECT_GET_TABLE
    How do you process this binary data to get it printed?
    Greatly appreciate any help.
    Thanks!

    Hi Venkat
    I am looking back on my program now, its been a whild since I finished it,  and I am using it to merge two pdf fields into one pdf spool.
    i am using the global directory I will attach the updated code for you.
    you can also check out the code in this method. CL_SALV_WD_C_TABLE_V_TABLE->ON_PDF_SEND_TO_PRINTER
    <p>
    return.
    l_wa_old_spool-rqident = 30096.
    APPEND l_wa_old_spool
       TO l_i_old_spools.
    l_wa_old_spool-rqident = 30094.
    APPEND l_wa_old_spool
       TO l_i_old_spools.
    BREAK-POINT.
    DATA:
      l_handle           TYPE sy-tabix,
      l_spoolid          TYPE tsp01-rqident,                    "#EC NEEDED
      l_partname         TYPE adspart,                          "#EC NEEDED
      l_new_partname     TYPE adspart,                          "#EC NEEDED
      l_filename(128)    TYPE c.
    data: lv_append type char1.
    l_v_partname = 'darrenTest1'.
    * Create a new spool order for the PDF'S
    CALL FUNCTION 'ADS_SR_OPEN'
      EXPORTING
        dest             = l_v_prdest
        immediate_print  = abap_false
    *   append           = ' ' "append
        doctype          = l_c_doctype
        titleline        = 'Darren Merge Test'
      IMPORTING
        handle           = l_v_handle
        spoolid          = l_v_spoolid
        partname         = l_v_partname
      EXCEPTIONS
        device_missing   = 1
        no_such_device   = 2
        operation_failed = 3
        wrong_doctype    = 4
        wrong_devicetype = 5
        OTHERS           = 6.
    CALL FUNCTION 'ADS_GET_PATH'
      IMPORTING
        ads_path = l_v_globaldir.
    BREAK-POINT.
    PERFORM get_statements.
    READ TABLE gt_return INTO ls_doc INDEX 1.
    CLEAR l_filename.
    *CONCATENATE l_v_globaldir l_v
    *l_v_partname = 'darrenTest1'.
    *l_filename = |{ l_v_globaldir }/{ l_v_partname }.pdf |.
    l_filename = |{ l_v_partname }.pdf |.
    LOOP AT gt_return INTO ls_doc.
      if sy-tabix > 1.
        lv_append = 'X'.
      else.
        clear lv_append.
      endif.
      CALL FUNCTION 'ADS_WRITE_TO_FILE'
        EXPORTING
          filename                     = l_filename
          buffer                       = ls_doc-bindoc
          append                       = lv_append
          useglobaldir                 = 'X'
        EXCEPTIONS
          cannot_open_file             = 1
          open_dataset_no_authority    = 2
          open_dataset_internal_error  = 3
          open_dataset_too_many_files  = 4
          dataset_cant_close           = 5
          close_dataset_internal_error = 6
          cannot_close_file            = 7
          cannot_transfer_data         = 8
          transfer_internal_error      = 9
          dataset_write_error          = 10
          OTHERS                       = 11.
    ENDLOOP.
    CALL FUNCTION 'ADS_SR_CONFIRM'
      EXPORTING
        handle           = l_v_handle
        partname         = l_v_partname
        size             = 0
        pages            = 0
    *   NO_PDF           = ' '
      IMPORTING
        new_partname     = l_new_partname
      EXCEPTIONS
        handle_not_valid = 1
        operation_failed = 2
        OTHERS           = 3.
    CALL FUNCTION 'ADS_SR_CLOSE'
      EXPORTING
        handle           = l_v_handle
        final            = abap_true
      EXCEPTIONS
        handle_not_valid = 1
        operation_failed = 2
        OTHERS           = 3.

  • Displaying PDF and Word Document

    Hi,
    I have used the methods to display HTML :
    1. Link to Action and the IFrame -> The Result was the html file I was able to display in the same window.
    2. Link to URL -> The Result was html file opened in different window.
    3.IFrame and attaching the file in project -> it was resulted in html file getting dispalyed in IFrame.
    Now if I want to extend the functionality for PDF or word document, is the procedure same or different
    Can anyone enlighten me on this
    Any thoughts on this.
    Thanks in Advance
    Srikant

    Hi srikant,
    You can also display word documents and pdf by uploading it in the server.
    For this you'll have to create  aliases in the server for the corressponding documents that you want to uploaad.
    Go to visual admin ->services->httpprovider.
    Then click the tab 'aliases'. Here you can give the name of your alias and also the document to which the alias should point(first upload the document to the server machine and then give the path here ) .
    Now when you type http://server:port/aliasname your document will open in the browser. You can display it either through your iFrame or linktourl as you prefer.
    Hope my effort will help you.
    Regards,
    Rahul.

Maybe you are looking for

  • SQL Loader (Oracle 8.1.5 on Suse 6.3) Internal Error

    Hi all, I try to insert data with SQL Loader on Linux (Suse 6.3) and get the following message: SQL*Loader-704: Internal error: ulmtsyn: OCIStmtExecute (tabhp) [-1073747572] ORA-00942: table or view does not exist The control file and data file did w

  • All the applications, apart from acrobat, start as a trial all the time

    I have this problem from almost a year now. Every time I launch an app it starts as a trial and asks me to license the software. The process happens no matter how many other Adobe applications are open. I know this is a known Issue but I really would

  • Faulty panel-display after hiding photoshop 13.0 on mac os 10.6.8

    Good day! If I hide Photoshop 13.0 on Mac OS 10.6.8 Configurator panels will not display correctly again until restarting Photoshop. (see image, left after starting the application, right after hiding and showing it) Can any of you offer some insight

  • E71-Memory Card in use ERROR!

    hi, After transfering data to memory card through data cable from my pc and disconnecting it in the way it has to be done, the following error occurs:- *When tried to access memory card it shows an error msg saying memory card in use. The only way is

  • Images won't show on a mac

    I've created html/php pages on a pc at work in Dreamweaver. When I'm at home and viewing the pages on my Mac in Safari or Firefox, I can not see the images for the advertising section of my website I've created. Any thoughts on why this would be? Tha