Compressed PDF Dictionary Entry w/ Portable Collections in PDF 1.7/Acrobat 9.0?

First of all, I apologize if this is in the wrong forum, but I thought it could potentially be tied into the SDK.
Anyhow, I am in the process of writing a program for verifying PDF file structure and whether or not the file adheres to the current spec.  A current issue I have encountered is a seemingly compressed PDF dictionary entry inside the PDF file.  This seems to only occur with files that use Portable Collections, and the strange thing is that the beginning of the entry is in plaintext, but then it gets compressed somewhere along the way (with no corresponding /Filter entry).  Of course Acrobat 9 reads the file without issue, but I cant for the life of me discern what compression is actually being used.  Any help was to what is actually occurring here would be most appreciated.
Here's an example (converted from hex to ascii so some of the caracters may be incorrect):
<</Subtype/XML/Length 2986/Type/Metadata?W}pT????&???$?_?8]7~??6??kM??}Y?l $!?20??
Raw string:
0D3C3C2F537562747970652F584D4C2F4C656E67746820323938362F547970652F4D65746164617461AC577D70 54D515DFCD269B0F1C24885FE9385D377E00F336EFFB6B4DA2D97D59126C202421093230BEC
As you can see, the dictionary entry begins in cleartext and then gets compressed along the way.  This doesn't seem to be Ascii85 and couldn't be Flate, right? So does that mean that it is run-length?
Thanks!

Can you please provide an actual PDF with this?

