[Open Source] A Visual Printing Editor Utility Library with a Visual Designer Supporting Printing and Report Design
![[Open Source] A Visual Printing Editor Utility Library with a Visual Designer Supporting Printing and Report Design](https://yy123.ink/api/img/1782597506307-ykx9px.jpg)
1. Project Overview
vue-plugin-hiprint (based on hiprint 2.5.4) was originally named this way simply to make it easier for the author of vue-plugin-hiprint (not the original hiprint author) to integrate and use it in Vue projects.
This plugin is only a JavaScript [utility library], not a Vue [component library]. Therefore, it does not include the component pages shown in the demo by default (you can copy and use the demo code separately).
Since the last update to the official hiprint website was in 2019 [hiprint 2.5.4 is licensed under LGPL], numerous optimizations and adjustments have subsequently been made based on feedback and requests from many users.
2. Open Source License
Licensed under MIT
3. Screenshots
Project screenshots
4. Feature Overview
hiprint for Vue2/Vue3 ⚡ Printing, print design, visual designer, report design, element editing, and visual print editing.
![]() |
![]() |
![]() |
![]() |
|
|
|
5. Tech Stack
Related Project Ecosystem
|
Project Name |
Description |
|
vue-plugin-hiprint |
Print Designer |
|
electron-hiprint |
Direct Printing Client |
|
node-hiprint-transit |
Web-to-Client Relay Service |
|
uni-app-hiprint |
uni-app webview demo |
hiprint for Vue2.x / Vue3.x (based on jQuery, also supports other frameworks)
Note
-
NodeJs version 16.x is required (development uses 16.18.1).
-
【vue-plugin-hiprint】 and 【the official hiprint.io website】 differ significantly. Do not mix them up! Do not mix them up! Do not mix them up!
-
Please use the printing client associated with this project, or modify the printing client source code yourself to ensure compatibility with this project's templates!
-
The main branch contains the latest code of the integrated version. If you do not need to modify hiprint-related code, please install it through the npm package.
-
When using the direct client, local development connections work correctly, but after deploying online, cross-origin issues may prevent connections to the printing client:
-
To resolve cross-origin issues in production, upgrade to HTTPS!
-
To submit a PR, please go to GitHub. After merging, the npm package will be published automatically and the code will be synchronized to Gitee.
-
The vue-plugin-hiprint package does not include a UI interface, so you need to implement one yourself. For faster integration, see the sv-print component library.
Installation and Usage
Branch Description
main: Integrated version of vue2.x + ant1.7.x and npm package source code
npm_demo: Example of using the npm package with vue2.x + ant1.7.x
npm_demo_ele: Example of using the npm package with vue2.x + ElementUi 2.x
npm_demo_v3: Example of using the npm package (0.0.18) with vue3.x + vite
How to Integrate the Components
For manual integration, check vue.config.js and compare it with hiprint.bundle.js.
webpack.config.js is used for npm package build configuration.




