@univerjs-pro/sheets-print
v1.5.2
Published
Print integration for Univer Sheets.
Readme
@univerjs-pro/sheets-print
@univerjs-pro/sheets-print is part of Univer Pro. Print integration for Univer Sheets.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
| --- | --- | :---: | :---: | :---: | :---: |
| @univerjs-pro/sheets-print | UniverProSheetsPrint | Yes | Yes | Yes | No |
Installation
pnpm add @univerjs-pro/sheets-print
# or
npm install @univerjs-pro/sheets-printUsage
Start with the integration setup for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.
import '@univerjs-pro/sheets-print/lib/index.css';
import EnUS from '@univerjs-pro/sheets-print/locale/en-US';
import { UniverSheetsPrintPlugin } from '@univerjs-pro/sheets-print';
univer.registerPlugin(UniverSheetsPrintPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.Integration Notes
Import the package stylesheet once in the application entry before rendering Univer UI.
Import locale files only for the languages your application enables.
Use the facade entry when integrating through Univer Facade APIs.
Printing, range screenshots and clipboard screenshots are available without a paid License grant, including when print points are zero or a License expires. Printed pages are not truncated by License limits, and range screenshots have no License cooldown. Product authorization still controls the single output license watermark; independently configured user watermarks remain intact. Update the front-end package combination to receive this behavior. API shapes and snapshots need no migration; rendering, document permissions and clipboard failures still apply.
