Error: invalidaccess; OffendingCommand: --nostringval-- ]

Hello. I have some commercial pdf documentation (purchased) that I am able to print pages from, but I cannot seem to do much with the postscript output when I print to file with a postscript printer selected. I want to add notes and make a few changes, but I cannot open the pdfs in Acrobat 5. I have tried several printers and PDFCreator as the selected printer. Ghostscript on Linux and Distiller 5.0 in Windows XP give the error listed in the subject. I printed from Acrobat Reader 4, which is required. I will update a driver if anyone thinks that will help, but I would like to try to manually fix the error in the postscript.
Here is the file (27kB), which is the postscript print output of printing a single blank page.
http://geocities.com/hildstromolo/printoutput.ps
My research so far tells me that invalidaccess indicates:
*Trying to write to a read-only dictionary. For example, systemdict /junk 1 put. User code must put use userdict /junk 1 put.
*Trying to put an object in local memory into a global dictionary. For example, false setglobal globaldict /junk (local string) put. Correct usage is currentglobal true setglobal globaldict /junk (global string) put setglobal.
*Writing to a file that has been opened for reading. (examples/colorcir.ps) (r) file (hello) writestring
I believe that the problem is the first case, trying to write to systemdict, because I cannot find the other commands in the postscript output. Line number 55 seems to do a systemdict put, which would voilate the systemdict being read-only, but I do not have enough postscript experience to know how to fix this.
Any suggestions? Thanks a bunch. -Greg

It seems the original PDF was protected (encrypted), and you try to create
another (possibly unencrypted) PDF from it by re-distilling. The "error" you
see is ment to fail such a job, dissalowing you to do that "conversion".
Note that the PS file you get will work fine in a printer, just not when
trying to convert it back to PDF.
What you really need is to ask the author(s) for the owner password of that
PDF, or for an unprotected copy. Then you can use Acrobat to do the changes
you need.

