当前位置:网站首页>Record the problems encountered in using v-print
Record the problems encountered in using v-print
2022-04-23 12:53:00 【ZMJ_ QQ】
Reference documents
vue html Page printing function vue-print-nb - Xiaoxiang Yuxi - Blog Garden
1、 When clicking print, the console reports an error , It's not settled yet

2、 Remove header And footers , Uncheck header and footer... In more settings

3、 Solve the problem of content next to the edge and blank pages when printing
<style media="qualityPrint">
/* media="qualityPrint" qualityPrint It needs to be printed div Of id*/
/* Make the printed content not next to the border */
@page {
size: auto; /* auto is the initial value */
margin: 15mm; /* this affects the margin in the printer settings */
}
/* body{height:auto;} Solve the problem of blank pages */
body {
height: auto;
}
</style>

版权声明
本文为[ZMJ_ QQ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230616457332.html
边栏推荐
- Trier les principales utilisations de l'Agent IP réseau
- STM32 control stepper motor (ULN2003 + 28byj)
- 5 free audio material websites, recommended collection
- 22. Bracket generation
- 数据库中的日期时间类型
- BaseRecyclerViewAdapterHelper 实现下拉刷新和上拉加载
- 云原生KubeSphere部署Redis
- 31. Next arrangement
- 4. DRF permission & access frequency & filtering & sorting
- 标签与路径
猜你喜欢

Wonderful review | the sixth issue of "source" - open source economy and industrial investment

Pre competition practice of TIANTI competition

Remote access to raspberry pie at home (Part 1)

ZigBee CC2530 minimum system and register configuration (1)

Unable to create servlet under SRC subfile of idea

SSL证书退款说明

大家帮我看一下这是啥情况,MySQL5.5的。谢了

云原生KubeSphere部署Redis
![[unity note] basic lighting in l4unity](/img/38/d88245af2062ed67fb8e61327f3bb9.png)
[unity note] basic lighting in l4unity

SSL certificate refund instructions
随机推荐
uni-app 原生APP-本地打包集成极光推送(JG-JPUSH)详细教程
BUUCTF WEB [BUUCTF 2018]Online Tool
C#,二维贝塞尔拟合曲线(Bézier Curve)参数点的计算代码
进程虚拟地址空间区域划分
【每日一题】棋盘问题
Softbank vision fund entered the Web3 security industry and led a new round of investment of US $60 million in certik
Resolve disagrees about version of symbol device_ create
洛谷P5540 [BalkanOI2011] timeismoney | 最小乘积生成树 题解
How do traditional enterprises cope with digital transformation? These books give you the answer
31. 下一个排列
BUUCTF WEB [BJDCTF2020]The mystery of ip
flask项目跨域拦截处理以及dbm数据库学习【包头文创网站开发】
【微信小程序】z-index失效
Analysis of InnoDB execution process in MySQL
梳理网络IP代理的几大用途
RT-thread中关键词解释及部分API
软件测试周刊(第68期):解决棘手问题的最上乘方法是:静观其变,顺水推舟。
Unlock openharmony technology day! The annual event is about to open!
Introduction to servlet listener & filter
硬核解析Promise对象(这七个必会的常用API和七个关键问题你都了解吗?)