Automating PDF Generation with InDesign
Is it possible for InDesign to retrieve info from a database, automatically format the data with paragraph style(s) and export hi-res PDF art for each database entry? PDF export to include common art positioned on the master page. If this function is possible with InDesign, how does one accomplish this task?... AppleScript? I don’t speak code, so this could be very intimidating. Recommendations?
I think you might need an interpreter. I speak code, sure, but very slowly and with a very thick accent.
Plain vanilla InDesign won't hit a database; there are plugins for that. Catalog plugins, for example; if you're making something catalog-like, that's worth a search or three. If you can get CSV files from your DB, then Data Merge will work for minor automation. Read up on InDesign's XML capabilities if you need something more robust than that; it is extremely useful, and even someone like myself with barely-there software development skills can automate the production of a dictionary with XML spat out of a database.
In terms of automating the the formatting, XML is another obvious choice, because the working method is to map an XML tag to a style.
Exporting PDFs automatically is something that can be achieved with scripting, either Apple- or Java-. I don't know off the top of my head how to set it up, but there are quite a few talented scripters reading these forums, and perhaps one of them can nudge you in the right direction. Perhaps you'll see the advantage in actually contracting one of them to develop this for you.
All that being said, I'd be surprised if there wasn't already a catalog plugin to do exactly what you want. (The last time I said "InDesign can't really do that" it took about fifteen minutes for the forum regulars to post both a plugin and a custom-developed script that basically completely fulfilled the original poster's criteria.)
Similar Messages
-
Automating PDF Generation with Server-Side Acrobat - Benefit, Risks, Suggestions?
Looking for some clarity...
How feasible is it to automate PDF creation from Excel using Acrobat, as opposed to some third-party tool?
The SDK seems out of date. Any issues programming with .NET?
Are there better products out there, from third-party providers?
Suggestions?The product replaced Distiller Server, but does much more than that. That used to be $5000-$10000, I believe, but LiveCycle products are a custom quote.
The price is set high partly because it can replace a whole office full of Acrobat licenses, one reason (but not the only one) why enterprise level products are in a different universe pricingwise. I'd expect to pay at least to match 100-200 lost sales of Acrobat. -
Possible to create medium res .pdf file with InDesign CS5?
Hello,
Can anyone tell me if there is a way to create a medium res .pdf file with InDesign CS5?
I'm working with a client and have been sending him both high res and low res files of a catalog project. High res .pdf is 12.8MB and low res is 1.2MB. He is asking whether I can create something in between the two, say somewhere around 6 to 8 MB.
Any insight would be much appreciated.
Many thanks,
TaniaPDFs do not have a resolution. The graphics within do, however..
Look at the downsampling settings and experiment until you get what you want.
Bob -
Adobe Design Evangelist, Terry White, shows how to create PDF forms with InDesign CS6
http://adobe.ly/I5cRJmHi
Is there any method for having text fields align the inputted text to the centre? -
PDF generation with FOP throws NPE
Hi,
Stack trace
at oracle.xml.jaxp.JXTransformer.reportXSLException(JXTransformer.java:769)
at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:342)
I'm using standard Java 1.4 API calls to create a PDF document from a DOM with Apache FOP 0.20.5.
The servlet is deployed to Oracle 10g Application Server 9.0.4.0.0. With Tomcat 4.1.30 the same code executes without exceptions
Because I have to port our web application to Oracle for a new customer it is important for me to get this fixed soon.
Thank you
EckardLight at the end of the tunnel: It seems to work when FO and PDF generation are separated. Until now the DOM was piped into FOP who internally created the FO from SAX events and then seems to parse it again to create PDF.
I separated the two steps: There is no problem in FO generation, but due to a namespace problem subsequent parsing fails
("org.apache.fop.apps.FOPException: null:2:10 Root element is missing the namespace declaration: http://www.w3.org/1999/XSL/Format")
Now the correct exception comes up. Whether FOP SAX event listener is buggy or XML parser's error handling has a problem, I don't know
Thank you anyway
Eckard -
Acrobat pdfs created with Indesign CS3 cannot be searched
Our company uses Coldfusion (don't know anything about Coldfusion personally) to search pdfs of our magazine articles that we keep in an online library. Users can do keyword searches to find articles. Our system was created in about 1998.
It worked fine when we were using Quark 6, but pdfs made with Quark 7 documents were not searchable. Since pdfs made from Indesign CS2 documents worked, we switched to Indesign CS2 to solve the problem.Now that we have upgraded to CS3, however, they are no longer searchable. We are designers and don't know much about coldfusion. We just want to create pdfs that can be searched by our system and do not understand what changed from Quark6-Quark7 and from CS2 to CS3.
Any suggestions would be appreciated.These pdfs are all searchable in Acrobat (either version).They just don't work with our web server. I have tried saving them in Acrobat 5.
I have tried several configurations now. Indy CS2 files that are postscripted and distiled in either Acrobat Distiller 8 or Acrobat Distiller 7 work fine.
However, when I pdf directly from CS2, the files don't work. The document information for these files says they were created using "Adobe PDF Library 7.0"
No matter what I do (distill or pdf directly to either 7 or 8 versions of distiller)
Our Coldfusion was installed around 1997 or 98 and is in a different department of our company. We don't really have tech support for it that I know of. I have posted this question on the Coldfusion forum, but got no response.
Anyway, there seems to be something changed from Indesign CS2 to CS3 that makes these files incompatible. The distiller 7 or 8 files work fine that I created with CS2. I also don't understand the difference between created with "Adobe PDF Library 7.0" and creating with Distiller 7. -
PDF Generation with LiveCycle Data Services
Hi everybody!
I am using LiveCycle Data Services to generate a dynamic pdf. I worked with this tutorial : livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcds/pdfgen_1.html and i adapted the code to my own example.
I created a pdf template with livecycle designer and i succeed to generate the pdf thanks to LiveCycle Data Services.
Here is my problem :
In LiveCycle Designer i create a table and bind my data connection (from xml source) to this table and i bind subforms to repeating data.
It works when i try to open an overview of the pdf with LiveCycleDesigner.
But when i try to generate the pdf with livecycle data service, there is no repeat of my data. There is only a number of items corresponding to the minimum of repeating i set in livecycle designer binding window...
Is it possible to generate repeating data with LiveCycle DS ?
an example of my xml source :
<item id="1">
<data>blabla</data>
</item>
<item id="2">
<data>blabla</data>
</item>
In livecycle designer, if i set the minimum of repeating to 1, LiveCycle DS generate a pdf with only one item.
if i set the minimum of repeating to 2, LiveCycle DS generate a pdf with only 2 items. etc.
I don't know how to generate an indeterminate number of items...
Thanks in advance for your help.
Bye
GuillaumeHi Guillaume,
there is no limitation. Dynamic PDF files can be generated with Livecycle Data Services.
You should have a look at the XML file generated by your Flex code. Try to save it and see how the XML file behaves when you generate a PDF preview with Designer. You can go to the menu: File > Properties > Preview > Use XML test data...
With the XFAHelper class, you can either load a PDF or a XDP file. Have you tried with a XDP ?
I've attached a dynamic PDF file that I've created for a customer. I generate a dynamic PDF file using LiveCycle Data Services. Maybe you'll find some clues within the file.
Michael -
Frequent event in PDF generation for inDesign 5.5 with Mavericks (new MacPro)
Crash report:
Process:
Adobe InDesign CS5.5 [30418]
Path:
/Applications/Adobe InDesign CS5.5/Adobe InDesign CS5.5.app/Contents/MacOS/Adobe InDesign CS5.5
Identifier:
com.adobe.InDesign
Version:
7.5.3.333 (7530)
Code Type:
X86 (Native)
Parent Process: launchd [213]
Responsible:
Adobe InDesign CS5.5 [30418]
User ID:
321266845
Date/Time:
2014-05-22 18:24:05.450 +0200
OS Version:
Mac OS X 10.9.2 (13C64)
Report Version: 11
Anonymous UUID: F9FA2B70-6BDD-63EA-DA32-0C6341D52CA5
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
terminating with uncaught exception of type std::length_error: vector::reserve
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib
0x991fd952 __pthread_kill + 10
1 libsystem_pthread.dylib
0x981a6167 pthread_kill + 101
2 libsystem_c.dylib
0x90ba929c abort + 155
3 libc++abi.dylib
0x95ca06c9 abort_message + 169
4 libc++abi.dylib
0x95cc147d default_terminate_handler() + 264
5 libc++abi.dylib
0x95cbec30 std::__terminate(void (*)()) + 14
6 libc++abi.dylib
0x95cbe64b __cxa_throw + 116
7 libstdc++.6.dylib
0x93a8ab78 std::__throw_length_error(char const*) + 104
8 com.adobe.InDesign.Links
0x13d581f5 0x13ce7000 + 463349
9 com.adobe.InDesign.Links
0x13d5bc94 0x13ce7000 + 478356
10 com.adobe.InDesign.Links
0x13d5a380 0x13ce7000 + 471936
11 com.adobe.InDesign.Links
0x13d57d79 0x13ce7000 + 462201
12 DataBaseLib.dylib
0x011e483f InterfaceSnapshot::ResetObjectToSnapshot(IDataBase*, IPMUnknown*, IDType<SnapshotID_tag>, ISnapshotCache*, scoped_lastrevinfodataref&) + 575
13 ObjectModelLib.dylib
0x01148b90 0x111d000 + 179088
14 ObjectModelLib.dylib
0x01155ec8 ShuksanInit(IStartupScreen* (*)(), IPlugIn*) + 23784
15 DataBaseLib.dylib
0x011b4fd8 0x11b0000 + 20440
16 com.adobe.InDesign.Links
0x13d29753 0x13ce7000 + 272211
17 com.adobe.InDesign.Links
0x13d2c051 0x13ce7000 + 282705
18 com.adobe.InDesign.Links
0x13d3d51a 0x13ce7000 + 353562
19 com.adobe.InDesign.Links
0x13d4319f 0x13ce7000 + 377247
20 com.adobe.InDesign.Links
0x13d4418e 0x13ce7000 + 381326
21 com.adobe.InDesign.Links
0x13d26506 0x13ce7000 + 259334
22 com.adobe.InDesign.SharedContent
0x12c845b4 0x12c7c000 + 34228
23 com.adobe.InDesign.SharedContent
0x12c8494c 0x12c7c000 + 35148
24 com.adobe.InDesign.AppFramework
0x0d8921bf GetPlugIn + 54943
25 com.adobe.InDesign.AppFramework
0x0d892a49 GetPlugIn + 57129
26 com.adobe.InDesign.Document Actions
0x1561c618 0x15617000 + 22040
27 com.adobe.InDesign.Document Actions
0x1561c8e1 0x15617000 + 22753
28 PublicLib.dylib
0x0124dfa2 Command::DoImmediate(short) + 34
29 com.adobe.InDesign.Utilities
0x0d3bdaa3 0xd3bc000 + 6819
30 com.adobe.InDesign.Utilities
0x0d3bdccc 0xd3bc000 + 7372
31 com.adobe.InDesign.AppFramework
0x0d87a478 0xd860000 + 107640
32 PublicLib.dylib
0x0124f0fb CmdUtils::ProcessCommand(ICommand*) + 59
33 PublicLib.dylib
0x0126d373 CDocFileHandler::Save(UIDRef const&, K2::UIFlags) + 307
34 com.adobe.InDesign.Document Framework
0x0f85ee12 0xf837000 + 163346
35 com.adobe.InDesign.Document UI
0x1560ae73 0x15609000 + 7795
36 com.adobe.InDesign.Actions
0x15c4ade3 GetPlugIn + 11699
37 com.adobe.InDesign.Actions
0x15c38ccc 0x15c37000 + 7372
38 WidgetBinLib.dylib
0x02893f04 MDefaultEH::KeyboardShortcut(IEvent*) + 484
39 WidgetBinLib.dylib
0x02893704 CDefaultEH::KeyDown(IEvent*) + 148
40 WidgetBinLib.dylib
0x02893d03 MDefaultEH::KeyDown(IEvent*) + 163
41 PublicLib.dylib
0x0126e76e CEventDispatcher::DispatchToEventHandlers(IEvent*) + 222
42 PublicLib.dylib
0x0126e228 CEventDispatcher::DispatchEvent(IEvent*, IEvent::SystemHandledState) + 24
43 com.adobe.InDesign.Application UI
0x0f397f19 GetPlugIn + 298233
44 com.adobe.InDesign.Application UI
0x0f39595c GetPlugIn + 288572
45 com.apple.HIToolbox
0x98fdfd89 _InvokeEventHandlerUPP(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, long (*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)) + 36
46 com.apple.HIToolbox
0x98e3335f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1452
47 com.apple.HIToolbox
0x98e32678 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 386
48 com.apple.HIToolbox
0x98e45821 SendEventToEventTarget + 88
49 com.apple.HIToolbox
0x98e666d6 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 2362
50 com.apple.HIToolbox
0x98e337a5 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2546
51 com.apple.HIToolbox
0x98e32678 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 386
52 com.apple.HIToolbox
0x98e45821 SendEventToEventTarget + 88
53 com.apple.HIToolbox
0x98e84cd6 SendTSMEvent + 75
54 com.apple.HIToolbox
0x98e84765 SendUnicodeTextAEToUnicodeDoc + 746
55 com.apple.HIToolbox
0x98e84363 TSMKeyEvent + 1015
56 com.apple.HIToolbox
0x98e71e06 TSMProcessRawKeyEvent + 4704
57 com.apple.HIToolbox
0x98ead203 HandleCompatibilityKeyEvent + 323
58 com.apple.HIToolbox
0x98e2e184 HIApplication::EventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1804
59 com.apple.HIToolbox
0x98fdfd89 _InvokeEventHandlerUPP(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, long (*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)) + 36
60 com.apple.HIToolbox
0x98e3335f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1452
61 com.apple.HIToolbox
0x98e32678 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 386
62 com.apple.HIToolbox
0x98e324f0 SendEventToEventTargetWithOptions + 94
63 com.apple.HIToolbox
0x98e6628f ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1267
64 com.apple.HIToolbox
0x98e337a5 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2546
65 com.apple.HIToolbox
0x98e32678 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 386
66 com.apple.HIToolbox
0x98e45821 SendEventToEventTarget + 88
67 com.adobe.InDesign.AppFramework
0x0d862dc5 0xd860000 + 11717
68 com.adobe.InDesign.AppFramework
0x0d8882ea GetPlugIn + 14282
69 com.adobe.InDesign
0x000028ab main + 187
70 com.adobe.InDesign
0x000027c6 start + 54The last thing I see in the crash report that looks like ID code is related to links, so I would start by checking to be sure the links are all up to date, then I'd probably start looking more closely at the whole doc to find the problem. See Adobe Community: File Crashing on Output - printing/PDF/other for troubleshooting suggestions.
-
PDF created with InDesign CS6, Helvetica Neue font, causes lower-case "r's" to be bold
The pdf was created from InDesign CS6 using Windows 7. I cannot recreate the problem on my machine, but it is happening on a coworker's machine. The only character affected is the lower-case r. It appears bold when viewing the pdf of his machine. I am also running Windows 7 and it looks fine to me. My boss is using a Mac and it also looks fine to her. Does anyone know what might be causing this problem?
Hmm...until it's isolated to the 'r' it surely sounds like the typical effect often caused by the "Enhance Thin Lines" preference setting in Acrobat/Reader/browser-x-plugin, which most commonly affects l's and i's.
It's also true that various servings of Helvetica Neue are at the center of many such tales of woe.
I'd recommend some simple testing on the co-worker's computer with PDF's produced under the same conditions using different fonts; perhaps some varied weights of the same Helvetica Neue. -
Reducing .pdf size with InDesign
Good morning everyone!
I have downloaded the trial version of InDesign to see if its the right tool to a very specific problem we are having in our engineering office and I have never used InDesign before.
I need to dramatically reduce the overall file size of multi-page PDFs for underlaying in AutoCAD while retaining the detail from the original. The PDF files we recevied from our client are rather large and underlaying them "as is" brings AutoCAD to a crawl. I have been able to shrink the files appropriately in Illustrator but I would have to do it one page at a time to be able to reduce the file size which does not solve our time problem (I have one project in the pipeline that is going to require 200 pages). JPEG's kind of work which I can do in batches in Illustrator, but AutoCAD does not have automation for underlaying JPEGs. Keeping the PDF in vector fomat is the ideal solution if we can get the file size down.
So far I have opened illustrator and tried to run the script for adding a multi-page PDF and what I bring in retains absolutely no detail from the PDF.
So two questions:
1) Can/How do I bring in a PDF drawing so it retains the vector detail, and
2) Can I use Illustrator to shrink down the file size of a multi-page PDF (Adobe pro doesn't bring it down far enough)
I know this is nowhere near the purpose of InDesign, but its our last avenue to solve our underlay issue in a way where everyone might win.
Thank you!You have to check where is highest amount of space used in the pdf? Are these images or structures you need or you don't need? Is it a profile? Use the audit function in the Acrobat Pro Optimizer dialog.
When you know which part of the content of the pdf could be dismissed you can set up a properly pdf export setting or use a different export functionality to create pdfs like the export of interactive pdfs which will output smller pdfs. -
PDF created with InDesign CS6 on Mavericks not legible in other systems
Recently migrated to a new MAC with Mavericks, now after creating PDF files and sending them to clients, some are able to view the file correctly and others are not?
Any help will be appreciated.I figured it out
Just in case people had the same problem here is how it's done: (i misunderstood the two posters above me, so you are actually going to change fonts within acrobat, like they said, and save it)
Open the pdf in acrobat, go and change font settings for each of your fields and change the font under the "Appearance" tab. -
Problem With PDF Generation With CFDOCUMENT
I am having a problem with generating PDF's from my web
pages.
For example...if you go here
http://www.michaelpumo.com
and click the "Convert to PDF" link on the left you'll see that the
output is totally wrong.
Is it to do with my markup? I can't figure this out.
Many thanks in advance.I, along with many others have had these types of problems
and so far adobe hasn't addressed them (or at least I couldn't find
anywhere where they have).
Kapitaine, Have you tried outputting to flashpaper? Most of
my formatting problems only occur in PDF.
For instance, align right does not work properly. It pushes
everything to the right, but is not flushed to the right so the
output looks very unprofessional. This cfdocument was a good idea,
and a good selling point but it is embarrassing to have sold my
boss on it only to find out it is almost worthless in it's current
state. BTW I'm working on a CFMX7.0.2 on Linux RHEL4. -
Bug in PDF generation with Report Builder CF8
Hello
there is a bug in the calculation of the left margin of a
page.
I upgraded from MX 7.02 to CF8. My "old" Reports worked fine,
but when I export them to PDF an print them the left margin is
different.
I'm using metric settings in the Report Builder. I created a
new Report with Left Margin 2 cm and a single Field with the left
Property = 1 cm (0.9879 cm). The printed paper with these poperties
where fine. I could measure appoximatly 3cm . But if I use Report
Left Margin = 1.27 cm and Field left Property = 0.35cm. The left
margin of the printed paper is only 1.1cm.
So it depends on the choosen Values of report left margin and
the left property of a field.
Does anybody else have the same problem?I found this posting as I have now "rediscovered" this issue. I came to the same conclusion - edit ALT TEXT for every image.
However, I think it is confusing that these paths of image file are not considered Personal Information that can be removed using the Inspect Document feature (I tried - was not successful). The list of things to be removed using this wizard is quite extensive
- and some of them less visible than these file paths.
It would be interesting to know if this is going to change with future updates of Word. Why is an ALT TEXT included at all per default? I think using the file path in ALT TEXT should be made optional. Is there a way to turn off this default embedding of
the full path?
As the OP I also used Office 2013 on Windows 7 64bit.
Elke -
PDF Generation with database fields
Hi!
Well I have some questions and I was wondering if someone
would be kind enough to answer. Here it goes.
Scenario:
The company that I work for is a non-profit educational
institution. They wish to do a tax receipts project in which a
student can log on to our website and get a tax receipt for all the
courses they've take with us in the calendar year.
The data for the student resides in a SQL Server 2000
database table. The tax receipt has to be presented in a PDF
format. We have a PDF template that we have to use. Essentially,
the PDF template has to populated with values from the database.
Technical Environment: CF7, SQL 2K, Win 2003 Server, IIS 6.
Constraints: output has to be PDF format, can't upgrade to
CF8
Question 1:
Can a PDF document be populated with values from a database
in ColdFusion 7??
Question 2:
If so, o you know of a book/website in which this type of
work is detailed (a how-to)?
Question 3:
If the answer is "no" to the above, is there a tool that can
be used to accomplish this?
Thank you in advance! :)
Jolmes> Does anyone know if XPAAJ.jar is still available for CF7
users?
No, I do not. For forms, you could do something similar with
iText. An older version of it is built into MX 7. Here is an
adaptation of a simple java example from the iText site. Google for
more examples.
http://cfsearching.blogspot.com/2007/12/getting-started-with-itext-part-15.html -
Interactive PDF meltdown with InDesign CS5
Howdy,
I've just switched from InDesign CS3 to CS5 and I was creating interactive PDF's for my portfolio.
I work as a retoucher and all I was doing was making an image change from the "before" to the "after" image when the cursor rolledover the image. Easy-peasy job done.
For some unknown reason, when I now open my images in Acrobat, the images are terribly pixelated and the rollovers do not work.
It seems the images have to be at 300dpi, whereas before I can downsample them a little to reduce file size and still get a creditable "before" and "after" pic.
Now it's just a mess mith a massive file size! This seems to have happened all by itself and it's gone into meltdown!
Any ideas welcomeRollovers are currently not working properly, we expect a fix shortly.
InDesign's PDF export system does not have any connection to Acrobat, so your main question needs to be posted on the InDesign forums.
Maybe you are looking for
-
Why do i get a BOBJ prompt in xcelsius with my live office feed
dear all, the situation ... i have an excel document, with a live office feed. the data feed is assigned a specific user from the sap ecc backend system. i have this excel live office saved locally on my c drive. i can open it up, and hit the refresh
-
Address Book Importing Contacts to Outlook
Can anyone advise on how to import contacts from Address Book into OUtlook for Mac?
-
Migration Date when migrating from classic to new g/l
Hello gurus, I am planning a migration from classic to new g/l, but this fiscal year it will be not possible to finish phase 0 (from migration model plan). Is it possible to do it in the middle of the new fiscal year, what are the withdrawls or issue
-
How to get Dowload servlet logs (JNLP logs)
I need to get all the runtime exceptions and logs while downloading the application data from server site. How can I do that. I tried by writing the below code in the web.xml but it doesn't work - <servlet> <servlet-name>JnlpDownloadServlet</servlet-
-
Surround sound problems with X
When testing surround sound in the SB control panel, all speakers work fine. When running any game/application that has surround sound, sound only comes from the 2 front speakers. This includes DVDs with the AC3 audio decoded on the PC, and games tha