Different filesize for PDF files created in background vs. foreground?

When I create a PDF file in a background job the filezise is more than 2 times bigger than created with same selection in the foreground?? Why is that? Any suggestions?

Hi Sachin,
Thanks for the thread. But it does not help us.
We should explain the issue of these sizes in little more detail.
We have a program created for PDF outputs. The PDF form is created in SFP transaction like smartform.
As you might know that a fucntion module gets created internally for the PDF form similar to a smartform.
Now during execution, the function modules(for PDF form) returns an parameter called /1bcdwb/formoutput, which has field called pdf. This field holds the entire PDF output in binery format. We use this to create a file on the appliction server. I hope you can guess why the size of the file is bigger to the file that I save the PDF output on desktop from print preview.
We are looking for a solution on how to reduce this file that gets stored on the application server using the binery data of PDF form.
Thanks and Regards,
Kiran Chevuru

Similar Messages

  • How to create link for pdf file in discoverer worksheet

    Hi All,
    I would like to create a link for pdf file into discoverer report (worksheet).
    So that i can open linked pdf file using worksheet link.
    Can any one tell me about this?
    Thanks
    Ravi

    Hi,
    I think the best way to do this is to use a database directory so that you can access your pdf file as a bfile. Then create a mod_plsql procedure that sets the mime type and downloads the pdf file. You then create a calculation in the EUL then returns the URL to your mod_plsql procedure. You can then include this calculation as a hyperlink in your worksheet.
    It is not as difficult as it sounds. Please let me know if you need anymore details.
    Rod West

  • Strange that I can save a pdf file created in windows 8.1 to my cloud storage

    Strange that I can save a pdf file created in windows 8.1 to my cloud storage, but then I don't see it when I open my account. What is strange is that when I try again to save the file, system ask me to change the file name or over write current file. But file not present in my drive. Any help would be much appreciated

    Hi jeffjn,
    Please log out of your account, clear the cache, and then log back in. If that doesn't work, please log in using a different web browser. (See System requirements | Acrobat.com for a list of supported web browsers.)
    Please let us know how it goes.
    Best,
    Sara

  • Mavericks CPU can't open pdf files created on Yosemite

    I've looked around for this issue, but I haven't seen any questions similar to mine.
    My wife and I have identical MacBook Pros. Hers is running Mavericks, while I've updated mine to Yosemite.
    By chance, we realized that if I email her files created on my laptop, she can't open them. I've sent her Pages files, and the same files converted to PDF. So, either on Preview or Pages, she cannot open those files I've sent her.
    I know that the easy answer is "update your wife's laptop to Yosemite," but I'm rather curious whether there's a bug in the system that hasn't been discovered. Besides, my wife is quite happy with Mavericks, and that's fine by me.
    Any help or suggestion in this regard will be greatly appreciated.
    Regards,
    BK

    I just tested opening a Pages v5.5.1 file on Yosemite and Exporting it to a PDF file. Then I copied the PDF and Pages files over to another Mac running Mavericks and I was able to open and view the PDF file. I can't open the actual Pages file in Mavericks created in Yosemite because the Pages app is a different version in Mavericks (v5.2.2) and not compatible with the Yosemite version. But, PDFs definitely work fine and I can also open/view the same PDF file on a Mac running Mountain Lion. So, Preview in Mavericks and Mountain Lion, for me, open and view PDF files created from Yosemite/Pages without issue.
    Have you tried opening your PDF file on another Mac running Mavericks?
    You might try reinstalling Mavericks on top of itself. Maybe Preview in Mavericks is somehow corrupt. On the Mavericks Mac, you can redownload/reinstall Mavericks from the App Store using the same Apple ID that originally downloaded it. Or restart the Mavericks Mac into the Recovery HD (Command+R) and Reinstall OS X from there. Back up before you do the reinstall. The reinstall won't harm any data or apps. It just installs the OS over itself.

  • Pdf file created in Word 2008 will not open in Acrobat 8.2.6 or any other Adobe program

    I have created a 12 page newsletter in Microsoft Word Publisher 2008 and have done so many times before with no problem. Today, I have tried to save it as a .pdf file both in Save As and through the printer. Each .pdf file created in Word will not open in Acrobat 8.2.6, Photoshop C3, Adobe Reader  nor any other Adobe software.
    When I go to open it in Acrobat, my Mac gives me the spinning rainbow. If I try to click on the file, I get a watch and then Acrobat crashes or I have to force quit the software. I really need to convert this file and get it to the printer. Any advice???
    Mac OS X 10.6.7
    Word 08 12.2.8
    Acrobat 8.2.6
    Adobe Reader 10.0.0

    Here is a better example.
    https://www.calcerts.com/PBR1.pdf
    is the original PDF file that is uploaded by a user.  Note that it is only 48kb in size.
    I take the file, add a couple of watermarks and a footer for each page as well as a small image on the last page, add security on it and BAM, the file:
    https://www.calcerts.com/PBR1_AFTER.pdf
    is now 1.5 MB and it takes a LONG time to print.
    Thoughts?

  • PDF file created from Oracle Report is attached wrongly

    Hi,
    Please help. It is very urgent.
    I am using Oracle Developer 10gR2, Oracle Report 10.1.2 on Windows 2000.
    I would like to attach the PDF file created by Oracle Report to the Notification sent from Workflow.
    I use the following package procedure in my Workflow.
    procedure Create_File_Attachment (document_id   in varchar2, display_type  in varchar2, document      in out blob, document_type in out varchar2)
    is
         l_itemtype          varchar2(100);
         l_itemkey           varchar2(100);
         l_output_directory  varchar2(30);
         l_filename          varchar2(255);
         src_loc             bfile;
         bdoc                blob;
         src_offset          number := 1;
         dst_offset          number := 1;
         amount              number;
    begin
         l_itemtype := substr(document_id, 1, instr(document_id, ':') - 1);
         l_itemkey := substr(document_id, instr(document_id, ':') + 1, length(document_id) - 2);
         l_output_directory := 'USR_TMP_DIR';
         l_filename := Wf_Engine.GetItemAttrText(l_itemtype, l_itemkey, 'ATR_FILENAME');
         src_loc := bfilename(l_output_directory,l_filename);
         dbms_lob.createTemporary(bdoc, FALSE, dbms_lob.call);
         dbms_lob.fileopen(src_loc, dbms_lob.file_readonly);
         dbms_lob.loadblobfromfile(bdoc,src_loc,dbms_lob.lobmaxsize,src_offset,dst_offset);
         dbms_lob.fileclose(src_loc);
         amount := dbms_lob.getLength(bdoc);
         dbms_lob.copy(document,bdoc,amount,1,1);
         document_type := 'application/pdf; name=attach.pdf';
    end Create_File_Attachment;Oracle Report created the PDF file correctly (original.pdf).
    I tried to attach the PDF into my Workflow.
    I can see the file is attached (attach.pdf), but it cannot be opened.
    The Adobe shows : 'A drawing error occured.' each time I open the attachment.
    I compare the original.pdf and the attach.pdf
    However, there is one specific difference
    - in original.pdf, the line started with '.' (single period)
    in attach.pdf, the line is started with '..' (two periods)
    Thus the attachment cannot be opened.
    After I delete the period, it can be opened.
    Question:
    - Has someone ever succeed in attaching the PDF created from Report?
    - Are the codes above is wrong?
    - Or perhaps the DBMS_LOB.LOADBLOBFROMFILE always double the single period on front of the line?
    - Is there any solution on this?
    Note:
    I have succeed in attaching PDF files unless the PDF created by the Report.
    Sorry for the long post.
    Please help. It is very urgent.
    Any help is appreciated.
    Many thanks,
    Buntoro

    The code looks absolutely good. I have the same code working in my system. Only difference is I use TRUE and DBMS_LOB.Session for the BLOB I use to read from the BFILE.
    I can suggest one more way to handle to binary attachments if you are on Oracle 9i DB are later versions.
    procedure attach_document (p_document_id   in varchar2,
                               p_display_type  in varchar2,
                               p_document      in out nocopy clob,
                               p_document_type in out nocopy varchar2)
    is
      l_nid        number;
      l_directory  varchar2(100);
      l_filename   varchar2(100);
      l_content_type varchar2(100);
      l_src_offset binary_integer := 1;
      l_dst_offset binary_integer := 1;
      l_err_msg    varchar2(100);
      l_amount     number;
      l_bfile BFILE;
      l_blob  BLOB;
      l_clob  CLOB;
      file_not_found exception;
      pragma EXCEPTION_INIT(file_not_found, -22288);
    begin
      l_nid := to_number(p_document_id);
      l_directory := trim(wf_notification.GetAttrText(l_nid, 'ATTR_DIRECTORY'));
      l_filename := trim(wf_notification.GetAttrText(l_nid, 'ATTR_FILENAME'));
      l_content_type := trim(wf_notification.GetAttrText(l_nid, 'ATTR_CONTENT_TYPE'));
      l_bfile := BFILENAME(l_directory, l_filename);
      dbms_lob.createtemporary(l_blob, true, dbms_lob.Session);
      dbms_lob.createtemporary(l_clob, true, dbms_lob.Session);
      begin
        dbms_lob.FileOpen(l_bfile, dbms_lob.File_Readonly);
      exception
        when file_not_found then
          l_err_msg := to_char(sqlcode)||' - Attachment File "'||l_filename||'" is not found.';
          raise_application_error(-20002, l_err_msg);
      end;
      dbms_lob.LoadBLOBFromFile(l_blob, l_bfile, dbms_lob.LobMaxSize, l_src_offset, l_dst_offset);
      dbms_lob.FileClose(l_bfile);
      -- Encode the BLOB content to BASE64 and attach to notification  
      wf_mail_util.EncodeBLOB(l_blob, l_clob);
      l_amount := dbms_lob.GetLength(l_clob);
      dbms_lob.Copy(p_document, l_clob, l_amount, 1, 1);
      -- Mention an appropriate Content Type so that Notification System
      -- understands the attachment content
      p_document_type := l_content_type||'; encoding=base64; name='||l_filename;
    end attach_document;Here I read the BLOB from the filesystem and base64 encode it before giving it to the Mailer. Please note that this is a PLSQLCLOB based attachment as against PLSQLBLOB that you are using.
    Thanks - Vijay

  • PDF file created from Oracle Report is created wrongly using dbms_lob

    Hi,
    Please help. It is very urgent.
    I am using Oracle Developer 10gR2, Oracle Report 10.1.2 on Windows 2000.
    I would like to attach the PDF file created by Oracle Report to the Notification sent from Workflow.
    I use the following package procedure in my Workflow.
    procedure Create_File_Attachment (document_id   in varchar2, display_type  in varchar2,
                                                                                         document      in out blob, document_type in out varchar2)
    is
         l_itemtype          varchar2(100);
         l_itemkey           varchar2(100);
         l_output_directory  varchar2(30);
         l_filename          varchar2(255);
         src_loc             bfile;
         bdoc                blob;
         src_offset          number := 1;
         dst_offset          number := 1;
         amount              number;
    begin
         l_itemtype := substr(document_id, 1, instr(document_id, ':') - 1);
         l_itemkey := substr(document_id, instr(document_id, ':') + 1, length(document_id) - 2);
         l_output_directory := 'USR_TMP_DIR';
         l_filename := Wf_Engine.GetItemAttrText(l_itemtype, l_itemkey, 'ATR_FILENAME');
         src_loc := bfilename(l_output_directory,l_filename);
         dbms_lob.createTemporary(bdoc, FALSE, dbms_lob.call);
         dbms_lob.fileopen(src_loc, dbms_lob.file_readonly);
         dbms_lob.loadblobfromfile(bdoc,src_loc,dbms_lob.lobmaxsize,src_offset,dst_offset);
         dbms_lob.fileclose(src_loc);
         amount := dbms_lob.getLength(bdoc);
         dbms_lob.copy(document,bdoc,amount,1,1);
         document_type := 'application/pdf; name=attach.pdf';
    end Create_File_Attachment;Oracle Report created the PDF file correctly (original.pdf).
    I tried to attach the PDF into my Workflow.
    I can see the file is attached (attach.pdf), but it cannot be opened.
    The Adobe shows : 'A drawing error occured.' each time I open the attachment.
    I compare the original.pdf and the attach.pdf
    However, there is one specific difference
    - in original.pdf, the line started with '.' (single period)
    in attach.pdf, the line is started with '..' (two periods)
    Thus the attachment cannot be opened.
    After I delete the period, it can be opened.
    Question:
    - Has someone ever succeed in attaching the PDF created from Report?
    - Are the codes above is wrong?
    - Or perhaps the DBMS_LOB.LOADBLOBFROMFILE always double the single period on front of the line?
    - Is there any solution on this?
    Note:
    I have succeed in attaching PDF files unless the PDF created by the Report.
    Sorry for the long post.
    Please help. It is very urgent.
    Any help is appreciated.
    Many thanks,
    Buntoro

    Hi,
    Please help. It is very urgent.
    I am using Oracle Developer 10gR2, Oracle Report 10.1.2 on Windows 2000.
    I would like to attach the PDF file created by Oracle Report to the Notification sent from Workflow.
    I use the following package procedure in my Workflow.
    procedure Create_File_Attachment (document_id   in varchar2, display_type  in varchar2,
                                                                                         document      in out blob, document_type in out varchar2)
    is
         l_itemtype          varchar2(100);
         l_itemkey           varchar2(100);
         l_output_directory  varchar2(30);
         l_filename          varchar2(255);
         src_loc             bfile;
         bdoc                blob;
         src_offset          number := 1;
         dst_offset          number := 1;
         amount              number;
    begin
         l_itemtype := substr(document_id, 1, instr(document_id, ':') - 1);
         l_itemkey := substr(document_id, instr(document_id, ':') + 1, length(document_id) - 2);
         l_output_directory := 'USR_TMP_DIR';
         l_filename := Wf_Engine.GetItemAttrText(l_itemtype, l_itemkey, 'ATR_FILENAME');
         src_loc := bfilename(l_output_directory,l_filename);
         dbms_lob.createTemporary(bdoc, FALSE, dbms_lob.call);
         dbms_lob.fileopen(src_loc, dbms_lob.file_readonly);
         dbms_lob.loadblobfromfile(bdoc,src_loc,dbms_lob.lobmaxsize,src_offset,dst_offset);
         dbms_lob.fileclose(src_loc);
         amount := dbms_lob.getLength(bdoc);
         dbms_lob.copy(document,bdoc,amount,1,1);
         document_type := 'application/pdf; name=attach.pdf';
    end Create_File_Attachment;Oracle Report created the PDF file correctly (original.pdf).
    I tried to attach the PDF into my Workflow.
    I can see the file is attached (attach.pdf), but it cannot be opened.
    The Adobe shows : 'A drawing error occured.' each time I open the attachment.
    I compare the original.pdf and the attach.pdf
    However, there is one specific difference
    - in original.pdf, the line started with '.' (single period)
    in attach.pdf, the line is started with '..' (two periods)
    Thus the attachment cannot be opened.
    After I delete the period, it can be opened.
    Question:
    - Has someone ever succeed in attaching the PDF created from Report?
    - Are the codes above is wrong?
    - Or perhaps the DBMS_LOB.LOADBLOBFROMFILE always double the single period on front of the line?
    - Is there any solution on this?
    Note:
    I have succeed in attaching PDF files unless the PDF created by the Report.
    Sorry for the long post.
    Please help. It is very urgent.
    Any help is appreciated.
    Many thanks,
    Buntoro

  • PDF download worked in FFox3 but not in 4. Do I have to wait for a new plug in for PDF files?

    I was downloading monthly statements from mutual fund firms. Firefox 4.0 worked fine with the T Rowe Price web site (they must not do anything tricky), but does not work with Fidelity. Firefox doesn't seem to recognize that what Fidelity is offering is really a PDF file. I tested the same action with my same computer and Safari as the browser which worked fine, and I tested the same action with my same computer and Firefox 3.6.16 and it, too, worked fine. Your help screen for PDF files suggest I download "Firefox PDF plugin extension" but when I get there, it says a version for FFox 4 is not available. I probably have that added to my 3.6.16 version and that's why it works there. So I guess I just have to use a different browser until that plugin is available. But it is another puzzle why TRowePrice makes it work with 4.0 and Fidelity doesn't.
    Do you have a better suggestion than "just wait" ?

    I have never herd of Verizon adding an additional account especially since new account required both a credit check and your signature. Anyway this is a customer to customer forum so I'm not sure how you expect other customers to help you.

  • Why can't I open PDF files created in Adobe X using Adobe XI? How do I fix this?

    Why can't I open PDF files created using Adobe X in Adobe XI?

    I try and open them in Reader (double left click on the file) and all I get is a single screen with two overlapping frames neither of which have anything to do with the subject although the presentation title is at the top.  One of the frames had "Adobemail.com" on it. Our work computers were recently up-graded to Adobe XI and this was the first time I tried to open a presentation that has worked fine in the past.  I would have thought that Adobe XI would have been backward  compatible, but it doesn't seem so. Any help would be greatly appreciated as I have an 08:00 First-Aid class tomorrow and need this presentation.  Apparently Adobe forums are off-line for up-grades.  Thanks
    [private data removed]

  • Finding Hidden PDF files created by iPhoto/Book

    early last year there was a discussion concerning the hidden high res pdf files created by Book in iPhoto. I've searched for it with no luck. I want to use the pages I create in Book for Quicktime Slideshows, as I did then. Is this still possible with iPhoto 6 and if so does anyone know where they are hidden now? I did right click on the book and save a pdf of the book but the res does not seem very high.

    It's been a while since you guys were on this topic, but here's my 2 cents.
    Wanting to see a PDF of my book to check on some text wrap issues, I did click "buy now" last night and cancelled as soon as the book was done assembling and iPhoto started the upload. Didn't receive an e-mail thanking me for my order, so I figured things were fine.
    This morning, I discovered a "pending transaction" to Apple on my bank account, and I am currently waiting to see if it will actually go through or not. When calling Apple Customer service, they told me my credit card was probably "pinged" because the order was started, but the charge may "fall off" because the upload was aborted. If I wanted to know for sure, I had to e-mail iPhoto support (calling wasn't possible), and could expect a response within 48 hrs. Well, within that time frame I will be able to see for myself what happens with that charge, but in the meantime the amount is deducted from my balance. So for anyone out there wondering what happens when you click "buy now," there you go.
    The good news is, I did get the desired PDF file. I compared it with the file that "File>Print" generates and the only differences I see in a quick comparison are:
    - File>Print does not include the blank pages (inside covers and back page), so I end up with 55 pages instead of 58, and the file size is slightly smaller (46.6MB compared to 47.2MB)
    - File>Print's PDF shows 792x612 dimensions (under "get info"), compared to Buy Now's 797.76001 x 617.76001. I have no idea what that is about. Maybe a bleed or something?
    Hope this helps someone.

  • I am unable to open PDF files created from another PGM.

    Is there an ADOBE pgm that will properly read in PDF files created from another pgm and convert them to ADOBE PDF so they do not error when they are opened to be viewed by ADOBE pgm?

    There is no way to know all the different scan/fax/pdf printers that are used to make the original PDFs...
    CAD-KAS PDF Editor 2.6 is used to edit the files
    doPDF 5 is used to modify pdf file.
    Interesting, I can use the free CAD-KAS PDF reader to open & read the PDF file that the ADOBE XI reader
    gives me the above error message.

  • Why does a PDF file created in Pages, attached to e-mail, not get sent?

    Why does a PDF file created in Pages, attached to e-mail, not get sent?  I even blank copied myself and nothing seems to have been sent.  Could it bee the size of the PDF file?

    They send for me, my test document was 3.8 MB.

  • Problem with PDF files created by Indesign

    PDF files created by Adobe Indesign come up as blank pages whereas PDF files created by Mac OS X or Apple's Pages display OK. Is there a difference in the way PDF files are created?

    No problem with Adobe Reader 8 or 9 .

  • PDF files created in Preview won't open in Adobe Reader

    I consider Preview to be a swiss army knife when it comes to working with PDF and graphic files. Lately (since the last OS update?) PDF files created in Preview won't open in Adobe Reader. Reader either crashes or just becomes unresponsive. I've been able to open the files in older versions of Adobe Professional but Reader 8 or 9 can't open the files. Anyone else experiencing these problems?

    Yes. We noticed this problem after upgrading to 10.6.7. When we made a PDF from Word 2011 or even Text Edit through Adobe's "Save as Adobe PDF" it would hang. When we made a PDF using Apple's "Save as PDF" it would lock up Acrobat Pro 9 and also Acrobat Pro X. NOTE that this only happened using Adobe OTF fonts.
    I posted this problem on Adobe's forum and received a message from admin there that this was caused by a change in font handling with Apple's 10.6.7 update.
    As of yet, no solution has been posted. I also received a message from Adobe's Tech Support that it was forwarded to their engineers.
    Still waiting.

  • How to use sdk to get the image in the pdf file created by illustrator?

    I have some pdf files create by illustrator and saved as pdf documents,
    now I want to use the sdk to get the image in pdf files.
    how to?
    Thanks.

    Thank you first!
    Yes,you are right,since I am new to illustrator,and I want to try to write a plugin,
    I have read the sdk doc and API and opened the sample in vs2010,but no idea about how to operate the pdf doc in illustrator with api.
    Hope more advise or any examples,thank a lot.

Maybe you are looking for

  • Managing Multiple Dynamic Windows (AJAX/HTML)

    Looking for a little direction on managing multiple dynamic windows. Creating windows that can be identified, and altered potentially, from the main window. Also, testing to see if a window already exists. Any help in idenitifying windows would be gr

  • Keyboard eject key delay, my feelings

    Here are my feelings about the fairly new feature of "keyboard eject key delay": I don't like it [ Edited by Host ]

  • Question on adding new server to existing pool in OVM 2.2 environment

    I have an existing iscsi based server pool with one server attached to the pool. I am adding a second ovm server. I have configured the iscsi and multipath modules and can see the repository lun. I then added the server to the pool via ovm manager, b

  • ParticalTrigger grammar mistake

    [2009-12-04T17:38:47.601+08:00] [AdminServer] [WARNING] [] [org.apache.myfaces.trinidadinternal.context.RequestContextImpl] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: 0000ILP3^t32j

  • Experiencing display problems with InDesign CC under Windows 8.1

    I have recently installed Adobe InDesign CC, and have experienced problems with the screen display when running it including pixelated icons and tool bars, in addition to text and image boxes that float whilst hovering over them with the cursor. I ha