Use the PrintOptions JSP tag to define a Print Options dialog, which allows users to set options for printing a thin presentation bean. The Print Options dialog does not perform the print action. Instead, it sends the requested printable presentation to the specifed Printer-Friendly View, which displays the presentation for printing. The user prints the presentation through the browser's print functionality.
Note: The PrintOptions tag must be invoked through a DialogLink tag. The page that contains the PrintOptions tag should also contain an ApplyButton tag and a CancelButton tag. In a BLAF JSP application, you can use a BIPageButtonBar tag to provide both buttons with one tag.
id -- (Required) A unique identifier for this dialog tag.
scope -- Determines the accessibility and lifetime of the object; select one of the following values: Page, Request, Session, or Application. Typically, use Session, which is the default value.
presentationId -- Specifies the identifier of the Presentation tag for which this dialog tag is about to perform an action; usually this attribute is not set manually because the DialogLink tag provides this value. If this attribute is set, then it must specify a presentation identifier that is contained in the current page.
applyPage -- (Required) Specifies the JSP page that should
be displayed when a user chooses Apply on this page.
The page that you set here must contain the Printer-Friendly view whose identifier
you set in the in the printerFriendlyViewId
attribute.
printerFriendlyViewId -- (Required) Specifies the identifier of the PrinterFriendlyView JSP tag that is to display the printable presentation as requested by the user. This identifier must be contained in the page that is referenced in the applyPage attribute.