CS3 / Mac: Export PDF - invalid font dict???

Hi
In my plugin I try to export a page as pdf. This works fine on Windows, but on Mac I have the error message "invalid font dict" and the export doesn't work.
What could be the problem????
Something with the system?
How can I solve that?
I'm looking since hours about this, but I don't find the problem. It doesn't work also, when I try the same in Indesign. I use the version 5.0.1.
Thanks for any help
Hans

Check if the file exists, and if it does, attempt to delete it. If the file still exists, then it's in use and you can inform the user that you can't export the file.
Obviously, if the file doesn't exist, then you can do the export.

Similar Messages

  • [CS3] [JS] Export PDF to the same folder as the InDesign file

    Hi,
    I have written a JavaScript to export an InDesign file to a PDF file.
    The exporting works fine when exporting to a specific folder, but I want the script to export the PDF to the SAME folder as the InDesign file.
    For example, if the Indesign file is in a folder called "Owner's Manuals", I want the script to save the PDF into the same "Owner's Manuals" folder.
    At the moment I have:
    var myFolder = Folder.selectDialog ('Choose a Folder');
    but this dialog defaults to the Desktop every time, forcing me to click 6-7 times to locate the relevant folder where I want the PDF to be saved, which is a waste of time.
    I want the script to do something like the following:
    "Find out the location of this InDesign file, and export the PDF to the same folder"
    I have searched this forum, as well as the Scripting Reference, but without any luck.
    Any suggestions are greatly appreciated.
    Thanks.

    Hi
      Please another another one time check it out..
    //Do not open the PDF Export dialog box. Set "false" to "true" if you want the dialog box.
    myDoc.exportFile(ExportFormat.pdfType, myFile, false, "Press Quality");
    Instead I used
    var ExPDFs= File(Final+myBaseName + ".pdf");
    pdfPreset = app.pdfExportPresets.item("Sample");
    myDoc.exportFile(ExportFormat.pdfType, ExPDFs, false, pdfPreset);
    Here I think u made mistake in "pdfPreset " passing argument...
    I used Sample -> PDF Preset name, but u passing PDF Preset is directly [Press Quality]... thats all.
    Then how come u say this script is not working....like that?.
    I used this script in my Projects U know?.
    Please try to reveal and check throughly after that U say the word "Thanks for your suggestion, but it did not work."
    OK.

  • Exported pdf Barcode font goes small

    Post Author: itsdanny
    CA Forum: .NET
    Hi I've a known issue with my bar code font, it's smaller Hi i've looked at the issue with the barcode font being small on the BO website, set the registry to ForceLargerFont = 1 for crystal decisions 10.2 but have the same issue. If it helps the only font that seems to work is the XXS one, which is too small for my needs. The rest are even smaller, when i code to set the barcode to be e.g. 30 it disappears entirely. Not sure if this helps but the server also has BO XI on it. Can anyone help on this issue as it's the last thing on my project to resolve? I'm using the IDAUTOMATION EAN package. thanks
    dan

    Post Author: itsdanny
    CA Forum: .NET
    Can the BO team help on this as it's still an outstanding issue for me. has anyone sucessfully used another barcode font with out any of these issues?thanksdan 

  • InDesign CS3 - PDF = fuzzy font, and random bold

    Hello,
    When I print straight from InDesign CS3, Garamond font looks fine. When I export to PDF, then print from Acrobat Professional 8, version 8.1.2, the Garamond font is not as crisp-looking. Also, when I print the PDF from Acrobat, there are a 2 or 3 lines of Garamond text (seemingly randomly dispersed among the rest of the text, although they're the same lines every time) that actually look like they're bold, even though they're not, in the original.
    The fonts seem to be embedded. I am printing to a Ricoh Aficio MP C2500 PCL6 printer in both cases. I am running Windows XP Professional (Version 5.1) Service Pack 2.
    This happens when I print in color. When I print in black and white, everything looks pretty crisp from Adobe Acrobat Professional.
    Thanks so much for your help.

    Andrea,
    I just got back from school and took a look at what you sent.
    Number one, you haven't used the same settings when exporting as distilling, and I don't know what they were in either case. Can you let us know. The distilled PDF (Printed to PDF) is in RGB, the exported is in CMYK.
    Number two, I've printed the exported PDF to my PCL monochrome laser and my Xerox Phaser 790 which is a genuine postscript printer, and they both show jagged type, which is due to the color being only 95% black, and no emboldening anywhere.
    Number three, I've exported a couple of PDFs myself, and they also show the font embedded in both regular and CID encoded subsets, which is not surprising since there are ligatures, but in my attempts there are only two subsets, one for the first line (not CID) and the CID subset for the remainder. In your export, the five lines are each a separate subset and text object. Your distilled version has three subsets, but only one text object, mine are also a single text object.
    At this point I don't know if the differences in the my PDFs are due to settings or the font itself. My Garamond font is TrueType flavored OpenType, version 2.30 from Monotype. The actual filename is GARA.TTF.
    Can you tell us what settings you are using to both export and print these PDFs? I must say, though, that I think your fuzzies are the color tint, and the bolding problems are probably the print driver since I don't see them here.

  • The font weight on exported PDF's differs on pages w/ graphics in Acrobat?

    Hi,
    I couldn't find anyone addressing this, so here goes...
    I just upgraded to iWork '06/Pages 2.02 so I could export PDF eBooks and retain the hyperlinks. Everything is working great, except that when I view the PDFs in Safari with Acrobat Reader (rather than Preview) or on a Win machine with Acrobat reader), pages that have images on them (and sometimes different bolded fonts) affect the weight of the normal article (non-bolded) font. In other words, the normal font will look slightly bolded on pages where there are also images, whereas the weight looks fine (as it did in Pages) on pages where it's only text.
    This does not happen while viewing the PDF in Preview. This seems like a bug in the way Pages is compressing the PDF, which seems to be present regardless of the export quality setting used.
    Has anyone else encountered this and are there any work-arounds?
    Thanks a bunch!
    -Mark

    Hello Mark
    PDF/X-3 (what Save As PDF-X creates) is a standard developed for print with the intention of eliminating compatibility problems for people submitting jobs to outside print services. It ensures that the necessary font subsets are embedded into the PDF. Maybe this is why it fixes your font problems although I've often noticed issues with fonts both on Windows and OS X. Unless you are zoomed in quite close, they can look poor on screen but print quite well. This seems to be an artifact of the viewers and font dependent.
    I'm quite surprised that your hyperlinks work. Given that they are for interactive purposes I would have thought that the PDF/X-3 production process would have stripped them out.
    I'm not at my Mac right now so I can't verify this but you may be able to create your own PDF workflow with Automator that generates the precise amount of image compression and font subsetting you require for your PDFs.
    The end of this thread might give you a start: http://discussions.apple.com/message.jspa?messageID=4300016#4300016
    I hope that is of some help.
    Good luck!
    iMac 17" Flat Panel (OS X 10.4.9)    

  • Oswald font changes every time I export PDF

    Hi,
    Every time I export to PDF I get a totally different font. The font I'm using is Oswald.
    I thought Pages was supposed to embed fonts automatically?
    It doesn't matter if I export to PDF or go to Print and Save as PDF. In both cases it changes the font.
    Any tips?
    Thanks!!
    Anja

    Hello Anja,
    There may be an issue with your Mac's font cache. Shutting your Mac down, then starting up in Safe Mode (by holding shift when starting up), then restarting once more will reset the font cache and may help get your exported PDFs to have the correct font.
    OS X: What is Safe Boot, Safe Mode?
    http://support.apple.com/en-us/HT201262
    Cheers,
    Allen

  • Font Size is not correct in the exported PDF-File

    In the Report is the Font Arial Size 8, but in the exported PDF-Fildethe size is only 7,15. The Fontsize in the PDF-File is always smaller then in the Report.
    I use Crystal Report XI. With Version 9 is everythink ok.

    In Crystal Reports 10 and 11, exported fonts are shrunk by 5% to avoid field truncation.
    For version 11, create the following registry entry and then set the value to 1 to maintain the font size:
    HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\Export\PDF\ForceLargerFonts
    Please back-up your registry before editing.
    Cheers,
    Fritz

  • I just purchased Export PDF, and when I use it, it opens them in WordPad (which I never use) instead of Word. Thus, the pictures are not there, and the fonts are changed. How do I get into Word?

    I just purchased Export PDF, and when I use it, it opens them in WordPad (which I never use) instead of Word. Thus, the pictures are not there, and the fonts are changed. How do I get them imported into Word?

    Hi,
    I checked your account,your Export PDF subscription is in 'Pending' status.
    Once it gets confirmed you will be able to use it.
    Please let us know if you require further assistance.
    Regards,
    Florence

  • [JS CS3 Win] Export to PDF then auto-print PDF from Acrobat

    Hello!
    I am working on the script that is exporting pages to PDF, and would like to automatically send exported PDF to print from Acrobat.
    I get the scripting part for exporting to PDF, and it's working very well, but I have trouble on the part of the script that tells Acrobat to open the PDF and send it to printer. Script is run from InDesign, so I thought this is right forum to ask.
    The following part of the script is working OK on one computer, but on other two computers with similar configuration (CS3. Windows, Acrobat 8) it doesn't work at all and I can't figure out where is the problem:
    var printFile = "/c/temp/test.pdf";
    var remoteScript = "printFile = decodeURI('"+printFile+"');\n";
    remoteScript += "var doc = app.openDoc({cPath: printFile});\n";
    remoteScript += "var pp = doc.getPrintParams();\n";
    remoteScript += "pp.pageHandling = pp.constants.handling.shrink;\n";
    remoteScript += "pp.NumCopies = 2;\n";
    remoteScript += "pp.interactive = pp.constants.interactionLevel.silent;\n";
    remoteScript += "pp.printerName = '\\\\hrhqzgw23prn01\\\hr300019ps';\n";
    remoteScript += "doc.print(pp);\n";
    remoteScript += "doc.closeDoc(true);";
    acrobat.executeScript(remoteScript);
    I would appreciate any help. thank you.

    Hi Mark,
    Here is a sample script. It exports the active InDesign document to pdf file, using its base name, to the root of C drive. Then opens the exported file in Acrobat, prints it to the default printer and silently closes it.
    Tested on InDesign 5.0.3, Acrobat 8.0.0, Windows XP SP3.
    #target indesign
    var myIndesignDoc = app.activeDocument;
    var myBaseName = GetFileNameOnly(myIndesignDoc.name);
    var myFile = new File( "/C/" + myBaseName + ".pdf" );
    myIndesignDoc.exportFile( ExportFormat.pdfType, myFile, false );
    var myScript = 'var myAcrobatDoc = app.openDoc( "/C/' + myBaseName + '.pdf" );\n';
    myScript += 'myAcrobatDoc.print( {bUI: false, bSilent: true} );\n';
    myScript += 'myAcrobatDoc.closeDoc( true );';
    var bt = new BridgeTalk;
    bt.target = "acrobat";
    bt.body = myScript;
    bt.send();
    function GetFileNameOnly(myFileName) {
        var myString = "";
        var myResult = myFileName.lastIndexOf(".");
        if (myResult == -1) {
            myString = myFileName;
        else {
            myString = myFileName.substr(0, myResult);
        return myString;
    Short explanation of the acrobat script:
    1. Open the pdf file, just exported from InDesign
    var myAcrobatDoc = app.openDoc( "/C/' + myBaseName + '.pdf" );
    2. To print the document silently I use the doc object’s print method and set the following parameters:
    bUI -- Determines whether to present a user interface to the user
    bSilent -- Suppresses the Cancel dialog box while the document is printed
    myAcrobatDoc.print( {bUI: false, bSilent: true} );
    3. Close the document without notifying the user:
    myAcrobatDoc.closeDoc( true );
    Regards,
    Kasyan

  • Export to PDF - Change Font size

    Hello everybody,
    We were exporting reports to PDF file using te "Export to PDF" option in WAD. We recently have updated the BI environment with the SP17 patch. After the patch, the font size of the reports in the export PDF file has become very small and hence not clear.
    Is there a place where we can adjust the font size of the Texts seen in the "Exported PDF reports"?
    Please help me with your Knowledge and Experience,
    Shameem

    Hi Rane,
    Thank you for your input. I am aware that we can zoom the document and see the content. However when we print the report, the reports are not as clear as it was before SP17 installation. Thats the problem.
    Regards,
    shameem

  • Is ID exported PDF considered non-editable? (In the case of view&print embedding permission fonts)

    Hiya!
    I am a graphic designer and I use InDesign 5.5.
    I have a question about font embedding when using the InDesign's export as a PDF in "print" format feature.
    Many fonts allow embedding into digital documents only for the purpose of viewing and printing.
    In addition to this the font EULA's mention that the embedded font may not be used to edit the document.
    Is it possible to create a non-editable PDF with embedded fonts?
    Is choosing PDF export option "print" the key here, or embedding the fonts as a subset?
    Isn't it still possible to edit PDF in Acrobat with touch up text tool? Or use some third party editing program?
    OR Is a PDF file - with fonts embedded as a subset -  non-editable as such, or at least considered to be non-editable enough?
    Or is it just that the file doesn't really have to be non-editable, but it must not be edited...
    How do I ensure that? Do I even need to ensure that?
    Whole thing seems so controversial.
    Hope someone can shed some light into this!!!
    -Ahlax-

    Ahlax,
    There are several separate concepts here.
    First, PDF is really a final form file format. It wasn't designed as an editable format for layout such as InDesign's .indd format ane Word's .doc and .docx formats. Although PDF files may be tagged with contextual metadata, typical content of PDF files contains no context in terms of words, sentences, paragraphs, columns, etc. It is simply graphical objects including text fragments, vector artwork, and raster images at a particular place on a page with specified graphical attributes (color, transparency, etc.). As such producing a full PDF file editor first requires definition of what it actually means to edit such a file given the characteristics of PDF files.
    That having been said, Acrobat and various third party plugins to Acrobat as well as third party applications provide some degree of editability for PDF files, recognizing that such edits are definitely not at the abstractual level that you get with InDesign. You can “touch-up” text, but doing a re-layout is effectively impossible. In most cases, it is better (in terms of time, effort, and resultant quality) to go back to the source document, make the changes there, and then regenerate the PDF.
    Fonts are a totally separate issue. Adobe products will not embed any font into a PDF file unless the font allows for at least preview and print embedding. For PDF forms, Acrobat requires a font to allow editability embedding. However for text touch-up and other edits, Acrobat never uses the embedded font. Such edits are only allowed if the user has the same font actually installed on their system.
    In terms of forcing a PDF file to be totally non-editable, that is done by applying security to the file when you export the PDF file from InDesign (the Security tab) or in Acrobat Pro after PDF creation (go to the Security tab under Document Properties (Ctrl-D) to set such security).
              - Dov

  • INdesign CS3 suddenly crashes when trying to export pdfs

    I have exported PDF-x1as from Indesign for years with no issues. Suddenly today, indesign crashes when I select EXPORT. I have indesign CS3 on a macbook pro running 10.5.8.
    I work from home, and have to get some pretty huge projects out to the printer, and so I'm getting nervous about this not workling!! I'm trying to remain calm.
    I've restarted indesign with the control, option, and shift keys down, supposedly renewing the prefs. When that didn't work, I reinstalled it from my original disks. Still doing the same thing.
    Please say someone knows a fix!!!

    ok - I've spent countless hours now searching for an answer. I was about to upgrade to snow leopard hoping that would solve this issue, when, buried deep somewhere in these forums, I found the solution that, at least so far, has worked for me! Here it is, in case anyone else is having issues:
    http://kb2.adobe.com/cps/402/kb402521.html
    phew!!!!

  • CS3:  Export PDF crash...located the source, now what?

    InDesign CS3 keeps crashing on page 86 or 87 of a file I'm trying to Export to PDF.  I know this from watching the progress bar move across the screen, everything is fine until the status box shows page 86/87, then poof, InDesign disappears and requests to send an error report.  I was under the impression this was being caused by the Export PDF settings.  With printer's marks enabled, the Export PDF crash occurs on page 86.  Turn printer's marks off and the crash happens on page 87.  So I tried all kinds of things with Export PDF settings but came up empty.
    Then I messed around with pages 86 and 87.  Removed text frames from page 86 and tried various combinations with Export PDF.  Did the same thing on page 87, and then combinations of 86 and 87 at the same time.  No good...keeps crashing.  I removed ALL content from pages 86 and 87 and the Export PDF still crashes, even with blank pages.
    I finally got a clue when moving text frames to other pages.  Both pages have 4 text frames each.  When I moved the top text frame on page 87 to a different page -- in this case I moved it to page 98 -- the Export PDF crashed on page 96.  Not page 98 where it was located, but page 96. Weird, but it gave me a clue.
    Long story short:
    Export PDF causes InDesign to crash on page 86 or 87 unless the uppermost text frame on page 87 is moved to a non-printing layer. The text frame can remain on page 87 or be on the pasteboard; either way, it must be non-printing to prevent a crash in Export PDF mode.
    Any suggestions?  I've already searched the text frame and nothing out of the ordinary catches my eye.  The text frame is necessary for a book project.  I can't consolidate it with another frame.
    Thanks in advance!

    My memory is not so great after all...
    The bug was in CS4 and it was fixed in 6.0.4. I remembered the rest correctly...
    Here's the tech note:
    Type on a Path fails to draw in output (PDF, Print, JPEG) on the 35th and subsequent spreads. [2297179]
    Harbs

  • Export a Indesign(CS3)  Document as PDF(Windows)

    Hi,
    I am beginner in Indesign Plugin development.
    I want to export a Indesign CS3 document as PDF programmatically. I
    know that we need to use IPDFExportPrefs and set the various
    attributes.I dont know proper code.
    Can anybody give the code to implement it.
    Or any reference to find it.
    Thanks,
    Ravi sharma

    Arthur,
    You can't export the document directly to HTML, but you can use the Cross-Media Export to make and XHTML file for Dreamweaver (or other editor). It will generate an HTML page and a blank CSS style sheet, as well as gathering the images, but web and print are entirely different formats so you won't have anything resembling your ID doc when you get through, as far as layout is concerned. If you want people to see your layout as is, you need to use PDF. Try changing the compression settings for the export to bring the size down, but it will be a compromise somewhere most likely.
    Peter

  • Font issue in exported PDF from indesign

    Font issue in exported PDF from indesign:
    In Indesign file we have kept a sentence in “Univers LT Std” (San serif font) with all caps style that was orginally in lower case. Refer below
    When we selected the sentence in exported PDF some of the characters are not selected. Refer below.
    If we enable “create tagged PDF“ in export PDF setting, then the problem is solved. Refer below.
    Can you please check why this problem happened? In another project also we have faced this same problem but different font “Frutiger LT Std” with all caps style. Here also same San serif font. Please check and advise to solve this issue permanently.

    Without tags a PDF is a silly amount of letters, images and lines, with tags all itams a kept in their semantic context. So work with tags as it is the only way to get correct selections and export to other file types like Word DOCX.
    Without tags InDesign reads from left to right from top to bottom and the font geometry might influence the correct order of letters.
    Why should anyone work without tags today? If you open a tagged PDF in Acrobat DC it is much faster than without tags.

Maybe you are looking for

  • Did you have buggy Mavericks issue after installing on Macbook Air Mid 2012?

    Before I have upgraded my OS X Mountain Lion 10.8.3 to Mavericks 10.9 it runs so smoothly and no issues or hanging that I encounter. But just this morning when I installed Mavericks, I have the following issues: 1.) When I was adding a book(pdf and e

  • Webi limitations on SAP BW

    Hi Experts, I am working on a project using BO XI 3.1 and SAP BI 7.1. We want to use SAP BW Infocubes, BW Queries as data source to WebI reports. We know there are some limitations on the WebI side and all the features won't be availble like relation

  • Embedded video/audio player

    Any recommendations on which embedded video or audio player to use for Dreamweaver? I would like something that will give me a playlist.

  • Customising Who's Who- ESS?

    HI all,   We are using EP 6.0, mysap ERP 2004 and ESS BP 60.2. In ESS, Who's Who is working fine, but want to remove one link ( Organization Unit). My requirement is either i have to remove the Organization Unit link as a whole or just want to displa

  • How do I configure LDAP to run

    I downloaded the Softerra software but how do I configure it to have it checdk for the info I downloaded it to find?