Rendering, RTL, PDF and printing
HTML, right-to-left, PDF service, client and browser printing. Code examples in the DocStudio developer reference.
HTML for each target
Right-to-left
Browser printing
Render the print target, load it into a sandboxed frame and call print.
PDF service
Needs Playwright and Chromium on the machine that runs it. Keep one service per process and close it on shutdown.
PDF client
Request a PDF from a browser or any environment with a fetch function. The client validates the request, applies a timeout and reads the page count from the response header.