Similar Messages

  • 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.

  • Distiller  Error: ioerror; OffendingCommand: readstring

    Far too often I get an error log like this:
    %%[ ProductName: Distiller ]%%
    %%[ Error: ioerror; OffendingCommand: readstring ]%%
    Stack:
    (ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿýûðÖ²U/
    @kÉè÷ýþÿÿÿþþþþþþþÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿþþþþþÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿþÿþþÿþÿþÿÿþÿÿÿÿÿÿÿÿÿÿþþþþþþþþÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿþþþþþþþÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ...)
    -file-
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    TextText
    I wildly guess about why, and have simply Ctrl-P again to print to Adobe PDF, and maybe half the time it works, without any changing, for example, the Photoshop image that I want converted to PDF. Sometimes, superstitiously, I reduce the res/file size and it goes through, but not always. The diagnostic tells me next to nothing, although I was a programmer for 20 years. There seems to be an Acrobat component named "Distiller," and "readstring" is failing for some reason that only one of the product programmers, or someone with similar knowledge, can understand, and the programmer does not tell me the user what to do about it.
    What is the cause of the "ioerror"
    The product I am using is Acrobat 6.

    I do not know anything about Distiller, which I presume is a component of Acrobat 6 Professional. I would know nothing about "opening a file in Distiller." The ioerror occurs when I try to print, via ordinary means, a JPG file while in Photoshop to the printer listed as "Adobe PDF." Usually this works perfectly. When it does fail with the error log inserted into my original post, I just ctrl P again, and about half the time this works. When it does not, I make the totally uninformed guess that the JPG file may be too big, so I resize it smaller. Sometimes it then gets converted to PDF correctly, but sometimes it fails with the same "readstring" error message log. The success and failures appear haphazard, but as a former professional programmer I know that there are deterministic reasons, even if nobody ever discovers them. Debugging programs is very hard work.
    Perhaps someone can suggest a means of forwarding the error message to someone in Adobe programming, who already knows what the error message should mean to me, the user.

  • Error: invalidfileaccess; OffendingCommand: imageDistiller

    I use AcrobatPro 8 to create pdfs from a CAD program called Chief Architect.  It used to work just fine, but now whenever I try to print a CAD layout sheet with an image pasted on it (my typical image is just a black and white .tif image), Adobe will not create the pdf and I get the following error log:
    %%[ ProductName: Distiller ]%%
    %%[Page: 1]%%
    %%[ Error: invalidfileaccess; OffendingCommand: imageDistiller ]%%
    Stack:
    -dict-
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    This only happens when the CAD layout contains an image file.  If the layout has only native CAD drawings, the pdf creates just fine.  I have removed, reinstalled, and updated both the CAD program and Adobe 8 and I still get the same results.
    Any help resolving this would be greatly appreciated.  Thank you in advance

    is it happening with a particular type of image or it happens with any kind of it. which version of Acrobat 8 are you currently on? are you able to print to a phycical PS printer, if not then it is most probably not a Adobe issue.

  • PostScript Error: %%[ Error: typecheck; OffendingCommand: begin ]%%

    while processing file in Indesign CS2 below problem accours, I check all components embeeded in indesign file as individual PDFs
    and decrease resoulation problem still preflight fails
    File produced the following import errors:
    PostScript Error: %%[ Error: typecheck; OffendingCommand: begin ]%%
    Error encountered during file import.
    Source file rejected to D:\outputs_new\xml\reject\DUMMY0000033.eps
    I check all XML tags and reinstalling components in indesign file and try to run preflight
    still it fails
    what to do exactly?

    Don't use EPS.
    Use AI, PDF or PSD instead.
    When producing a PDF use the export command.

  • %%[ 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.

  • %%[ Error: invalidfont; OffendingCommand: findfont ]%%

    Hello
    for some reasone I am not able to make any PDF file anymore (Acrobat XI pro, Win). If file contains text or not I receive the same error message:
    %%[ Error: invalidfont; OffendingCommand: findfont ]%%
    Stack:
    /Font
    (Courier)
    /courier
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    Here is the list of Courier font files I have in main windows fonts folder:
    courer.fon
    CourierC.otf
    CourierC-Bold.otf
    CourierC-BoldItalic.otf
    CourierC-Italic.otf
    Please help me

    Hi
    thanks for your prompt response. I have add the mentioned folder as font location but the error still there:
    Here is the list of files in Resource\Font\ folder:

  • Error: invalidfont; OffendingCommand: xshow

    It's a pain using Acrobat to print a word to pdf. Alternatively, I use PDFCreator to solve the issue which Acrobat PDF Printer cannot do.
    Error message:
    %%[ ProductName: Distiller ]%%
    Cambria not found, using Courier.
    %%[ Error: invalidfont; OffendingCommand: xshow ]%%
    Stack:
    [45 46 93 46 74 82 45 37 92 34 92 0]
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    Environment:
    OS: windows 8 64-bit
    Office: Office 2010 64-bit
    Word docx: 222 pages with pictures, fonts include Cambria, Times New Roman and Courier.
    Acrobat: Acrobat 9 PRO Extended (9.0.0)
    I tried the following:
    1. Open Acrobat Distiller -> Font Settings, delete all fonts except the one with "Resource\font". Closed the dialog and reopen the Distiller. I did not see any sign that Acrobat Distiller tried to search the whole hard disk for fonts.
    Please advice, Thanks! FYI, PDFCreator works well in this case.

    So, the key thing here is that Distiller can't find Cambria. Distlller indeed doesn't search the whole disk for fonts - not sure why you think it would, since you have to add font directories Removing them cannot make this problem better - only worse. Try adding the specific font directory that contains Cambria.

  • Error: invalidfont; OffendingCommand: show

    Windows 7 x64
    Acrobat Standard 8.1.5
    firefox or IE or right click in shell and select convert to PDF
    invalid command sometimes is xshow
    %%[ ProductName: Distiller ]%%
    (varies) not found, using Courier.
    %%[ Error: invalidfont; OffendingCommand: show ]%%
    Stack:
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%

    OK, are you using IE or Firefox? The steps you are using are not clear. If it is a web site you are looking at, what is the URL so others can see if there is an issue? The error simply says it can not find the font mentioned and is using Courier instead. This is not uncommon and may just mean that your system does not have the font used on the site (like Helvetica or such). You may be able to select in the job options to create the PDF even if there is an issue with the font embedding. As I said, knowing what you are looking at would help a lot.
    I am surprised you got this far with AA8 in Win7. It is nice to know what seems to work with the new OS. You might want to update. AA8 is currently at AA8.1.7.

  • Distiller 9 - %%(Error:typecheck:OffendingCommand:show)%%

    How do I fix this error when distilling a postscript file. Working in Quark8, Snow Leopard. I can open up the same page in Quark6 and process it fine in Distiller 6. My department will soon upgrade to Snow Leopard and I would like to fix this error in Distiller 9.

    I don't know multi-ad creator.
    But if they can PS and multi-ad then why not drop the PS into Distiller, make a PDF of the file.
    Then place that PDF into InDesign and use File>Export>PDf (Print) from InDesign.

  • 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... .

  • Error: typecheck OffendingCommand: setglobal

    I am using Indesign CS3 in Windows 7. I am trying to print a brochure to a .pdf and each time I do I get this PostScript message. Any suggestions?

    Google it. It's supposedly caused by a damaged font.

  • Distiller error from Indesign EPS-file

    I cannot generate a pdf in distiller pro 9 from a EPS generated by Indesign CS4. The EPS is quite large (2.32GB) both in filesize as in dimension (177cm wide by 40cm)
    Can anybody help me out here?
    thanks
    Wim
    The errorlog is
    Distilling: pan01.eps
    Start Time: vrijdag, 29 mei 2009 at 10:30
    Source: /Users/wimhouse/Desktop/pan01.eps
    Destination: /Users/wimhouse/Desktop/pan01.pdf
    Adobe PDF Settings: /Library/Application Support/Adobe/Adobe PDF/Settings/Smallest File Size.joboptions
    %%[ Error: syntaxerror; OffendingCommand: --nostringval-- ]%%
    Stack:
    /filter_indexed_devn
    false
    %%[ 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 ****

    Usually the nostringval error points to a font.  You might try replacing any fonts that appear in the EPS file.  The syntaxerror portion refers to possible data corruption but could also point to missing font elements.

  • Acrobat Std/Pro 7-8 postscript errors

    I keep on having issues with users getting PostScript errors while trying to generate PDFs from Word docs.
    I was initially suspecting their version/install of Acrobat but after reimaging machines, installing later version of Office, and on completely different system (running Vista) the problem persists.
    The error seem to be pretty random and will crash the PDF creation at random times/pages (sometimes a whole document can be printed other time only a few pages at a time).
    I have not been able to pin point anything, but Distiller keeps on dumping syntaxerror in the log file.
    I changed the postscript lvl of the Acrobat print drive to 1 on my machine and was able to get the entire PDF from a problematic Word doc but the staff member can't seem to replicate my fix.
    Any ideas of what might be causing it or how to potentially troubleshot those issues?
    Online documentation is obscure, users are getting frustrated.
    Thanks,
    Sam

    Here you go, one of the many, I'll try to keep on posting as they come:
    %%[ ProductName: Distiller ]%%
    %%[Page: 1]%%
    %%[Page: 2]%%
    %%[ Error: syntaxerror; OffendingCommand: --nostringval-- ]%%
    Stack:
    /SetBGndFGnd
    -dict-
    /GDIBWPatternDict
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%

  • Network Printing Error in 10.5.4

    I get the following " Error: Syntaxerror; OffendingCommand: --nostringval'' for network printing to all HP printers. Other printers on the network work just fine. I can see the printer to add it but when I do so I always get a generic printer as the driver choice. I can manually look for the printer driver - for example an HP LaserJet 4100. Attempts to print simple text from any application get the above error.

    Welcome to Discussions.
    I just googled for the error and it seems it may be postscript-related.
    Since the driver doesn't work, could it be that it is corrupted? Have you tried removing and reinstalling the printer and driver? In a post here,related to Windows but HP laserjet printers (http://discussions.apple.com/thread.jspa?threadID=1105046&tstart=866) it helped to try HP's Universal Postscript driver (last post in the thread).
    I did see a post re installation of an HP 4000 on Windows (http://www.pcreview.co.uk/forums/thread-3395388.php) that one shouldn't install the HP 4000 (admittedly slightly different than the 4100) as a network printer but as a local printer. Maybe that is relevant.
    Hope it helps some.
    /p

Maybe you are looking for