使用Google Apps脚本打印Google表格工作表的任何方式? [英] Any way to use Google Apps Script to print a Google Sheets worksheet?

查看:209
本文介绍了使用Google Apps脚本打印Google表格工作表的任何方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在写信询问是否存在在Google表格中使用Google Apps脚本来允许它,所以当用户单击一个按钮时,它会弹出打印菜单(或者可以自动打印)。 (我也知道我可以将脚本指定给按钮的绘图,只需要脚本,如果有任何!)

最好的问候。

解决方案

我不相信您可以通过谷歌脚本与本地打印机进行交互。我认为有可能使用谷歌云打印服务 - 我会看看这篇文章。
https://developers.google.com/cloud-print/docs/小工具


I'm writing to ask if there's anyway of using Google Apps Script in Google Sheets to allow it so when a user clicks a button it'll then bring up the print menu (Or print automatically is possible.) I have looked all over the web and can't seem to find anything that helps me with my specific wishes, so just wanted closure or a resolution!

(I am also aware I can assign scripts to a drawing for the button, just want the script if there is anything!)

Best Regards.

解决方案

I do not believe you can interact with your local printer via google scripts. I think it may be possible to use google cloud print services- I would take a look at this article. https://developers.google.com/cloud-print/docs/gadget

这篇关于使用Google Apps脚本打印Google表格工作表的任何方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