Copy link to clipboard
Copied
FrameMaker 7.1 on Windows 7 using Acrobat 11 – Need to print many books to single PDF files – Save as PDF works fine – however some books have Registration (Printer) marks – Can turn this off manually but not via code – Tried
F_ApiSetInt( FV_SessionId, docId, FP_PDFRegistrationMarks, FV_PDFRegistrationMarksNone)
– also tried on session and book
– anyone know how this can be done?
Or even just changing the default settings for everything – the setting seems to be on the book – I assume I have to make the change and save the book and then save as – the code does not give an error but does not work – any help would be great – thank you
I do not have the option to upgrade anything at this time.
Copy link to clipboard
Copied
I thought that’s just set in the Acrobat joboptions settings file?
Copy link to clipboard
Copied
Do you know where this file is, its name and what parameter this is? Or can you point me to where I might find out?
Thanks for the reply.
Copy link to clipboard
Copied
Seemed to need to set for each document in the book. Doing the following per document in the book solved my problem.
F_ApiSetInt( bookId, docId, FP_DocAcrobatElements, False);
// 1.2 R.G. 05-15-14 added - to use paragragh names instead of elements for bookmarks
F_ApiSetInt( bookId, docId, FP_PDFBookmark, True);
// 1.2 R.G. 05-15-14 added - so bookmarks are generated
F_ApiSetInt( bookId, docId, FP_PDFBookmarksOpenLevel, FV_PDFBookmarksOpenAllLevels);
// 1.2 R.G. 05-15-14 added - so PDF opens showing all levels of bookmarks
F_ApiSetInt( bookId, docId, FP_PDFRegistrationMarks, FV_PDFRegistrationMarksNone);
//F_ApiSimpleSave(docId, name, False); // save this document
F_ApiSimpleSave(docId, F_ApiGetString(FV_SessionId, docId, FP_Name), False);