PrintShare 安卓 打印API

Android Developers

If you an Android developer, you can easily integrate your application with PrinterShare to provide printing capabilities to your users. We use intent mechanism to trigger print jobs on the phone. You can inject the following code into your app at the place where printing is required:

Intent i = new Intent(Intent.ACTION_VIEW);
i.setPackage("com.dynamixsoftware.printershare");
i.setDataAndType(data_uri, data_type);
startActivity(i);

Where:

data_uri - Uri of the object to print, such as "file:///sdcard/something.pdf" or "content://something"

data_type - Mime type. The following mime types are supported:

"application/pdf"
"text/html"
"text/plain"
"image/png"
"image/jpeg"
"application/msword" - .doc
"application/vnd.openxmlformats-officedocument.wordprocessingml.document" - .docx
"application/vnd.ms-excel" - .xls
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" - .xlsx
"application/vnd.ms-powerpoint" - .ppt
"application/vnd.openxmlformats-officedocument.presentationml.presentation" - .pptx

Feel free to contact us if you need more information about application integration.


产品特色: PrinterShare移动打印直接打印手机上的文件、包括来自SD 卡及Google 文件、Gmail、相片、联络资料、行事历、SMS/MMS、通话记录及网页的文件(DOC、DOCX、XLS、XSLX、PPT、 PPTX、PDF、TXT)。 功能: *经由Wi-Fi 或蓝牙,即可在附近的印表机直接列印,无须使用电脑; *列印至附近PC 或Mac 共享的印表机; *无限次远端列印。接收端(Mac 或PC) 无须购买页数或订用服务。 近端列印:如果您有Wi-Fi 或蓝牙印表机,就可直接在该印表机上列印。在主选单中选择附近的印表机,然后选择想要使用的印表机即可。如果您的印表机并不支援此功能,Windows 用户可到printershare.com 下载我们免费提供的软件,并在安装软件后共用您的印表机。 Mac 用户则可使用内建的Mac OS X Printer Sharing 服务来共享印表机。近端列印服务需使用PrinterShare Premium Key。您可在Market 购买Premium Key,或者到printershare.com 以PayPal 付款购买。购买Premium Key 之前,我们强烈建议您首先列印测试页面。 远端列印:您可经由互联网,在世上所有角落进行列印,包括您自己的印表机。接收列印要求的一端,无论使用Mac 还是PC,均须进入printershare.com 取得我们的免费软件并加以安装,才能共享印表机。您在装置里找到共享印表机后,就能列印。远端列印须使用PrinterShare 用户帐户。如果电脑和装置都由您控制,我们建议两者均使用相同的帐户注册。使用Premium Key 后,远端列印的限制就会取消。否则,接收列印要求的一方,就须购买页数或订用付费服务。首 20 页费用全免。 云端列印:PrinterShare 支援Google 云端列印,无须另行收费。要执行云端列印,您的电脑上需要安装最新版本的Google Chrome 浏览器。如欲取得更多设定指示,请参阅google.com/support/cloudprint 从装置上列印时,我们一般建议使用Wi-Fi 或3/4G,以获得更佳效能。但是,EDGE/GPRS 或任何其他连接方式也能使用。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值