Skip to main content
Participating Frequently
May 13, 2014
Question

C-Plus API for turning off Registration (Printer) marks - not working

  • May 13, 2014
  • 2 replies
  • 254 views

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.

    This topic has been closed for replies.

    2 replies

    rmg007Author
    Participating Frequently
    June 5, 2014

    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);

    Jeff_Coatsworth
    Community Expert
    Community Expert
    May 14, 2014

    I thought that’s just set in the Acrobat joboptions settings file?

    rmg007Author
    Participating Frequently
    May 14, 2014

    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.