Error: undefined; OffendingCommand: PK while converting to pdf

Author:
Devkia [ Fri Apr 09, 2010 03:33 PM ]
Post subject:
Need Help With Adobe Distiller 9
Hello Everyone,
My Challenge :
=======
I am using licensed version of Acrobat Distiller 9 for testing.
The logic converts the Excel to ps file and then ps file to pdf.
So on local (i.e my computer) it form .ps file and then I am able to conver it to pdf.Everything works fine.
But now I have setup everything on the server, on the server .ps file forms but when I try to convert it to pdf it
gives me the following error.
%%[ Error: undefined; OffendingCommand: PK    ]%%
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%
It looks like the ps files get formed but somehthing is a miss. because if I try convert it to pdf manually it gives me the erorro,
From the code it just hangs.
I am using a windows applpication  and have created a servic which should run everyday to print the reports
=============
The code sample is something like this
                                            for (int i = 0; i < strSheets.Length-1; i++)
                                                myWorkSheet = (Worksheet)myWorkBook.Sheets.get_Item(strSheets[i]);
                                                myWorkSheet.Select(false); //false is passed so that the first selection remains
                                            Utility.AppendLog("Selected the sheets");
                                            myWorkBook.Worksheets.Application.ActiveWindow.SelectedSheets.PrintOut(Type.Missing, Type.Missing, 1, false, "Acrobat Distiller 9", true, true, PSFileName);
                                            Utility.AppendLog("myWorkBook  Got Printed");
                                            // to print full work sheet just kept the code for now
                                            //myWorkBook.Worksheets.PrintOut(Type.Missing, Type.Missing, 1, false, "Acrobat Distiller 9", true, true, PSFileName);
                                            Utility.AppendLog("Ps File submitted Adobe PDf ");
                                            int FlagJob = objPdfDistiller.FileToPDF(PSFileName, PDFFileName, "");
                                            Utility.AppendLog("FlagJob " + FlagJob);
                                            if (FlagJob == 0)
                                                Utility.AppendLog("Parameters are invalid For " + PSFileName);
                                            else if (FlagJob == 1)
                                                Utility.AppendLog("Created SucessfullFor " + PSFileName);
                                            else if (FlagJob == -1)
                                                Utility.AppendLog("the PDF creation itself failedFor " + PSFileName);
=============

Distiller doesn't read PPTX files. Powerpoint does.

