本文介绍了谷歌Chrome浏览器应用程序打印slient的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

   -  kiosk  -  

kiosk-priting


解决方案

我发现了一个临时的:))解决方案:

解决方案CHROME APP


  1. 安装您的应用程序到chrome


  2. 从此应用程序创建快捷方式到桌面。 >右键单击>属性>编辑目标文本框,如下所示(您将添加--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


  3. 完全重新启动chrome以达到效果(关闭每个选项卡和窗口)

  4. 尝试打印


  5. 如果您想删除默认页眉和页脚(页面地址和日期):打开正常的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

  1. Install your App to chrome

  2. Create shortcut from this app to desktop.

  3. 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

  4. Absolutely restart chrome for effect (close every tabs and windows on chrome)
  5. Try to print

  6. 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 02:08