This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/web/print/from-url.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. JavaScript print PDF from URL | Nutrient SDK

If you want to start printing a document from a URL, load it by passing it to the document option in your configuration.

Then, call instance.print() when the SDK has loaded. The printing dialog should display indicating the PDF has started printing:

NutrientViewer.load({
document: url
// ...
})
.then((instance) => {
// Print when loaded.
instance.print();
})
.catch((error) => {
console.error("Failed to load document:", error.message);
});