Pdf of 0 size

Hi
I am trying to generate pdf using BIP APIs . The intermediate xsl-fo file is generating fine but the final pdf is not .
Please advise me where i am going wrong.
try
// Set the RTF template
FileInputStream fiS = new FileInputStream("e:\\work\\xmlp\\new.rtf");
//Instntiate the RTFProcessor
RTFProcessor rtfP = new RTFProcessor(fiS); // Set the output XSL
rtfP.setOutput("E:\\work\\xmlp\\new1.xsl"); // Process
rtfP.process();
catch (FileNotFoundException ex)
{    ex.printStackTrace();  
catch (IOException ex)
{    ex.printStackTrace();  
catch (XDOException ex)
{ ex.printStackTrace();    
FOProcessor processor = new FOProcessor();
processor.setData("E:\\work\\xmlp\\HelloWorld.xml");
processor.setTemplate("E:\\work\\xmlp\\new1.xsl");
processor.setOutputFormat(FOProcessor.FORMAT_PDF);
processor.setOutput("E:\\work\\xmlp\\new1.pdf");
try {    
// Process !
processor.generate();
catch (XDOException e)
e.printStackTrace();
}

Are you sure it really is 25% of the original size?  It's possible the image is of different sizes, and while in a binder, they will show them in relation to the other pages, not of their actual size.

Similar Messages

  • How to allow domain users to customize  Adobe PDF  printer page size in Printer Preferences

    Hi
    I am able to customize  Adobe PDF  printer page size in Printer Preferences in admin login but not able to customize  Adobe PDF  printer page size in domian users login...
    can I have a solution to customize  Adobe PDF  printer page size in domin user login

    WOW! I was amazed to see that within minutes of posting my initial thread, I tried something that works.
    Apparently, the only way is will actually convert is if you select the regular Print option in the File tab. Then, change the Printer to Adobe PDF & the Paper Size to 11x17. It also worked for 36"x48" becuase I created a custom size named "Poster", so I changed the paper size to Poster & it worked!
    I hope this helps someone. I searched for an existing forum on this issue off & on for MONTHS before creating this thread. If anyone has any suggestions why the Adobe PDF tab /PDF Maker wouldn't work, I'd like to know.

  • Adobe Acrobat XI pro version, Windows 7, running on iMac parallels, converting pdf to a pdf with reduced size is not possible, error: error in converting the file! What to do? Its a bit annoying not to be able to store pdf files in reduced size, any idea?

    Adobe Acrobat XI pro version, Windows 7, running on iMac parallels, converting pdf to a pdf with reduced size is not possible, error: error in converting the file! What to do? Its a bit annoying not to be able to store pdf files in reduced size, any idea?? Thanks, Jörg

    Hi Jorg ,
    Are you trying to reduce the file size with the "Reduced size PDF" in the save as other option.
    Give it a try if you haven't done it prior.
    Open that PDF>File>Save as Other>Reduced size PDF.
    If possible ,please share the snapshot of the error message with us so that we can have a look in order to assist you further.
    Regards
    Sukrit Dhingra

  • PDF Bloating in size

    Hello,
    We create some fancy and a lot of no-fancy PDF's in our shop.  I am currently working with a no-fancy PDF with a few lines, headings and text fields.  A colleague of mine wanted to move a text field by a bit.  I did that and when I saved the file (using File > Save as > Optimized PDF) the file size jumped from 9K to 12K.  I had customized settings for Optimized PDF for low resolution etc.,
    Since this is a highly intensive application and gets used quite a lot, bandwidth really matters.  I am curious to know why moving a text field causes an increase in size.  Secondly, we are getting big on creating PDF"s all the time - Is there a tutorial to create the smallest size PDF's?  I would like to create PDF"s of the least possible size.  Currently we use Word to create all the static stuff, save it as a PDF and then create text fields for the dynamic stuff using Adobe Pro.
    Thanks for your time.  I would really appreciate any input you could provide.
    Adobe Pro 9.3.2 on Windows XP

    Ah ha!
    When printing the PDF file I needed to change the page scaling from 'shrink to fit' to 'None'
    Fixed!

  • PDF Printer Page Size Limitation

    I have been creating documents in Microsoft Publisher 2007 & have been trying to convert them to PDF via the Acrobat PDF Maker. When I am dealing with 11x17 & Poster size (36"x48"), the PDFMaker gets into the Converting Process (60%) then displays the following option:
    PDF Page Size in Adobe PDF printer is small causing pages to be split.
    Press OK to convert without preserving transparency, bookmarks & links.
    Press Cancel to choose a bigger sheet (at least 17.00 by 11.00 inches)
    I hit cancel & have changed every Page Size option I can find including:
    the Change Conversion Settings, in the Adobe PDF tab in Publisher
    Conversion Settings: (Created custom setting with default page size)
    Printers & Faxes in Control Panel
    Adobe PDF Printer
    Printing Preferences
    Changed default settings & page size
    I even changed the output paper 11x17
    Yet, it never fails to try to convert everything into letter size. It seems as though it won't do anything over Letter size.
    I have Adobe Acrobat 9 Standard & running Windows XP.
    PLEASE HELP!

    WOW! I was amazed to see that within minutes of posting my initial thread, I tried something that works.
    Apparently, the only way is will actually convert is if you select the regular Print option in the File tab. Then, change the Printer to Adobe PDF & the Paper Size to 11x17. It also worked for 36"x48" becuase I created a custom size named "Poster", so I changed the paper size to Poster & it worked!
    I hope this helps someone. I searched for an existing forum on this issue off & on for MONTHS before creating this thread. If anyone has any suggestions why the Adobe PDF tab /PDF Maker wouldn't work, I'd like to know.

  • PDF reduce file size filters and CMYK to RGB conversion

    This doesn't seem to be on-topic to this forum, but I'm hoping someone here has the expertise to answer my question. We have some scripts which take a series of press-quality pdfs and use the "reduce file size" filter to prepare them for viewing on the web. We run these scripts on a 10.4 machine, and the filter works very well, reliably reducing file sizes of all sorts of pages.
    When we tried to upgrade the machine, we discovered that the quartz filtering has changed in 10.5 and 10.6. While it's usually an improvement, getting maybe 5-10% better compression ratios, it has become unreliable in that about 5% of my files fail spectacularly -- they blow up to 3, 4, 5, 6 times the original size.
    The other thing that happens is that the 10.5/10.6 filters munge the colors up. I found the solution to this -- in the ColorSynchUtility, make a duplicate of the Reduce File Size filter, and add a Color Management Component called Convert To Profile. This allows me to set a filter that converts the CMYK content to RGB. The problem is that there are about 40 choices of profiles, and it's not at all clear what I should use. Many of them have printer manufacturer's names in them, some say "Adobe", others have cryptic codes (probably referring to various RFCs and schemes). I've tried a couple of the ones that don't look like they are for printers, basically chosen at random. They all produce files of slightly different sizes for the reductions that go well, but on the files that blow up, some filters are better than others. (For example, I have a 5MB page which reduces to 1.4MB with the 10.4 filter, but blows up to 27MB with the "sRGB IE61966-2.1" profile, but only 12MB with the "Adobe RGB" profile.)
    So I have 2 questions:
    1) Is there any way to configure a 10.5/10.6 custom profile so that it behaves as reliably as the 10.4 "stock" PDF Reduce File Size works? It doesn't have to be the most wonderful compression algorithm out there, just so that it never or rarely has a file blow up in size.
    2) For converting press documents to pdfs that are going to go on the web, what is a good "Convert to profile" to use of the 40-some choices on the pull-down menu?

    Cathy,
    You have posted your question in a forum dedicated to the Final Cut Studio application Color. It is a very specialized program to grade (adjust) the color in video/film images. We know nothing regarding PDFs.
    Have you tried posting this on an Adobe support site?
    Good luck,
    x

  • Export to PDF ignores document size settings?

    I have several documents in InDesign CS4 and when I export them to PDF the document size changes.
    I have set all the following options to A4 (210x297mm):
    In Indesign: File->Document Settings
    In Windows->Printer settings->Adobe PDF->Paper Size
    After exporting and opening in Reader 9 the document size has changed to 210 x 303.3mm
    This then requires a tweak before the first print run.
    I should be able to just export to production and they can print from the PDF without checking the settings!
    What have I missed?

    I am using the export option not printing to PDF.
    The summary reads as follows
    Description
        [Based on 'Box Labels'] [Based on '[High Quality Print]'] Use these settings to create Adobe PDF documents for quality printing on desktop printers and proofers.  Created PDF documents can be opened with Acrobat and Adobe Reader 5.0 and later.
    PDF Preset: Box Labels
    Compatibility: Acrobat 8 (PDF 1.7)
    Standards Compliance: None
    General
        Pages: All
        Spreads: Off
        Generate Thumbnails: Off
        Optimise PDF: Off
        Create Acrobat Layers: Off
        Export Layers: Visible Layers
        Include Bookmarks: Off
        Include Hyperlinks: Off
        Export Nonprinting Objects: Off
        Export Visible Guides and Baseline Grids: Off
        Create Tagged PDF: Off
        Include Interactive Elements: Off
        Multimedia: N/A
    Compression
        Colour Images
            No Sampling Change
            for images above: 450 ppi
            Compression: None
            Tile Size: N/A
            Quality: None
        Greyscale Images
            Bicubic Downsample at: 300 ppi
            for images above: 450 ppi
            Compression: Automatic
            Tile Size: N/A
            Quality: Maximum
        Monochrome Images
            Bicubic Downsample at: 1200 ppi
            for images above: 1800 ppi
            Compression: CCITT Group 4
        Compress Text and Line Art: On
        Crop Image Data to Frames: On
    Marks and Bleeds
        Crop Marks: Off
        Bleed Marks: Off
        Registration Marks: Off
        Colour Bars: Off
        Page Information: On
        Page Mark Type: Default
        Weight: 0.25 pt
        Offset: 2.117 mm
        Use Document Bleed Settings: Off
        Bleed Top: 0 mm
        Bleed Bottom: 0 mm
        Bleed Left: 0 mm
        Bleed Right: 0 mm
        Include Slug Area: Off
    Output
        Colour Conversion: No Colour Conversion
        Destination: N/A
        Profile Inclusion Policy: Include RGB And Tagged Source CMYK Profiles
        Simulate Overprint: N/A
        Output Intent Profile Name: N/A
        Output Condition: N/A
        Output Condition Identifier: N/A
        Registry Name: N/A
    Advanced
        Subset Fonts Below: 100%
        Omit PDF: Off
        Omit EPS: Off
        Omit Bitmap Images: Off
        Transparency Flattener Preset: N/A
        Ignore Spread Overrides: N/A
    Security
        N/A
    Warnings

  • Export to PDF (smallest file size) is giving me a very large file

    Hi all,
    I got 2 document with around 100 pages (same size), with a picture or two in each page.
    I've been using the Export to PDF (smallest file size) and export it.
    first file became 5MB, which is fine
    second file became 30MB, this is much too much.
    I have used the exact same setting for both files and have no idea why the big difference between them.
    The only difference between them is that first file contains CMYK photos, and second one - RGB.
    Can this be the difference?
    Any suggestions?
    thanks,
    shlomit

    That's certainly part of the difference. Additional font information if one of the documents uses more fonts or additional glyphs could be some of it, too. Swatches and styles might also be a factor. Vectors don't compress like bitmaps, either.
    Have you opened the optimizer and done a space usage audit to see what is taking up all the space? Did you do a Save AS before export?

  • I need to compress an InDesign file to web-quality pdf but file size is still too big. Help!

    I need to compress an InDesign file to web-quality pdf but file size is still too big. Help!

    Hi Bill,
    It sounds like your document has a lot of pages and/or images in it.
    Instead of using the normal InDesign > Export command to create a PDF, you may be able to reduce the file size by printing to a PostScript file, then distilling it to PDF using Acrobat Distiller.

  • When converting a .pptx file of 6MB to .pdf, the file size ballooned to 25MB. The original file was created on a PC. What happened? Why? How to fix? Thx.

    When converting a .pptx file of 6MB to .pdf, the file size ballooned to 25MB. The original file was created on a PC. What happened? Why? How to fix? Thx.

    gssharpe wrote:
    What happened?
    Nothing much. Different formats.
    How to fix?
    Try editing the original file. Resample pics to a lower resolution, check out other graphics, check table borders (eliminate any dotted lines or borders), check font usage. When generating PDF, try Save As (instead of Print > Save As), although I don't expect that'll make much difference.
    Next, open the PDF in Preview, choose File > Save As, choose Format: PDF, Quartz Filterz: Reduce File Size. If that isn't enough, you can use ColorSync Utility to duplicate the Reduce File Size filter, and then edit it for a more aggressive size reduction. But keep in mind that size reduction means lower quality.

  • I print 2 pages to pdf and file size is 600k, I print 1 additonal page and file size goes to 6M, what would cause this (graphics are same on all pages)

    I print 2 pages to pdf and file size is 600k, I print 1 additonal page and file size goes to 6M, what would cause this (graphics are same on all pages).
    I know the colour graphic shading in the document that causes the issue of larger file size, but it doesn't make sense that printing 1 additional page with same information as first 2 pages would cause this.

    I print 2 pages to pdf and file size is 600k, I print 1 additonal page and file size goes to 6M, what would cause this (graphics are same on all pages).
    I know the colour graphic shading in the document that causes the issue of larger file size, but it doesn't make sense that printing 1 additional page with same information as first 2 pages would cause this.

  • Export to PDF and font size

    Hi,
    When I export the report to PDF, the font size is getting reduced. It is because of the legal size I have set in the report. If I set the print size to letter the font size are retained after export to pdf. I am using CR for visual studio 2005. Please help.
    Thanks,
    Priya

    Hi Priya,
    Try with this:
    Go to the following registry sub key:
    HKEY_USERS\[your security profile]\Software\Crystal Decisions\10.2\Crystal Reports\Export\Pdf
    Right-click the sub key and click New > DWORD Value. Name the DWORD value "ForceLargerFonts" and set it to the value of 1.
    Note :Backup the registry before making any changes.
    Regards,
    Shweta

  • How to get the Pdf's page size?

    Hi,
    Anyone can tell me how to get the pdf's page size with js in acrobat?
    Regards
    Goldbridge

    The page size will not always necessarily conform to a standard size such as A4 - PDFs can be defined at any abstract size a user wants. Having a function that only output standard sizes would greatly limit its ability, so it was left up to the user to calculate whether or not the returned rectangle is a standard size as that satisfies many more workflows than the opposite method.

  • Creating PDF in DINA4 size

    Hi
    I am using RSTXPDFT4 program for creatinfg PDF of spool request( Form printing)
    Original size of the form is INCH12.
    I want PDF in DINA4 size.
    Is this format conversion possible? ( I can't change original form size )

    Hi
    You can also use the fun module
    CONVERT_ABAPSPOOLJOB_2_PDF
    or the program
    RSTXPDFT4
    for converting the spool to PDF
    After converting see the output whether it is coming to DINA4 (A4 format) or not.
    Mostly it will come to that format only
    Reward points for useful Answers
    Regards
    Anji

  • PDF report Page Size

    I am using BI publisher in APEX to generate PDF report. Data is displayed only on paper size 8.5 X 11 regardless any paper size I select i.e. Letter 8.5x11, Legal 8.5x14, Tabloid 11x17, Custom 8.5x20.

    You need to specify the paper size in the RTF template. Iif you are using RTF templates? If not its an APEX issue and needs to be addressed by them
    Tim

  • Is there a way to split a very large 1 page pdf into letter size multiple page pdf?

    I often have very large single page pdfs that need to be printed onto letter size paper.  Usually I don't have access to the printer where I'm working so I have to send the file to someone for printing. 
    I have AXI pro, they don't. 
    I want to make sure the job is printed as I specify and most of the users are using Reader.  So I want to give the someone the pdf ready to print sized in legal.  This requires manipulation of the pdf that I don't seem to be able to figure out how to do.
    In older versions of Acrobat, I could print to a new pdf and designate the page size.  Acrobat would create the multipage pdf.  The newer versions don't allow this. 
    With OSX 10.8 & AXI you can't save, export, split a one page (68" x 16") document into multiple page letter size (16 pages) pdf.
    Perhaps this can be done by printing to eps and running through distiller again or something else, but I'm stumped at the moment.
    Any suggestions of how to attach this would be appreciated.
    Thanks.

    That's a tough one. Acrobat is not designed for tiling PDF files to create another PDF. That's really what you're asking. There is the option to PRINT to a PDF, and turn on the Poster feature. If were in Windows where there is a real Adobe PDF printer driver, you could probably use that feature. But for various reasons (too complicated to describe here), that was withdrawn on the Macintosh.
    If you have a copy of Adobe InDesign, and if you installed an Adobe PDF 9 PPD file (see description below), it could be done in a somewhat awkward way. InDesign allows you to place PDF files so you would need to make a page of the proper size and place your large PDF:
    Then after installing the Adobe PDF 9 PPD file, you could choose File > Print. Then choose to print a PostScript file to the Adobe PDF 9.0 PPD file. In the Setup panel, you'd choose a Letter size page. Then you'd choose the Tile option at the bottom and set the Overlap amount:
    Then you'd save the PostScript file and process through Distiller.
    My blog post below describes how to find and install the Adobe PDF 9.0 PPD file:
    http://indesignsecrets.com/creating-postscript-files-in-snow-leopard-for-older-print-workf lows.php

Maybe you are looking for

  • Can I trade my MacBook Air for a new MacBook Air that just came out?

    I was wondering that I bought the MacBook Air in November of 2010 and I would like to get the new MacBook Air can I just do a trade from Best Buy or Apply?

  • I created 2 apple IDs, can i delete one.

    I created 2 apple ID's. One with an email I dont' really use and have the mail forwarded to a newer account and the other was created using my me.com email that I don't use as my email either. I'd like to keep the first apple ID, its the one that is

  • Missing Parts in Process Order

    Hi Gurus, I was created process order, in that some materials are shortage, System showing what are the missing parts. it is also not allowing to release. But, it is allowing to save without release. My problem is System should not allow to save, if

  • Power View and page customization in Sharepoint

    Hi everyone I'm using SharePoint 2010 with SSRS 2014 and I've build some Power View Reports using the editor integrated in SharePoint storing them in Libraries. I'm interested in giving access to our users to this tool so they can create their own pe

  • C program to call and ABAP Bapi

    where I can find some example about how to call an Abap Bapi from an external C program ? regards