How to reduce size of output file?

Hi,
I am using Oracle Reports Report Builder 10.1.2.0.2 to generate native Microsoft Excel spreadsheets with the DESFORMAT=SPREADSHEET, DESTYPE=FILE and PRINTJOB=No options. The size of the file is several MB, 12 MB and up to be more exact. Once I save that spreadsheet as a native Microsoft Office Excel 2007 spreadsheet, the size is less then 1MB. Any ideas on how to get Oracle Reports to generate a more reasonable sized spreadsheet file? Will an upgrade to the latest version of Oracle Reports fix this?
Thanks,
ScottK

Solution
BI Publisher has two options for this issue:
1. BI Publisher Enterprise 10.1.3.4.1 Apply the latest Consolidated update patch.
Note 797057.1 in oracle support 'Overview of Available Update Patches for Oracle BI Publisher Enterprise' has the latest patch number.
This provides the ability to use true Excel (binary .xls) files as layout templates.
This layout format will generate binary Excel (.xls) output.
2. Or the end users can save the BIP Excel file to their PC, then open in Excel and "Save As" binary excel file, which the Excel program compresses.

Similar Messages

  • How to reduce size of html files with JAVA?

    We have html files full of tab char, carriage return, blank space between tags etc. We need to reduce the size of this files.
    HTML files are automatic generated by an engine and we cannot operate on it.
    Those files are in a solaris environment and we need to launch or to schedule something that can clean the files in this environment. The only tools we found are for Win environment so we toughth to make some java classes that parse HTML and clean the files.
    Does anyone know how some tool or the way to clean a file in java?
    Thank You

    Something like this can reduce the number of spaces between tags in the body of the file:public static final String readTextFromFile (File f)
            StringBuffer fileText = new StringBuffer();
            if (f != null && f.exists() && f.isFile())
                try
                    FileReader fr = new FileReader(f);
                    BufferedReader br = new BufferedReader(fr);
                    String s;
                    char c;
                    boolean inTag = false;
                    boolean lastWasSpace = false; // so we don't have a million spaces in a row
                    boolean inBody = false;
                    while ((s = br.readLine()) != null)
                        s += " ";
                        s = searchReplace(s, " ", " ");
                        if (!inBody)
                            int bodyStartPos = s.indexOf("<body");
                            // if not in body yet, reloop
                            if (bodyStartPos == -1)
                                continue;
                            // start it off
                            else
                                inBody = true;
                                s = s.substring(bodyStartPos);
                        for (int i = 0; i < s.length(); i++)
                            c = s.charAt(i);
                            if (c == '>')
                                inTag = false;
                            else if (c == '<')
                                inTag = true;
                            else if (!inTag)
                                if (!(c == ' ' && lastWasSpace))
                                    fileText.append(c);
                                if (c == ' ')
                                    lastWasSpace = true;
                                else
                                    lastWasSpace = false;
                    if (br != null)
                        br.close();
                    if (fr != null)
                        fr.close();
                catch (Exception e)
                    System.err.println(f + ": Error reading file");
            return fileText.toString();
        }

  • How to reduce size pdf file with 10.5.8

    How to reduce size pdf file with 10.5.8, I know it can be done with snow....

    Look at this link.
    https://discussions.apple.com/thread/1292868?start=0&tstart=0
     Cheers, Tom

  • How to reduce size of the executables

    Colleagues,
    I just would like to share small tip, which may be useful for someone else.
    Sometimes size of LabVIEW - based executable is pretty big (especially if you have placed arrays or graphic on the front panel, then set values as default, etc). Time to time we have discussed - how to reduce size of the builded executable. One possible soultion is open source Ultimate Packer for eXecutables - UPX and it seems to be OK for LabVIEW - based apps. Also command line arguments passed correctly.
    For example, Vision Assistant (which is LabVIEW-written itself) packed from 7 MB to 5 MB and works.
    with best regards,
    Andrey.

    In the days of <$100 1TB HDs and 20mbps FIOS, this seems less and less of a real problem that needs to be solved.  
    I am curious if this works also with older LabVIEW executables. Many years ago I was beta testing a similar utility and it would break LabVIEW executables. They were able to work around it but the compression benefit was less.
    Just curious. 
    From the UPX documentation:
    "Obviously UPX won't work with executables that want to read data from themselves"
    LabVIEW Champion . Do more with less code and in less time .

  • File size augments after editing a form? How to reduce size?

    Hello,
    I have been building a form and found that the size of my file grew after I made 'edits' onto (ie:  changing the wording of the original form scanned onto Acrobat Pro X, changing the font colour some letters etc.)
    Question 1:  Is this normal?
    Question 2: How to reduce the size of the file? (I am aware of the option that I could save the pdf into a version that's higher (by selecting anything between 6 to 10) and that would reduce the size of the pdf.
    BUT, I also learned that if the end-user, who will receive my form and fill it in, do not have that particular version that I've saved it to, then s/he could not fill in the form!!
    Is there a solution to my problem? Please help!
    *I am using Acrobat Pro X.

    Thank you all for your responses!
    Yes, I always save my file as PDF.   Just not reduced its size by saving it to a particular version.
    to 'Test Screen Name', there is a misunderstanding on option 2.  I referred to it so that I can save the file into a version like version 8.0 or higher.  But, I understood from earlier discussions in the forum here, that people may still have earlier versions of reader (ie 6.0 or lower?) and so that's why I suggested having a link for download.
    Even with that, I don't know how savvy my end-users may be to download.  I 've had problems where people read my file using Apple and that caused problems.

  • How to reduce size or compress PDF files?

    Hi guys,
    Does someone knows if there is a way  to reduce the size of the PDF file with good quality even on Pictures and Scanned documents? I know the option 'export', 'quartz filter' 'reduce size', but the compression is so extrem. Many files can't not been read, the quality is so bad. Is there a additional app, software or extension that let the user play with the compression on pdf files and let it be more personalized like the dopdf V7 available for windows? i am very dissapointed with this. Please help or suggestion. I will appreciate it. Thanks

    I have used the excellent PDF Toolkit app for a while, and its preformed well. Occassionaly it makes the document into a negative image...which Im noyt sure why...
    Mathishk, im trying your online version out, and am impressed and admire the fact that you have done this.
    Well done. 
    A TRICK i use often. Once all hires images are on the designed document - and its coming in at 15-20mb, just change the link to the images so they are 'missing' then make a pdf.
    i.e 'Hi Res images' to HRes images - old'
    The screen resolution of images is still great, but file comes in at fraction of the size.
    You 'trick' the document to use screen images only. So my 18mb file comes in as 5.2mb.
    Just remember to change the images folder name back, so files relink.
    Andy

  • How to reduce size of RAW & PSD files after all adjustments are finished?

    I thought I read something about an Aperture feature that reduces file size of RAW files to something like a large .jpg file. I have finished adjusting many RAW files and could better use the disc space for other things. Is there any such feature or procedure? I have not upgraded to Aperture 2.0 but will soon.
    Also, after making the round-trip to PhotoShop Elements, I see a large PSD file. Can I shrink that file after all adjustments are made?

    If you're using referenced files in Aperture, you can archive the raw files onto a CD or some other place and delete the original. Just make sure Aperture is set to generate previews before you do this. That way you can see the file even after it's gone. You can't export or make any adjustments unless you can re-link the raw file.
    And as far as PSD files, you should change your preferences to use TIFF for external editors. Then at least you can save the file in Photoshop as a compressed TIFF, which can save quite a bit of room. Also, I've noticed that Aperture uses 16-bit TIFF files, so you can save even more room by converting the file to an 8-bit TIFF.
    By the way, take note that while Aperture defaults to ".tiff" as it's file suffix for TIFF files, Photoshop prefers ".tif". This can cause confusion. You've been warned.

  • How to reduce size of C:\Windows\winsxs folder in windows 2008 R2?

    Hello,
    Is there any way to reduce size of C:\Windows\winsxs folder in windows 2008 R2
    simular to 
    DISM /online /Cleanup-Image /SpSuperseded
    Many thanks

    Okay maybe some background on the root of the problem would help.
    Windows XP (and Windows 2000) used a fast and great mechanism called Hotfix Installer (Update.exe) to install updates. Updates installed in very little time. If you wanted to further reduce update times on Windows XP, you could just temporarily stop the
    System Restore service and updates would install at crazy speeds. Note that this is not recommended for novice users who don't know advanced recovery methods, as some updates can sometimes cause your system to stop booting so you cannot even uninstall them.
    The method the Hotfix Installer used was simple, it just installed a new version of files to be updated at %windir%\system32 and %windir%\system32\dllcache (the Windows File Protection cache). For files that were in use, a restart copied them from dllcache
    to the system32 folder. This is simple file-based servicing. The hotfix installer (Update.exe) also supported various command line switches like /nobackup which means not to backup files it patches. Again, this is not recommended for novice users as some updates
    can screw your system even after the comprehensive testing Microsoft does before releasing them. But if you won't be uninstalling any updates (usually one only requires uninstalling updates if they cause problems), you could save a ton of disk space by not
    backing up the files it patched. The Hotfix Installer backed up files to C:\Windows\$Uninstall$KBxxxxxx folders so even if you did back up the files at install time, they could be safely deleted after a few days if no stability issues were found after using
    Windows with the newest updates applied. Update.exe also supported the very important and convenient ability to slipstream a service pack or update into the original Windows setup files using the /s switch.    
    When Microsoft was developing Windows Vista, they realized that components had gotten too many interdepencies on each other and to service each file reliably without breaking another component that relied on it, Microsoft introduced what they called as Component
    Based Servicing (CBS). You can read all about it in a much more technical way at The Servicing Guy's blog. What CBS does basically is it installs all files of the entire operating system, including all languages into C:\Windows\WinSxS and then it hard-links
    files from there to C:\Windows\system32. This has the benefit of not having to insert the OS disc to add or remove any components, and some other advantages as well like offline servicing of a Windows Vista or Windows 7 image. But the design introduces a major
    disadvantage of taking up a lot of hard disk space. Whenever an update is installed, it no longer installs it to C:\Windows\system32 and C:\Windows\system32\dllcache like Windows XP's hotfix installer (Update.exe) did. Instead, it updates the files in C:\Windows\WinSxS.
    Now, Windows keeps multiple copies of the same file but with different version in WinSxS if it is used by more than one Windows component. The higher the number of components, that many number of times the file exists in C:\Windows\WinSxS. When a Windows Vista
    update (.MSU) is installed, the components get updated, each and every one, instead of the files and the worst part is it still maintains the older superseded previous versions of components in WinSxS so the user would be able to uninstall updates. Microsoft
    does say that some sort of "scavenging" or deleting older copies of components takes place but is scarce on the details. The scavenging seems to take place automatically at certain intervals in Windows 7 but not in Windows Vista. In Windows Vista, you have
    to add or remove any Windows component for the scavenging to take place. And Microsoft says the scavenging will free up some disk space but in practice, on my system, I see my free disk space only decreasing on Vista as I remove or add any component. Windows
    does not give the user an option to not backup the earlier versions of components like Windows XP's /nobackup switch in Hotfix Installer did. As as you install more and more updates on your system, they will take more and more disk space. This is one of the
    primary reasons Windows Vista and Windows 7 are so bloated. Another reason for them being so bloated is the DriverStore that these OSes store. All drivers that are shipped with the OS and the OEM ones which you download and which are installed for a particular
    system are staged in C:\Windows\System32\DriverStore. But let's not go there for now.
    Now, an important thing to note is that the size of the WinSxS folder is not what Explorer or the dir command report, it is far less but is misreported by Explorer because it counts the hard links more than once when calculating size. That does not mean,
    the size of WinSxS is not causing real-world disk space problems on numerous Windows Vista/7 systems in use today. Microsoft's ingenious recommendation to this problem of ever growing disk consumption is to install fewer updates to keep the size of the servicing
    store under control. Of course, users cannot deny installing security updates and leave their system open to security holes. What they can do is install less optional updates, the ones that Microsoft releases on the fourth Tuesday of every month and also install
    less of the hotfixes that are available by request from a Knowledge Base article. In short, you have to trade the number of bugs fixed in the OS by installing hotfixes at the cost of enormous amounts of disk space. The whole servicing stack is a total downgrade
    to Windows XP's update.exe method. It causes heavy disk thrashing and slow logoffs/logons while Windows configures these updates at the Welcome Screen. Many systems are unable to boot because of failed updates. Another disadvantage of the "new" servicing stack
    (and the redesigned Setup mechanism of Windows Vista) is the inability to do a true slipstream of service packs and hotfixes.
    The time it takes to actually install these hotfixes online compared to Windows XP is also completely unacceptable. When you start installing an MSU update, it spends a lot of time determining whether the update applies to your system. Then, the update itself
    takes much longer to install compared to Windows XP's Update.exe (hours instead of minutes if you are installing dozens of updates through a script). Finally, that post-installation process ("Configuring updates... Do not turn off your computer") takes several
    minutes before shut down followed by a second post-installation process (configuration) upon restart before logon that also takes also several minutes and thrashes the disk.
    I can install the entire SP3 for Windows XP in about 10 minutes after downloading the full installer. I can also install a slipstreamed-with-SP3 copy of Windows XP is about 45 minutes on a modern fast PC. In contrast, Windows Vista or Windows 7 do install
    relatively quickly (in just about 15-20 minutes) on a modern PC but installing the service packs and updates takes more time than anything on XP did. Not only can service packs not be slipstreamed, but Vista Service Packs are not even cumulative, which means
    if you clean install Windows Vista today, you have to install SP1 first which takes about 90 minutes, then SP2 which takes less time, then all the post-SP2 updates which do take hours to install. If you really HAVE to use Windows 7 or Windows Vista, you are
    stuck with this slow update non-sense as Microsoft does not even acknowledge that there is any slowdown or loss of functionality in the new servicing mechanism. The fact remains: MSU updates are slow as **** and take too much time and as Windows 7/Vista get
    older and Microsoft stops producing service packs, a clean install is going to take longer and longer to bring it up-to-date with all patches installed. Is is worth wasting your time on an OS whose servicing mechanism Microsoft completely screwed up? I once
    again recommend you read more about the servicing stack and how it operates at The Servicing Guy's blog:http://blogs.technet.com/b/joscon/. To fix this messed up servicing stack, Microsoft also offers a tool
    called CheckSUR for your system if it finds “inconsistencies in the servicing store”.
    Microsoft's Windows Vista and Windows 7 products are not engineered with disk space in mind. It causes a problem, especially for SSDs which are still low capacity and very expensive. The only hope is that Microsoft again completely redesigns this servicing
    mechanism in a future Windows release so it would not cause this growing disk space consumption issue, speed up installation of updates by an order of magnitude, not slow down logon and logoff, not prevent systems becoming unusable because of failed updates
    being stuck at a particular stage and allow true slipstreaming.
    Microsoft's response to this is vague - they simply state "Windows 7's servicing is more reliable than Windows XP" but they cannot acknowledge it is a million times slower and still unreliable...slow to the point of being unusable and sometimes leaving systems
    in an unbootable damaged state. Of course they know all this too but can't admit it since it makes their latest OSes look poor. Moving from a very simple and fast update mechanism that worked to a complex one that requires endless “configuring” and repair
    through CheckSUR is a product engineering defect.
    Take a look at servicing-related complaints in Microsoft's own forums:
    1.
    Very slow install of updates to Windows 7
    2.
    Windows 7 - Updates are very slow
    3.
    Windows 7 Ultimate, it takes long time configuring updates
    4.
    "Preparing To Configure Windows. Please Do Not Turn Off Your Computer"
    5.
    Very slow update install at shutdown (Windows 7 Home Premium)
    6.
    Why does my computer run so slow when installing updates?
    7.
    Every time the computer is shut down, it always says installing update do not turn off your computer
    8.
    Computer is working slow and wants to do windows updates all the time
    9.
    Windows 7 Update install time taking a very long time
    10.
    Windows wants to install 6 updates every time I log off or put the computer in sleep mode
    11.
    Problem In Configuring Windows Updates at the time of Startup
    12.
    Computer really slow after latest updates
    13.
    Windows hangs up in "configuring updates"
    14.
    Why can't windows 7 install updates?
    15.
    Every time computer is shut down, receive Installing updates, do not shut off....
    16.
    How long does it take for the Windows 7 Home Premium updates take?
    17.
    Windows 7 "Installing Update 2 of 2" for 12 hours now
    18.
    Updates causes endless reboots
    19.
    Updates stuck installing for over 24 hrs. Computer does not boot
    20.
    Cannot load Windows 7 after installing 2 critical updates
    A proper solution to this problem would be to completely re-engineer and rewrite the servicing mechanism so it operates with the speed, reliability and pain-free operation of the XP servicing mechanism.
    I don't see this situation improving in Windows 8 either. Good luck with your Windows tablet taking hours to install service packs and updates. Now, do iPads take that long to install updates?
    Microsoft understated the real system requirements to keep a Windows 7/Vista system running. System requirements at install time may be 15 GB of free disk space but over time, this number increases to alarming levels as you install more service packs and
    post SP-updates. You can find out the real size of the WinSxS folder using a tool like cttruesize (ctts.exe) (download it from
    http://www.heise.de/software/download/cttruesize/50272 and run ctts -la -a -l C:\Windows to find the correct size minus the hard links which MS says causes Explorer to misreport the WinSxS
    folder size but the fact remains that even with the correctly calculated size of WinSxS, the disk space requirements of Windows 7 to keep it updated are unacceptable, especially for people's SSDs which are running out of disk space!

  • How to reduce size of image without loss quality

    I am website developer design a website http://www.ritikakaur.com/ in wordpress php i am new in photoshop and i want to use some image plz suggest me how can i reduce size of image without loss of image quality.

    Which file formats are eligible for your purposes?
    non-destructive compression has limits, so you may have to compromise.

  • How to reduce size of pics saved in iPhoto?

    How do i reduce the size of a pic that is already saved in iphoto?

    You can't. iPhoto is specifically designed to protect your original photo. You cannot change it in any way.
    If you want a reduced size for use somewhere else - to upload to a website or similar - then you can reduce the size on Export, using the File -> Export command.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • How to find whether the output file is generated or not?

    Hi,
    I ran EDI 855 program for one of our customer. The program succesfully completed and it shows in the logfile that few documents got processed and few lines got processed. But the output file in the outbound directory shows the file size as zero.
    Can anyone please let me know what could be the problem.
    And please let me know how to check whether flatfile is generated succesfully for the request run for any customer.
    Thanks in advance.
    Satya

    Hi Venkat,
    As every one have already explained other points,in standard SAP there is no provision to determine as if the sales order is intercompany or not.
    But if you  want you can create a user status as normal sales order and intercompany sales order.So by checking the status at table level or in order you can determine if it is Intercompany or normal sales order.
    Best way is to create a different document type itself which will be exclusively used for intercompany orders.So it will be easy for reporting and tracking purpose.
    Reward points if useful
    Regards,
    Amrish Purohit

  • How to get Log and Output File Names for a concurrent request

    Hi,
    I am submitting a concurrent frm OAF with the following code in AM
    try{
    OADBTransaction tx = getOADBTransaction();
    Connection conn = tx.getJdbcConnection();
    ConcurrentRequest cr = new ConcurrentRequest(conn);
    Vector parameters = new Vector();
    parameters.addElement("10");
    nRequestID= cr.submitRequest("CIE","DTFEMP","","",false,parameters);
    tx.commit();
    }catch(RequestSubmissionException e)
    How do i get the handle to log and output files for the abvoe concurrent request ?
    One more thing is there a way where we can evaluate the environment variables
    like in the above example once i get a the request id
    logfile = $APPLCSF/$APPLOUT/"l"+requestID+".log"
    and
    outputfile=$APPLCSF/$APPLOUT/"o"+requestID+".out"
    is there a way i can get the values of $APPLCSF and $APPLOUT from the os ?
    Thanks
    Tom...
    Thanks
    Tom ...

    You can query the Fnd_Concurrent_Requests table using Request_ID, which has the log & out file directory details.
    Hth
    Srini

  • How to get multiple html output file  from an xml document via xslt?

    Hi,
    the purpose is to generate multiple html output file from one xml file
    depending on special tag.
    exp: i have an xml file which contains sevreral articles so how to get each article section in an independant html file
    Thanks for help

    Not a standard feature of XSLT. But Michael Kay's XSLT implementation, SAXON, provides that as an extension. Get it here:
    http://saxon.sourceforge.net/

  • How to reduce fields in DME file

    Hi
    Can anyone help me How we can reduce fields in DME file.
    Ramesh

    Nandita,
    thank you very much.
    Can you please help me  know how to suppress the field length of an element. Say the length of the field is 11 and the data generating in that field consists of only 8 characters, then the field should reflect 8 characters only and the remaining should be blank. Currently it is coming as a space, which is not acceptable by bank.
    Many Thanks
    Ramesh Babu

  • HOW CAN GET SIZE OF UPLAODED FILES UNDER IRECUIRMENT

    Dear All ,
    How can we get size for Irecuitiment .When users uploaded documents . I want to know the size of uploaded files.
    I try select * from IRC_DOCUEMTNS ..
    Any Idea please.
    Edited by: user12010537 on 21/03/2010 01:29 ص

    Hi Jason!
    I believe that should be all you need to do but a better place to ask would be the Parallels forums. Have a look here <http://forums.parallels.com/>.
    Hope this helps! bill
    1 GHz Powerbook G4   Mac OS X (10.4.8)  

Maybe you are looking for