Skip to content

Conversation

@0mar-K
Copy link
Collaborator

@0mar-K 0mar-K commented Jan 1, 2026

This examples adds a floating panel for printing current page or custom page ranges.

Features:

  • Print current page with single click
  • Print custom page ranges
  • Two print methods: new tab (default) or iframe auto-print
  • Popup-safe navigation to avoid browser blockers
  • Real-time logging with color-coded messages
  • Error handling and validation

This examples adds a floating panel for printing current page or custom page ranges.

Features:
  - Print current page with single click
  - Print custom page ranges
  - Two print methods: new tab (default) or iframe auto-print
  - Popup-safe navigation to avoid browser blockers
  - Real-time logging with color-coded messages
  - Error handling and validation
@0mar-K 0mar-K requested review from a team and InosRahul and removed request for InosRahul January 1, 2026 22:30
Copy link
Member

@divyanshu013 divyanshu013 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Copy link
Contributor

@miguelcalderon miguelcalderon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you ofr this! 🎉


async function runPrint(
pageIndexes: number[],
clickEvent: MouseEvent,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants