Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    showPrintPreview as PDF

    1. SmartClient Version: v8.3p_2013-01-31/PowerEdition Deployment (built 2013-01-31)

    Hi,

    when creating a pdf via

    RPCManager.exportContent();

    I'd like to take the look and feel from

    Canvas.showPrintPreview();

    in other words I need to have the print form of the html view (no scroll bars, no images, black-white coloring etc.) and not the 1:1 pdf look of the html.

    For Example I have some page and when showing the print preview via Canvas.showPrintPreview() I have additionally to the print button the pdf button with which i can print the preview directly to pdf.

    Thanks,
    zapryano

    #2
    exportContent() uses the result of getPrintHTML(), so the way it works is already what you want.

    Comment

    Working...
    X