Similar Messages

  • Does Pages always compress(jpeg) tiff files in docs exported to PDF?

    Title say it all really.
    I would like to export a Pages 09 document, which contains high-res tiff images, to a PDF.  I do not want the images to have any compression applied.  Is this possible?

    Yes, it is.  Pdf if is a kind of image format but not in the way that jpeg, gif or tiffs are. here is what Wikipedia says about it.
    Portable Document Format (PDF) is a file format used to represent documents in a manner independent of application software, hardware, and operating systems.[2] Each PDF file encapsulates a complete description of a fixed-layout flat document, including the text, fonts, graphics, and other information needed to display it.
    For what purpose do you want your Pages document to be exported to PDF?

  • Unable to Load Portable Collection File

    Hello, I created a Portable Collector and am trying to load this file into my Zenworks 7.5 (R12) but I keep getting the following error message when I use the wizard to import it:
    "There were problems loading 1 workstation inventory files. For details, refer to the Manager event log or the error log file from which you loaded data."
    I'm not sure where the Manager event log is nor the error log file that they're referring to. I checked the application and system event logs in MS event viewer but that showed nothing. I resorted to checking the install path event logs and found this in TSCMgrEvent20080617.log:
    <EVENT AT="6/17/2008 8:53:55 PM" SEVERITY="Info">
    Application Object Info at 6/17/2008 8:53:55 PM on KCAMOM09 by KCAMOM09
    Object Deleted
    [2.4.100] The object was deleted by another user or process.
    Class:"Collection Server"
    Name:"KCAMOM09"
    Database Persistence Layer Info in CDBPersister::Retrieve at 6/17/2008 8:53:55 PM
    Object Deleted
    [2.5.9] was deleted by another user.
    </EVENT>
    <EVENT AT="6/17/2008 8:53:55 PM" SEVERITY="Warning">
    ZENworks Asset Management Manager Warning at 6/17/2008 8:53:55 PM on KCAMOM09 by KCAMOM09
    Load Portable Collection Failure
    [2.8.100] Unable to load workstation inventory file: c:\91DA8A7A-FA60-47D4-9D9D-C8B5CB322DB1.wif.
    </EVENT>
    I check the inventory from the web console and the computer isn't even listed there. Can anyone shed any light? I've searched the forums and the KB and found nothing at all. I need to get this portable collector up by this weekend...any help would be greatly appreciated!
    - Tommy

    A couple of things... first, you MUST load a Portable Collection using the same Collection Server as created the Portable Collector. Second, it sounds very much like somehow your Portable.Ini has gotten dinged. That's not a file you can simply edit and save; if you try, ZAM will stop working. It needs to be updated in the File Store before it'll be accepted. That's a security measure to prevent outside influences from altering that file (as others) for nefarious purposes.
    Please contact Novell Technical Support and tell them that your Portable.Ini needs to be replaced. They'll send you a good copy of Portable.Ini and set you up with UpdateFS, which will register the good copy in your FileStore.
    Another possibility... are you running Oracle instead of MSSQL? It's possible that one or more filenames in the File Store are out of sync with their names in the DB. Oracle being case-sensitive, that's very very easy to do. Again, Novell Technical Support can help you through fixing it if it's true. It's not something that can be simply remedied by oneself.
    -- Tim --
    Originally Posted by tommytu
    I've tried creating a portable collector from the same machine and it seems to not work after installing IR12.
    I get the same message if I try to use a portable collector creating from another server (but changing the collectionserverOID in CPS.ini). Will this work? is there something else I have to change?
    I've noticed that when I create the portable collector, I only get the following files:
    checkpath.exe
    collect.bat
    coptset.kb
    cps.ini
    disk1.tsz (4.4 megs)
    end.bat
    fec.kb
    findst.exe
    ignore.dat
    lastprog.dsk
    logappnd.exe
    pextract.exe
    setcwd.tem
    spacew32.exe
    udf.kb
    zamstr.bat
    When I run this collector, I get a "COLLECT2.BAT is not recognized as an internal or external command."
    The collector that works has a bunch of other files including collect2.bat
    Any ideas?

  • Is there a way to export the data collected with PDF forms, and saved via FormsCentral, into a MS Excel or Access file format?

    or Is there another place to save data collected by PDF forms other than FormsCentral? e.g. another database on the web server that presents the form?

    Hi,
    Yes, you can export user responses into an excel file. To do that, open the responses tab, select Files -> Export Responses and select Microsoft Excel to export response data into.
    Thanks,
    Wenlan

  • How the freight cost are transferred from condition type of shipment cost document to service entry sheet and collected in service PO item

    Dear Experts:
    could you please share with me the knowledge for below topic:
    How the freight cost are transferred from condition type of shipment cost document to service entry sheet and collected in service PO item, because these three objects use three different pricing procedures, and different condition type.
    how did the condition type of service entry sheet know to copy the value of whcih condition type in the pricing procedure of shipment cost document?
    Is this SAP standard function OR there need an enhancement to do that?
    I didn’t find related condition value copy setting in background, could you please share related setting with me? Thank you very much for your kind help!
    Best regards,
    Andy

    Hi, Gopi,
    Glad to see your feedback, but i still have question on your feedback:
    which condition type in the pricing procedure of service entry sheet should know to capture the net value of shipment cost doc? becasue there are so many condition types,
    And i have checked the corresponding condition type (PRSX) of service entry sheet pricing procedure in my SAP system, this is a self-defined condition type, but NO any calculation routine maintained for the condition type (PRSX), how did the condition type (PRSX) know to copy the total cost of shipment cost document?
    Below is the example and another question:
    what the relationship between the pricing procedures at service PO item level and service line item level?
    1. The freight cost in shipment cost document—including used condition type and pricing procedure
    The pricing procedure of shipment cost document
    2. The freight cost in service entry sheet—including used condition type and pricing procedure
    The pricing procedure of service entry sheet--the pricing procedure at service line item level
    3. The freight cost in service PO item—including used condition type and pricing procedure:

  • Portable collection fails

    I am trying to do a portable collection on a disconnected workstation. It
    is a fairly vanilla configuration with not much configuration done. I
    created the portable collector using the wizard in the ZAM manager, copied
    the folder contents to a removable hard drive, then plugged the HD into the
    target system.
    When I run the collector from a command prompt ["COLLECT /D
    f:\CollectionData"], it hums for a minute or so, then displays three
    identical error messages: "The system cannot find the file specified." and
    the prompt is sitting in the current "temp" directory. When I look in the
    target data directory, there is an "error.log" file with one line:
    "COLLECT2: Directory full: "F:\CollectionData". I tried again using the C:
    drive as the target with the same result, except that the error.log file
    says that my C:\ drive is full.
    I have looked in the documentation, but I see nothing on troubleshooting
    this process. Any ideas as to what is going on?
    Dennis R. Crowther, CNE
    crowther@salud_NOSPAM_.unm.edu

    That is the way I originally attempted to run it. I checked again with the
    "/M" switch to display the menus. I get the same errors. I see there is an
    IR5 for ZAM 7.5 just released - maybe I should try that.
    Dennis R. Crowther, CNE
    crowther@salud_NOSPAM_.unm.edu
    >>> On 9/13/2007 at 7:06 PM, in message
    <G8lGi.828$[email protected]>, WoofaJB<[email protected]>
    wrote:
    > Can you just browse to the director at the command prompt and just run
    > COLLECT.BAT without any switches?
    >
    > It may need a slash after the destination folder name.

  • Firefox 17.0 for Mac OS X missing Preferences- Applications- Preview Doc (application/PDF) entry to set behavior for PDF files

    I want to set Firefox to automatically download or save a PDF without the panel coming up to ask me. However, when I go to Firefox->Preferences->Applications there is no entry for PDF files to set it to open or save the file without asking me (i.e., no Preview Document (application/PDF).
    I am using Firefox 17.0 with Mac OS X 10.6.8 using Intel Core 2 Duo

    I have .pdf associated with Preview. The issue is that in Firefox->Preferences-> Application tab does NOT contain an entry for Preview Document ((application/PDF) which is needed to do an association that will occur automatically every time Firefox encounters a doc of that type. (the application tab has Preview Document (image/<6 types>) but no entry for the PDF format.

  • Changing package - object dictionary entry

    Hi all,
    my basis has copied a report from a different sap instance to my sap instance. But the package program is not existing in my sap system. Because of this I am not able to modify the program. also I am not able to change the object dictionary entry.
    Please tell me how to modify the object dictionary entry of the program in this case.
    Thanks
    Mark

    try by making a copy of the program..
    Cheers
    L

  • Stardict. Customizing dictionary entry colors.

    This is a shameless plug but I truly believe many people will find it useful
    Just go and read it:
    http://horizonsplit.wordpress.com/2010/ … ry-colors/
    This blog post describes how to change stardict dictionary entry colors from default ultra light green and violet to any colors of your choice. Must come in handy
    Last edited by xCrucialDudex (2010-04-15 18:50:37)

    Yes, it makes sense. What you want to do is to edit the CSS files for the main blog page itself. Here is a thread...
    http://discussions.apple.com/thread.jspa?messageID=2936742&#2936742

  • User-created Dictionary entries getting ignored

    I have several entries in my user-created dictionary, and while they initially worked fine, now my phone has begun totally ignoring them and trying to turn them into other words. How can I make the user-created dictionary entries trump autocorrect? It's so frustrating when my personally created entries are there and they don't do a single thing useful. It's really frustrating.

    Hi
    Could you pl let me know how to check the error in SM13 entry ?
    I could get following info if i double click on the line
    Number Module name (function)         Type                 Status
        1  ADRESSE_WRITE_DOCUMENT         V2                   Initial
        2  ADDR_SAVE_INTERN               V1                   Initial
        3  VENDOR_INSERT                  V1                   Initial
        4  KRED_WRITE_DOCUMENT            V1                   Initial
    thank you
    bhakti

  • Problem in merging large collection of PDF  in single pdf at a time-itext

    hi
    i am using itext library for PDF generation.My problem is ,when i merge the large number of PDFs which is already
    generated, in a single PDF ,i got 'Out of Memery' exceptions,but when i doing this with limited number of PDFs
    they are concated as a single PDF .so what shall i do to overcome Out of memory exceptions.because,our client wants to print the mass PDF ,which may have more than 1000 PDFs on a single merged PDF .if any possible,when i merge the single PDF with already merged PDF one by one at a time when it will be generated,how can i handle I/O streams to open one PDF at a time and merge with already generated PDF on the same time,and how can i append the generating PDF directly on already generated PDF using streams
    This is my java code:
    package javaexamples;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    import com.lowagie.text.Document;
    import com.lowagie.text.pdf.BaseFont;
    import com.lowagie.text.pdf.PdfContentByte;
    import com.lowagie.text.pdf.PdfImportedPage;
    import com.lowagie.text.pdf.PdfReader;
    import com.lowagie.text.pdf.PdfWriter;
    public class ConcatPDFs {
              public static void main(String[] args) {
              try {
              List pdfs = new ArrayList();
              Document document     = new Document();
              OutputStream output = new FileOutputStream("E:\\templates\\out\\Merged PDF\\merge.pdf",true);
              PdfWriter writer      = PdfWriter.getInstance(document, output);
              pdfs.add(new FileInputStream("E:\\templates\\out\\07J439HF_FINAL_EVALU.pdf"));
              pdfs.add(new FileInputStream("E:\\templates\\out\\07J440HF_FINAL_EVALU.pdf"))*;*//it may be increased over thousand paths.
              ConcatPDFs.concatPDFs(document,writer,pdfs, true);
              output.flush();
              document.close();
              output.close();
              } catch (Exception e) {
              e.printStackTrace();
              public static void concatPDFs(Document document,PdfWriter writer,List streamOfPDFFiles, boolean paginate) {
              try {
              List pdfs = streamOfPDFFiles;
              List readers = new ArrayList();
              int totalPages = 0;
              java.util.Iterator iteratorPDFs = pdfs.iterator();
              // Create Readers for the pdfs.
              while (iteratorPDFs.hasNext()) {
              InputStream pdf = (FileInputStream)iteratorPDFs.next();
              PdfReader pdfReader = new PdfReader(pdf);
              readers.add(pdfReader);
              totalPages += pdfReader.getNumberOfPages();
              // Create a writer for the outputstream
              document.open();
              BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA, BaseFont.CP1252, BaseFont.NOT_EMBEDDED);
              PdfContentByte cb = writer.getDirectContent(); // Holds the PDF
              // data
              PdfImportedPage page;
              int currentPageNumber = 0;
              int pageOfCurrentReaderPDF = 0;
              Iterator iteratorPDFReader = readers.iterator();
              // Loop through the PDF files and add to the output.
              while (iteratorPDFReader.hasNext()) {
              PdfReader pdfReader = (PdfReader)iteratorPDFReader.next();
              // Create a new page in the target for each source page.
              while (pageOfCurrentReaderPDF < pdfReader.getNumberOfPages()) {
              document.newPage();
              pageOfCurrentReaderPDF++;
              currentPageNumber++;
              page = writer.getImportedPage(pdfReader, pageOfCurrentReaderPDF);
              cb.addTemplate(page, 0, 0);
              // Code for pagination.
              if (paginate) {
              cb.beginText();
              cb.setFontAndSize(bf, 9);
              cb.showTextAligned(PdfContentByte.ALIGN_CENTER, "" + currentPageNumber + " of " + totalPages, 520, 5, 0);
              cb.endText();
              pageOfCurrentReaderPDF = 0;
              } catch (Exception e) {
              e.printStackTrace();
              } finally {
                   System.out.println("SUCCESS");
              /*try {
              if (outputStream != null);
              //outputStream.close();
              } catch (IOException ioe) {
              ioe.printStackTrace();
    thanks in advance
    regards
    Oasisdeserts

    thanks for your reply,
    i already tried open and close the output stream and Input Stream to read and write every PDF,but i conflicted that that last PDF only is written in the final merged PDF.so what can i do to this every time the new PDF is to take to merge with already merged PDF.
    i want know about CODE TAGS
    As per your succession,
    for(int i =0 ;i<200;i++){
                   output = new FileOutputStream("E:\\templates\\out\\Merged PDF\\merge.pdf",true);
                   document.open();
                   String value     = "E:\\templates\\out\\07J439HF_FINAL_EVALU.pdf";
                   ConcatPDFs.concatPDFs(document,writer,value, true);
                   output.flush();
                   document.close();
                   output.close();
    thanks
    regards
    Edited by: oasisdesert on Oct 22, 2008 3:03 AM

  • How do I open desktop .pdfs in Preview but in-line (Web) .pdfs in Safari?

    Hi, all-
    I've got Safari 6 and Mountain Lion, and I like being able to view .pdf files on the Web in Safari, for example, they open in a new tab. However, I also have a lot of .pdfs on my desktop. I want those to open in Preview. What happens now is that when I double-click one, Safari launches, and the .pdf opens there. Then I have to click on the "Open in Preview" button at the bottom of the screen.
    I have tried changing the "Open with" selection (in a .pdf Info window) to Preview, and I've clicked the Change All button. But then, everything opens in Preview (I guess as you'd suspect). So, when I click a link to a .pdf on a Web site, instead of nicely opening in a new tab in Safari, it opens in Preview.
    To make matters more complicated, when I have gone back and changed the "Open with" option to Safari, then everything opens in Safari, including when I click on the "Open in Preview" button. In other words, when I see a .pdf in Safari, and then I click "Open in Preview," all it does is it opens another tab in Safari and displays the file there. It's either all or nothing.
    All I want to be able to do is have .pdfs that are on my desktop open in Preview, and .pdfs that are linked to Web sites open in Safari. Is there any way to do this?

    Please search the plugins page for the term "PDF". You should find this:
    WebKit built-in PDF
    MIME Type
    Description
    Extensions
    application/pdf
    Portable Document Format
    pdf
    If you find any other instances, post them.

  • How to make firefox open a URL in a PDF document which is loaded using Adobe PDF viewer in firefox to always in a new browser window ?

    Hi
    I have a web application which would enable users to see a list of PDF document on the web page and when the user select the PDF document, it will be open by a adobe PDF viewer.
    Within the content of the PDF document, it will contact URL links to some other portal web pages which we would like these other web pages to be open in a new browser window, but our testing shows that the new web pages may not always open in a new browser window.
    Could you help to advise how I can enforce that new web pages that are clicked from the PDF document can always be open in a new firefox browser window ?
    Thanks in advance.
    Regards
    Sen Lee

    Hello,
    In order to change the default reader for PDF files (to not open PDF files with Firefox's internal PDF reader), follow these steps:
    #Go to ''Tools'' > ''Options'' (or ''Firefox'' > ''Options'').
    #In the Options window, select the ''Applications'' tab.
    #In the ''Search'' field, type ''PDF''. You should find ''Portable Document Format (PDF)''.
    #On the right handside you should find an ''Action'' column. Use that to select your favorite PDF reader. In order to view PDF files in Firefox, choose ''Preview in Firefox''.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Cannot open pdf files with Firefox's built-in pdf viewer

    This just started (I think) with Firefox 37.01. This is on Win7-X64. I cannot open pdf files with the Firefox built-in pdf viewer. If I click on the file or try to open it from within Firefox, it brings up a "opening filename.pdf" message. If I select the "Open with" radio button as 'Firefox (default),' it just keeps looping on this process; it never opens. In Tools => Options => Applications, Portable Document Format (PDF) is indicated as 'Preview in Firefox.' I've never had any other PDF viewer installed on this computer. I've tried disabling all plug-ins and extensions, but it still doesn't work. I searched for solutions but haven't found any for this specific issue.
    Thanks for the help.

    Hello,
    Have you tried, to start Firefox in safemode you can do so by following these steps
    '''If Firefox is open,''' you can restart in Firefox Safe Mode from the Help menu:
    * Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    '''If Firefox is not running,''' you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".
    ;[[Image:SafeMode-Fx35]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • Exporting PDF's from Photoshop - Low quality / messed up image in Acrobat

    Hi guys, I am having this problem for quite some time now and i can't figure it out.
    So i have created a portfolio design in Photoshop, and now i want to export that out of Photoshop into images / pdf  combining all the files into one PDF
    The problem i have is that the output from Photoshop when it gets into Acrobat, has all kinds of artifacts and different (low) image quality.
    I have used all the presets from the "save as pdf" menu in Photoshop as well as exporting as png's or jpegs and creating pdf from Acrobat.
    Is this a rendering bug from Acrobat ? When i zoom enough, the problem disappears.
    Should i use a specific option / preset when i export from Photoshop ?
    Thanks.

    Try turning off Compression and Color Conversion when saving the PDF out of Photoshop.

Maybe you are looking for