runback Posted October 23, 2017 Posted October 23, 2017 I'm trying to attach some files (from a container) to an invoice. The invoice turns into a pdf file just fine and the png files are attached to it OK. The pre-view of the pdf file looks fine, but can't attach it to the main pdf file. - Any suggestiones?
bcooney Posted October 23, 2017 Posted October 23, 2017 You cannot append an existing PDF to a FileMaker created PDF. You CAN append to an existing PDF that you export from a container. Attached demo.testpdf.fmp12.zip
runback Posted October 24, 2017 Author Posted October 24, 2017 Thank you for a swift answer and for the attached example code!
runback Posted November 3, 2017 Author Posted November 3, 2017 (edited) I looked at some FM code that combined pdf files, but it was very slow. My solution is that I open the attached pdf files apart, each one, and then the user can print them. - Not too neat, but it works. - No problems with the jpg files and I guess there won't be with gif files either. BUT. What is a smart thing to do with Word and Excel documents? (It seems impossible to append them to the (existing) pdf invoice file, or at least I haven't been successful in doing it.) Edited November 3, 2017 by runback
bcooney Posted November 3, 2017 Posted November 3, 2017 Nope, you can't append a Word or Excel doc to a PDF. Not sure where you're going with this workflow. Why not simply export the file and use the auto-open. Save some trees!
runback Posted November 3, 2017 Author Posted November 3, 2017 I was afraid I was going to get that answer. I bow my head (it's quite sore after "hitting it against the wall" for some time) humbly and follow your advice. - Thank you!
runback Posted November 4, 2017 Author Posted November 4, 2017 (edited) I raise my head again (and I won't chop down a tree before Christmas comes). - Can't open Word file after exporting to a temporary file. Auto-open gives error 5, Send Event error 3 and Open URL error 5. Edited November 4, 2017 by runback
runback Posted November 4, 2017 Author Posted November 4, 2017 My man! Works like a dream! A million thanks!
Lee Smith Posted November 4, 2017 Posted November 4, 2017 Hi runback and welcome to the FM Forums, bcooney first name is Barbara, LOL Lee
runback Posted November 5, 2017 Author Posted November 5, 2017 LOL! Great! - Sorry, no offence, Barbara! I've got a wife and five daughters and they're also very smart! (As well as my son.)
bcooney Posted November 5, 2017 Posted November 5, 2017 demo file post was accidentally deleted. here it is again. export_open.fmp12
Recommended Posts
This topic is 2838 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now