Similar Messages

  • Erorr while converting to PDF

    I am using distiller 6.0. getting following error while conerting .pptx file.
    Adobe PDF Settings: C:\Documents and Settings\All Users\Documents\Adobe PDF 6.0\Settings\Standard.joboptions
    %%[ Error: undefined; OffendingCommand: PK___ ]%%
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    Distill Time: 0 seconds (00:00:00)
    **** End of Job ****

    Distiller doesn't read PPTX files. Powerpoint does.

  • %%[ Error: undefined; OffendingCommand: setdistillerparams....

    Good afternoon,
    When I try to print to PDF from Illustrator, the following error pops up.  Any thoughts on how to correct this?
    Many thanks!
    %%[ Error: undefined; OffendingCommand: setdistillerparams; ErrorInfo: CalCMYKProfile U.S. Web Coated (SWOP) v2 ]%% %%[ Flushing: rest of job (to end-of-file) will be ignored ]%% Error accessing color profile: U.S. Web Coated (SWOP) v2  %%[ Warning: PostScript error. No PDF file produced. ] %%

    Thank you.  When I save to PDF, the gradient that I have in my document does not show up correctly.  I have a gradient fading from blue to green.  The blue shows up fine, however, the green is simply a white rectangle.  Is this part of the issue described earlier?
    Thanks.

  • I keep getting error message when trying to convert a pdf to a word doc

    I keep getting an error message when ttying to convert pdf to word.

    Full details, please. How are you trying to convert it? What does the error message say?

  • Error while convert to pdf or html the report previewer

    while saving the previewer to pdf or html it gives the error
    REP-1249-'column cg$user has no PL/SQL formula', how to save can anyone tell me

    Thanks, You are correct, Adobe nothing to do with this issue. But I got the solution.

  • InDesign CS6 Crashing While Converting to PDF

    Trying to convert a file to PDF and it is crashing repeatedly, regardless of the file I open.  I'm running OSX 10.8.2 and InDesign 8.0.1, I've renamed the preference and data files to no avail.
    Here's the full error output:
    http://pastebin.com/V5MBhWjh
    Your help is greatly appreciated!

    Hi MTrevinoJr
    shnath is probably correct but surprised no one suggest to double check.
    If on OSX 10.8.2, create a dummy account and login in, creates clean instance.
    If it works in there, then suggest it is a font or job options issue.
    To illuminate the fonts, suggest you use a proper font management tool such as http://www.fontexplorerx.com/mactrial/
    Good luck
    Carl

  • How do I fix errors in the document I converted from PDF to Word?

    It converted easily but it has all kinds of strange lettters and numbers making it difficul to read.

    Hi Bogdana,
    Thank you for reaching out!
    Depending on the state of the original document the PDF was created from, this may be of assistance:
    OCR
    Let me know if it worked for you.
    Kindest regards, Stacy

  • Missing charasters in CZ Script while converting into PDF

    Hi Guru's,
    I developed one script in Czech Language (CS) for delivery, and print preview is perfectly fine and when i try to convert the script into PDF using 'RSTXPDFT4' executable program, some characters in script is missing and some characters are printing like some other harvesters, if any one have same experience or have any solution can you please share with me.
    Regards,
    Pkumar.

    Hi,
    For PDF conversion of Latin-2 characters, you need to follow the steps of SAP note #141343. The PDF must be created via a Latin-2 device type. e.g. I2HP4 or I2SWIN.
    True type fonts (e.g the Windows true type fonts Courier New, Arial and Times New Roman) which contain these Latin-2 characters must be uploaded under font families ZCOUR_I2, ZHELV_I2 and ZTIME_I2.
    The language key of the form must be a Latin-2 language like CZ.
    Regards,
    Aidan

  • Error in Seeburger maaping while converting XML to EDI

    Hi All,
    I have developed an interface which Idoc to file. While running my scenario my Idoc is mapped to EDI Xml and in reciever communication channel when my EDI XML invokes X2E mapping it gives me below error. I have check the payload in communication channel monitoring and it does contain a value.
    Here is the error. Please help
    Message processing failed. Cause: Error in BICMODULE-module:Temporary error: BIC XI Adapter call failed. Reason: Error: [Error:ID=3031;LEVEL=3] Field writeField(): Mandatory Field UNB.UNZ:0020[0] not filled - replace with defaultvalue : . DESCRIPTION: Field Warning: The mandatory Field [not specified][[not specified]] is not filled - it was auto filled with the defaultvalue: [not specified].
    Regards
    Avanish

    Hi Avanishwathi,
           Mandatory Field UNB.UNZ:0020[0] not filled - replace with defaultvalue
      Looks like you are working with EDIFACT one.The mandatory field UNB.UNZ:0020 might not be getting value durig run time.So do chek the availability of the proper value in the test data.As experts said test in BICmapping designer also and make sure it works there with the test data.
    Thanks,
    Ram.

  • How can I resolve the following postscript error: [ Error: undefined; OffendingCommand: ct_T3HdrDict

    I know the error is caused by using a character definition that uses the Courier font (indicating 'user input' in a technical documentation document). FM indicates that Courier is an available font.

    According to Adobe Support, there is a known issue with Save As PDF and the FM engineers are aware of it.
    See this thread regarding Save As PDF not honoring .joboptions: http://forums.adobe.com/message/4522427#4522427
    The quick summary is that when you use Save As PDF in FM10/FM11, your custom .joboptions file is not honored, so things like font-embedding and PDF-compatibility level are set to default values.
    I have demonstrated that this behavior is caused by the fmpdfreflow.dll plugin, regardless of whether using Distiller 9 or Distiller X, and that it still exists in FM11.
    The only workaround of which I'm aware is to do one of the following:
    Replace fmpdfreflow.dll with the version from FM9
    Disable the plugin entirely by editing maker.ini and commenting out the line that references fmpdfreflow.dll
    I sincerely hope we see a fix for this soon, or that Adobe will at least "bless" the substitution of the FM9 version of the DLL file... .

  • Problem while Converting from PDf To XML

    hi everybody ,
                             By using interactive adobe forms i have
    done an application which has four text fields binded with data
    using Data Source property of interactive form through webdynpro.
    Now when iam trying to get the XML format of this PDF form
    located at server , i am getting a Exception as follows
    javax.xml.transform.TransformerException: Namespace fixup failed. Prefix 'xfa' used in attribute 'xfa:dataNode' is not declared anywhere
    can any one help me..if any queries please ask
    thanks
    Madhavi

    I had a similar problem and it was solved with
    factory.setNamespaceAware(true);

  • Error while converting Image -to- PDF and then to PDF/A

    Hi,
    I'm trying to convert a Image format(JPEG,bmp,tiff) to PDF and then to PDF/A. I could able to convert Image to PDF successfully.
    I'm getting the below error while converting the PDF(that was generated) to PDF/A.
    Caused by: com.adobe.livecycle.output.exception.OutputException: Input Document is a already flat PDF Document
    at com.adobe.printSubmitter.PrintServer.transformPDF(PrintServer.java:307)
    at com.adobe.printSubmitter.service.OutputServiceImpl.transformPDFInTxn(OutputServiceImpl.ja va:518)
    at com.adobe.printSubmitter.service.OutputServiceImpl$4.doInTransaction(OutputServiceImpl.ja va:481)
    ... 106 more
    Error OCCURRED: ALC-DSC-000-000: com.adobe.idp.dsc.DSCException: Internal error.
    Please give me the solution to convert PDF to PDF/A?

    I've just read a footnote in the API documentation which indicates that the transformPDF function cannot be used for this purpose:
    "GS_Enterprise said on Nov 24, 2007 at 12:03 PM :
    Please note that the parameter "inPdfDoc" for transformPDF assumes that the stream content is an XFA-based PDF, and that it's not an XFA-based PDF with a PDF background (also known as "XFA foreground"). In other words, this function does not convert any input PDF to PDF/A, but only those PDFs generated from an XFA template which does not include any static PDF content as a background."

  • Error while calling the PDF in BSP pages in ECC6.0: Question BSP Gurus

    Hi BSP experts,
    Any Experts have solutions for below.
    We recently moved BSP pages into ECC 6.0 .Iam getting the error in BSP page while calling the PDF.
    The scenario is like this: The PDF is getting called the via URL:
    The code is like this
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_32 = guid.
      CONCATENATE runtime->application_url '/' guid '.pdf'    INTO   URL.
    <u><b>This URL is called in the front end LAYOUT.</b></u>
    <iframe src="<%= URL %>" width="100%" height="600px">
    </iframe>

    you missed one question of mine  <b>Do you create the PDF after creating the GUID ?</b>
    try giving a fixed URL just to test.
    Aman

  • Having problem while converting pdf to tiff

    Hi,
    I am using adobe live cycle.I tried to convert one editable pdf file to tiff file. It was giving me an exception which seems i cant convert editable pdf file to tiff file. So first i converted editable pdf to non editable pdf and then converted the non editable pdf to tiff file. Then it is working fine. but while converting editable pdf to non editable pdf,barcode has been erased so in tiff also i am not getting the barcode. Please give me solution for this. It is a bit urgent.
    The exception stack is below
    [Long, long content removed by forum host, please repost in the proper forum. Thank you.]
    Thanks,
    Amit

    Yikes.
    Amit...
    Please navigate to the main Adobe Forums list and find the correct product forum to repost your question.
    This area is for comments and discussion about the operation of the forums themselves. No product questions are discussed here.
    Thanks!

  • "Unexpected Error" that meant I could not convert a PDF to XLSX

    I have an "Unexpected Error" that means I cannot convert a PDF to XLSX.
    Only Day 2 of my subscription. Perhaps I'm doing something wrong. Any clues? I have converted files successfully. Maybe this one is too big at 2.6MB?

    Sorry to hear you're having trouble!
    Try disabling OCR and converting the file again: http://forums.adobe.com/docs/DOC-3062

Maybe you are looking for