问题描述
- kiosk - kiosk-priting
我发现了一个临时的:))解决方案:
解决方案CHROME APP
-
安装您的应用程序到chrome
-
从此应用程序创建快捷方式到桌面。 >右键单击>属性>编辑目标文本框,如下所示(您将添加--kiosk-printing参数)
在编辑之前:C:\程序文件(x86)\Google\Chrome\Application\chrome.exe--profile-directory =Profile 2--app-id = eoaefbbbpgcbhgeilphgobiicboopknp
编辑后:C:\程序文件(x86)\Google\Chrome\Application\chrome.exe - 信息亭打印 --profile-directory =Profile 2 --app-ID = eoaefbbbpgcbhgeilphgobiicboopknp
- 完全重新启动chrome以达到效果(关闭每个选项卡和窗口)
-
尝试打印
-
如果您想删除默认页眉和页脚(页面地址和日期):打开正常的chrome打印东西>在打印机预览>更多设置>取消选中页眉和页脚。 Chrome会永远记住这个设置。
(事实上chrome也必须在manifest.json上提供这个属性,但是我还没找到)
It's possible in a Google Chrome App print silent like when Chrome is running in kiosk mode?
--kiosk --kiosk-priting
I found a temporary (maybe not temporary :) ) solution for this subject:
SOLUTION FOR CHROME APP
Install your App to chrome
Create shortcut from this app to desktop.
Right click > Properties > Edit Target Textbox like the below (you will add "--kiosk-printing" parameter )
Before Edit: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Profile 2" --app-id=eoaefbbbpgcbhgeilphgobiicboopknp
After Edit: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --kiosk-printing --profile-directory="Profile 2" --app-id=eoaefbbbpgcbhgeilphgobiicboopknp
- Absolutely restart chrome for effect (close every tabs and windows on chrome)
Try to print
If you want to remove default header and footer (page address and date) : Open normal chrome print something > on printer preview > More Settings > uncheck "Header and Footer". Chrome ll remember this settings always.
(In fact chrome must provide this property on manifest.json too, but i couldnt find yet)
这篇关于谷歌Chrome浏览器应用程序打印slient的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!