Use document size/PDF TrimBox as a label

Hello. I have found the SizeLabels.jsx by Jongware and it's very close to what I want. It is putting a label, but it's using the size of the image in InDesign. I would like it to put the size of the placed file. And in the case of PDFs, put the size of the TrimBox. If I have to choose one or the other...I need the PDF TrimBox size. I am very new to InDesign scripting. Can someone help me please? Thanks.
InDesign CC on Mac OSX Mavericks

Menu > File > Export > Word or PDF
Peter

Similar Messages

  • Applescript use Document size information

    HI ALL,
    I am trying to put together a script that would fill up a slug with document size information:
    - Let say my document is 8.5"W x 11" H
    - Let say that my slug has a "document size" area with placeholder text, like DocWidth x DocHeight
    The script would do a find and replace of "DocHeight" by the value of the Height of my document.
    Here is an abstract of my applescript as it stands:
    ......... (there is more before this section: I set document size to a random size, 6"x6", then tells it to put some bleed, then a slug area, then to import my slug that is a snippet)
    tell application "Adobe InDesign CS4"
        set myWidth to page width of document preferences of myDocument
        set myHeight to page height of document preferences of myDocument
        set find text preferences to nothing
        set change text preferences to nothing
        set find what of find text preferences to "DocHeight"
        set change to of change text preferences to myHeight
        tell active document
            set myFoundItems to change text
        end tell
    end tell
    Now my script works, but it gives me the following error:
    Adobe InDesign CS4 got an error: Invalid value for set property 'change to'. Expected string or nothing, but received 6.0.
    Does anyone know waht I am missing here ?
    Thank you for any help!!!!

    Change to wants text, not a number. Try:
        set change to of change text preferences to (myHeight as text)
    I'd also want to focus that find/change just on the slug area. So if it's in a text frame called "Slug", you'd do something like:
      set myFoundItems to change text parent story of text frame "Slug"
    Shane Stanley <[email protected]>
    AppleScript Pro, April 2010, Florida <http://www.applescriptpro.com>

  • Export to PDF ignores document size settings?

    I have several documents in InDesign CS4 and when I export them to PDF the document size changes.
    I have set all the following options to A4 (210x297mm):
    In Indesign: File->Document Settings
    In Windows->Printer settings->Adobe PDF->Paper Size
    After exporting and opening in Reader 9 the document size has changed to 210 x 303.3mm
    This then requires a tweak before the first print run.
    I should be able to just export to production and they can print from the PDF without checking the settings!
    What have I missed?

    I am using the export option not printing to PDF.
    The summary reads as follows
    Description
        [Based on 'Box Labels'] [Based on '[High Quality Print]'] Use these settings to create Adobe PDF documents for quality printing on desktop printers and proofers.  Created PDF documents can be opened with Acrobat and Adobe Reader 5.0 and later.
    PDF Preset: Box Labels
    Compatibility: Acrobat 8 (PDF 1.7)
    Standards Compliance: None
    General
        Pages: All
        Spreads: Off
        Generate Thumbnails: Off
        Optimise PDF: Off
        Create Acrobat Layers: Off
        Export Layers: Visible Layers
        Include Bookmarks: Off
        Include Hyperlinks: Off
        Export Nonprinting Objects: Off
        Export Visible Guides and Baseline Grids: Off
        Create Tagged PDF: Off
        Include Interactive Elements: Off
        Multimedia: N/A
    Compression
        Colour Images
            No Sampling Change
            for images above: 450 ppi
            Compression: None
            Tile Size: N/A
            Quality: None
        Greyscale Images
            Bicubic Downsample at: 300 ppi
            for images above: 450 ppi
            Compression: Automatic
            Tile Size: N/A
            Quality: Maximum
        Monochrome Images
            Bicubic Downsample at: 1200 ppi
            for images above: 1800 ppi
            Compression: CCITT Group 4
        Compress Text and Line Art: On
        Crop Image Data to Frames: On
    Marks and Bleeds
        Crop Marks: Off
        Bleed Marks: Off
        Registration Marks: Off
        Colour Bars: Off
        Page Information: On
        Page Mark Type: Default
        Weight: 0.25 pt
        Offset: 2.117 mm
        Use Document Bleed Settings: Off
        Bleed Top: 0 mm
        Bleed Bottom: 0 mm
        Bleed Left: 0 mm
        Bleed Right: 0 mm
        Include Slug Area: Off
    Output
        Colour Conversion: No Colour Conversion
        Destination: N/A
        Profile Inclusion Policy: Include RGB And Tagged Source CMYK Profiles
        Simulate Overprint: N/A
        Output Intent Profile Name: N/A
        Output Condition: N/A
        Output Condition Identifier: N/A
        Registry Name: N/A
    Advanced
        Subset Fonts Below: 100%
        Omit PDF: Off
        Omit EPS: Off
        Omit Bitmap Images: Off
        Transparency Flattener Preset: N/A
        Ignore Spread Overrides: N/A
    Security
        N/A
    Warnings

  • Exporting CS5 file to PDF causes the document size to enlarge on PDF!

    I need help... FAST! I have a 14-page 4CP calendar that bleeds on three sides. The bleed size is 3/16", per the printer's requirements. When I export the file from InDesign to PDF, the overall page size is increased by exactly 3/16"! I nearly missed this and approved the job for printing. Luckily, I turned on the rulers in the PDF file to double-check all the page elements were properly placed and wouldn't fall on the fold. That's when I discovered that objects that I had placed on a page were extending into the fold and onto the next page. I went back to my InDesign file and found that those elements were properly placed and did not extend into the fold as they were doing in the PDF file. I tried different PPDs, exporting the file with and without printer's marks... all to no avail. I finally printed the file to a Postscript (PS) file and then exported that file to PDF and got it to work. However, I would prefer to avoid that extra step. What is going on? Why is the file enlarging (coincidentally the EXACT same amount that the bleed was set for) and/or what am I doing wrong? Any help would be GREATLY appreciated!

    Are you familiar with bleeds etc?  i.e. have you used them before?  It sounds to me as if you're doing everything mostly right but not realising that Acrobat and Reader (please don't mention Mac Preview) show the size including the bleeds when you choose those options upon export from Indesign.
    Go back and check your document setup.  Page size should be excatly just that, finished page size.  Bleed settings (you might have to tick more options to see them) should be also just that.  Export the PDF, go to 'Marks and bleeds' tick 'Use Document bleed settings' and you're done.  The document will appear bigger.
    oh and use the camera button for screenshots.
    You can see the actual size of the doc by going Advanced > Print Production > Crop Pages and toggling between TrimBox (the size the page will get trimmed to) and CropBox (which includes the bleeds and is what displays).

  • FAQ: Creating PDF Files from FrameMaker v.6 & earlier Documents -- Why you should not use "save as PDF"! -- Windows & MacOS Only!

    An issue that has come up over and over again on several FrameMaker and Acrobat/PDF email lists as well on the corresponding Adobe User-to-User forums is that of creation of PDF files. FrameMaker 5.5.6 and 6 have what looks like a convenient feature that is supposed to allow you to create PDF files via simply saving the document as a PDF file. I have gone on record as advising end-users not to use this approach for reliable creation of PDF files from FrameMaker documents under Windows and MacOS with FrameMaker 6 and earlier. Why do I most vociferously offer this advice and why doesn't the problem get fixed? And how SHOULD you create PDF files from FrameMaker?
    GOOD NEWS
    I will start with the good news. The "next major version" of FrameMaker will indeed have "save as PDF" re-implemented in a manner that it will be as reliable as printing to the "Acrobat Distiller" printer instance under Windows or the "Create Adobe PDF" desktop printer under MacOS. I am personally working with the FrameMaker development organization to make sure this really happens and is fully and properly tested and debugged! Furthermore, this next major revision of FrameMaker, unlike FrameMaker 6, will come with a Distiller installer that will properly install the "Acrobat Distiller" printer instance under Windows and the "Create Adobe PDF" desktop printer on the Macintosh (of course assuring that the latest PostScript driver is also automatically and correctly installed).
    DON'T USE "SAVE AS PDF"
    But what's wrong with "save as PDF" as currently implemented?
    The following are some of the SYMPTOMS reported over the last few years by FrameMaker users that were traced back to use of "save as PDF" under FrameMaker:
    (1) No PDF file is produced at all, possibly with a log file showing not-readily apparent PostScript errors during distillation.
    (2) The PDF file "loses" color in images. All or some images (raster, bitmap images, NOT vector artwork) appear in the PDF file in grayscale.
    (3) The resultant PDF file is on the wrong paper size, i.e., the document's logical page size does not match the output page size as seen in Acrobat or Acrobat Reader.
    (4) Some or all text in the resultant PDF file is blotchy looking or overly bold.
    (5) Some or all text in the resultant PDF file cannot be searched or indexed.
    (6) Some or all text in the resultant PDF file appears in Courier or in some other substitution font.
    (7) Interword or intercharacter spacing is a bit irregular in the resultant PDF file.
    (8) Content is missing in the margin areas of the page, i.e. you cannot do full-page bleeds.
    (9) Some or all page content is missing (other than margin areas).
    (10) Relatively inefficient PDF is generated.
    If this list by itself isn't enough for you, please note that some of these symptoms are very subtle and may escape attention when the PDF is first viewed or printed. Oftimes, it is when one attempts to manipulate the PDF file in Acrobat or repurpose its content or even view or print on a system other than the one on which the PDF file was created, that some of these symptoms make themselves obnoxiously visible (or invisible in some cases I won't make any bad jokes here about graphic examples!).
    It is important to understand that FrameMaker does NOT have its own native ability to create PDF. Any and all PDF created from FrameMaker documents is actually done by creating PostScript via the PostScript driver and having the Acrobat Distiller create PDF from that PostScript. The only exception to this is creation of PDF via the Acrobat PDFWriter driver, which is likewise not recommended (see below).
    In order for "save as PDF" to work correctly, FrameMaker must do the equivalent of calling Printer Setup and selecting the "Acrobat Distiller" printer instance under Windows or the "Create Adobe PDF" desktop printer under MacOS followed by setting the driver's options correctly for paper size, page range, etc., followed by sending the proper commands to the driver to create PostScript.
    Contrary to popular belief, PostScript as generated by the Windows and MacOS PostScript drivers is VERY device-dependent. The information in the PPD file associated with a printer driver instance provides critical parameters for generation of PostScript including:
    Whether the printer supports color (Acrobat Distiller does)
    What PostScript language level is supported (Acrobat Distiller 4.x and Acrobat Distiller 5.x are both PostScript language level 3)
    Whether native TrueType support is available (Acrobat supports native TrueType as Type 42 fonts)
    Available binary communications (Acrobat Distiller supports pure binary and ASCII, but NOT TCP, TBCP, or PJL)
    Resident fonts (Acrobat Distiller doesn't really have resident fonts)
    Available paper sizes and custom paper size availability (Acrobat Distiller supports a wide range of predefined sizes and continually variable "custom" sizes up to 200" by 200")
    Margins / printable areas (for PDF and the Acrobat Distiller, there are no margins in which imaging is not permitted)
    Device resolution (Acrobat Distiller can be set to any value from 72 to 4000 dpi; as a convenience, the Acrobat Distiller PPD provides a series of values for use by the driver. Since there is no inherent "resolution" of a PDF file, this parameter is used only for purposes of allowing PostScript programs that query for such a value to be satisfied and for the driver to be able to communicate this value to the operating system and/or application as required.)
    Paper handling (totally irrelevant to Acrobat Distiller if input or output tray selection via "setpagedevice" is found in the PostScript stream, it is ignored by Acrobat Distiller)
    Thus, if the wrong printer driver instance is selected (i.e., it isn't associated with the Acrobat Distiller PPD file) or that driver instance is improperly configured, improper PostScript will result and one or more of the symptoms described above can occur. As currently implemented, FrameMaker depending upon version will not necessarily choose the correct printer driver instance and/or correctly parameterize the print job via driver setup options. In fact, FrameMaker 5,5,6 might even try to generate PDF via calling a PCL driver, FAX driver, or even a non-PostScript inkjet printer!
    DON'T USE PDFWRITER
    The Acrobat PDFWriter is a relic of older versions of Acrobat. In fact, it is no longer installed by default in the "easy install" or the "typical install" of Acrobat 5. It hasn't really be updated since Acrobat 3 and only supports PDF 1.2. It is a GDI (Windows) / QuickDraw (MacOS) driver that directly generates PDF without any intermediary PostScript. Since it is not a PostScript printer driver, applications cannot pass through EPS graphics and/or PDFMark information (used for a wide variety of purposes by FrameMaker). For EPS graphics, most applications will send the low resolution TIFF (or PICT) EPS header in lieu of the PostScript text, if they send anything at all, to the driver. Forget about links, structure, or any other PDF "goodies." Expect that PDFWriter will fully "bite the dust" in the next major version of Acrobat.
    SO HOW DO I GENERATE PDF FILES FROM FRAMEMAKER 6 & EARLIER?
    The ONLY method that is really reliable for producing PDF files with FrameMaker 6 and earlier requires the generation of PostScript via a properly set printer driver instance associated with the Acrobat Distiller PPD and distillation of the resultant PostScript by Acrobat Distiller.
    Case 1: FrameMaker and the Full Acrobat 4.05 or Acrobat 5.0x Products
    PDF file from a "chapter" -- print directly to the Acrobat Distiller printer instance (Windows) or the Create Adobe PDF desktop printer (MacOS) already installed by Acrobat. If you check the "Acrobat data" option, then make sure to UNcheck the "print to file" option that gets set at the same time. As a result, the driver will automatically send the generated PostScript to the Distiller for you and delete the intermediate PostScript when done.
    PDF file from a "book" -- print directly to the Acrobat Distiller printer instance with the "print to file" option checked (Windows) or the Virtual Printer desktop printer (MacOS) associated with the Distiller PPD (see details below under Case 2/MacOS). You will need to manually process the resultant PostScript file through the Distiller (or use a "watched folder" arrangement).
    In both the above sub-cases, the default driver options generally will be OK, but check on paper size and communication protocol (Use pure binary, not ASCII, for optimal performance AND no CTRL-D characters under Windows. Make sure to set Level 3 only and Binary under MacOS. Font inclusion "All" for Acrobat 4.05 and "None" for Acrobat 5 under MacOS.). With Acrobat 4.05, make sure you preset the Distiller to use the joboptions you want. With Acrobat 5, you can set this on a job-by-job basis via the driver printer setup interface (or print dialog on MacOS).
    Case 2: FrameMaker 6 and the Bundled Acrobat 4.05 Distiller
    Windows -- Create a new printer driver instance using the latest version of the Adobe Universal PostScript Driver Installer, downloadable from Adobe's web site AND the Acrobat Distiller PPD file (located in the XTRAS subdirectory of the Distiller directory). This driver instance should be set to print to the local port named "FILE:". Name this driver instance as "Acrobat Distiller". The default driver options generally will be OK, but check on paper size and communication protocol (use pure binary, not ASCII, for optimal performance AND no CTRL-D characters). Make sure you preset the Distiller to use the joboptions you want. Print directly to this Acrobat Distiller printer instance. Make sure that the "print to file" option is checked. You will need to manually process the resultant PostScript file through the Distiller (or use a "watched folder" arrangement).
    MacOS -- Install the latest version of AdobePS 8.7.x, downloadable from Adobe's web site. In FrameMaker, go to Page Setup and select the "Virtual Printer" and go to the "Virtual Printer" window pane. Select the Acrobat Distiller PPD file (located in the XTRAS subfolder of the Distiller folder). Print directly to the "Virtual Printer" (Make sure to set Level 3 only, Binary, and font inclusion "All".). Make sure you preset the Distiller to use the joboptions you want. You will need to manually process the resultant PostScript file through the Distiller (or use a "watched folder" arrangement).
    Case 3: Acrobat 3
    Acrobat 3 is not officially supported for the latest OS versions and I personally would no longer recommend its use for generation of PDF files given that Acrobat 5.0.5 is the current version of Acrobat.
    - Dov

    You're asking a lot of ancient Acrobat to work with an Office that never existed when it was made. "Just updated my office suite" is a massive change, and Window 8 didn't exist at that time either...

  • Using Save As Reduced Size PDF in Adobe Acrobat X Pro results in a loss of font.

    We have multiple paged PDF documents (mapbooks created with Esri's ArcMap) that we would like to reduce in size.  When we us the Save As Reduced SIze PDF, the PDF is successfully reduced in size and looks good, except for the fact that starting on page 2, the Times New Roman font is lost and we get a sans-serif font instead (looks like arial).  The first page is always fine and not affected.  It's starting with the second page where the font is lost.  Does anyone have an idea of why that might be happening and how we can use the Reduce File Size feature without losing the font starting on the second page?

    Thanks Bill, that worked after some trial and error.  I was still getting the same problem when I just accepted the default settings for PDF Optimizer.  But I got rid of the problem by creating a Custom setting and turning off the optimization for everything except Image.  And for the Image optimization, I just accepted the defaults.  That took care of the changing fonts problem.  Here is a screenshot of the settings I used (just make sure the check boxes circled are turned off, and only the image compression is turned on):

  • Can I preset the default save feature in Acrobat 10 to save a MS Word document as a "REDUCED SIZE PDF"?

    I use MS Word for Mac 2011 to create documents and quotations. I'm using Adobe Acrobat Pro 10.1.12 on a MAC. I want to save the MS Word file as a "REDUCED SIZE PDF" first, without having to first save it as a normal PDF, then re-save it as the reduced size. How would I do this?? Can this be preset as my default>

    You cannot. Because this option both takes much longer and reduces the quality of files, it has to be chosen specifically.
    In any case, when you save a PDF file from Word. this process does not involve Acrobat or Adobe software in any way.

  • How to preserve colors when using a CMYK PDF as a texture on a 3D Layer (in a RGB document)?

    Hello!
    I'd like to use a CMYK PDF/Illustrator file thats coming from another designer as a label on a 3D object that I imported as a 3D Layer. The Photoshop document is in 16bit RGB mode and has the sRGB color Profile.
    Are these the right requirements to stay as closely to the original CMYK colos as possible? What does the optimal workflow for this look like if the result has to be printed in the end?
    Thank you and regards
    Henning

    You convert the CMYK document to RGB using standard color management. The rest is beside the point. We know nothing about your experience in 3D nor your actual artwork, settings, system and so on. Just slapping on a texture on a 3D model doesn't make it look "real" or even photo-realistic. You have to understand lighting, shading and how to prepare textures properly, stuff for which you can find any number of tutorials on the web (though not specifically for PS 3D).
    Mylenium

  • How to create a smallest file size pdf from indesign CS4 document

    How to create a smallest file size pdf (suitable for upload to a website) from indesign CS4 document which contains multiple illustrator CS4 illustrations.
    I have chosen the "smallest file size option" but the pdf file is over 30MB, can anyone help please.
    Thank you

    One trick is to
    Set the placed graphics to have a transparency of 99.9% (you can do this with Find/Change and select Objects)
    This is enough to force the graphics throught the Transparency Flattener
    Next set the Transparency Blend Space to RGB (Edit>Transparency Blend Space)
    Next set a custom Transparency Flattner Preset Edit>Transparency Flattner
    Next
    Use File>Export and choose
    Smallest file size
    PDF Compatibility Acrobat 4 (PDF 1.3)
    In Advanced Section - go to transparency and selec the new Flattener Preset you created.
    *this will convert your vectors to raster, but it should reduce your file size

  • I am trying to use a interactive form and it says "If this message is not eventually replaced by the proper contents of the document, your PDF  viewer may not be able to display this type of document."  This is a IRS form and has worked before.

    I am trying to use a interactive form and it says "see below"  This is a IRS form and has worked before.
    is there a tech support phone number?
    Please wait...
    If this message is not eventually replaced by the proper contents of the document, your PDF
    viewer may not be able to display this type of document.
    You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by
    visiting http://www.adobe.com/go/reader_download.
    For more assistance with Adobe Reader visit http://www.adobe.com/go/acrreader.
    Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark
    of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries

    That means you are looking at the form online with a browser that uses its own (incompatible) PDF viewer, not the Adobe Reader plugin.
    Either
    download the form to your local disk and fill it from there
    use a browser that employs the Adobe Reader plugin
    configure your browser to use the Adobe Reader plugin: http://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html

  • How can I attach a PDF in an email, using javascript in PDF document?

    How can I attach a PDF in an email, using an interactive button in the PDF-document?
    I tried to create a form button with the menu action 'attach this PDF in an email'.
    This Send.to-action doesn't work with Microsoft.
    Does anyone has a solution by implementing a javascript-code for this in the PDF?

    Dick,
    Thanks for your replie.
    Nice alternative, but it still doesn't work on a Windows machine when the
    mail software from Microsoft doesn't react on PDF actions.
    You can do many things in Acrobat, but it is a problem when it doesn't work
    on Windows and iPad.
    So now I am looking for alternatives like  interactive magazine software
    (based on html5).
    2012/5/11 dick the flash <[email protected]>
       Re: How can I attach a PDF in an email, using javascript in PDF
    document?
    created by dick the flash <http://forums.adobe.com/people/dicktheflash>in
    JavaScript - View the full discussion<http://forums.adobe.com/message/4395927#4395927

  • Using Scripts to detect document size in inches?

    Is it possible that a script detects the document size in inches not in pixels?
    Thanks for the help!

    The size an Image will print is a simple calulation the numbet of Pixel Wide Devided by the imageg current DPI resolution. And numbet of Pixel High Devided by the imageg current DPI resolution. You can always change the DPI while maintaining the same number of pizels using Image Size with resample NOT checked to change the image's print size. All the information can be retrived in a script and the script can change the image's print size with or without resampling the image.

  • I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.

    I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.

    Hi Frank ,
    Please refer to the following link and see if this helps.
    https://helpx.adobe.com/acrobat/kb/error-organizer-database-damaged-reset-1.html
    Regards
    Sukrit Dhingra

  • Change default document size in PDF

    The default document page setting in my PDF is set as 36"x24". I am not able to print the same in A4 even after making it ti fit to A4. ANy solution to change the default document size to A4

    CreatePDF, perhaps?  Try the forum at http://forums.adobe.com/community/createpdf

  • Convert word document in PDF,e pub,by using third party dll in Sharepoint designer workflow 2013?

    Hi,
    I want to convert word document to PDF,  EPub, by using third party (.dll).
    In SharePoint designer workflow in 2013.
    So that I have question, Can we Install third party (.dll) in SharePoint workflow Designer for conversion?
    Means I have created one simple application conversion of word to e Pub, PDF, Image by using (Spire.doc dll) in Visual Studio.
    So this same conversion I want to work in SharePoint designer workflows?
    So anybody has any solution then please provide me.
    Thanks,
    Samadhan

    it might be worth looking at these CodePlex steps, that plug directly into the Word Automation Services.
    http://sp2010wordautomation.codeplex.com/
    It'll provide you with a configurable step like the below that should help you achieve your aims
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

Maybe you are looking for