Using Ghostscript Add watermark to PDF for Print Only -
i creating program using ghostscript add watermark(stamp) on pdf file. want know, possible add watermark pdf display on print copy of pdf not on computer screen?
i believe can creating optional content group has usage dictionary /print dictionary has printstate key value on. want /view dictionary viewstate key has value off.
you create annotation watermark , have annotation part of optional content group created above. annotation print, not view.
note consuming application decide whether viewer or printer. ghostscript, example, assumes viewer , uses viewstate determine visibility of optional content groups.
you should able construct optional content groups , annotations using pdfmark operations. see adobe pdfmark reference more information.
Comments
Post a Comment