通过安卓访问打印机 [英] Accessing Printer through android

查看:122
本文介绍了通过安卓访问打印机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我的网络上的打印机的IP地址。 我想在该打印机发送打印命令。有什么建议立即进行删除我做这个。任何一个可以帮助我FO这一点。谢谢

I have an IP address of my my printer on the network. I want to send print command on that printer. What shoul i do for this.. Any one help me fo this. Thanks

推荐答案

这是简单的HttpConnection和放大器;写DataOutputStream类, 首先,你需要做串行连接使用该IP地址。使得连接后,您需要做DataOutputStream类写入文件/字,这些都将进入打印机和放大器;将打印出来。我做了相同的蓝牙打印机previously。

It is simple as HttpConnection & writing DataOutputStream, First of all you need to make Serial Connection with that IP address. After making Connection you need to make DataOutputStream for writing files/words , these will goes to printer & will print it. I did same for Bluetooth Printer previously.

这篇关于通过安卓访问打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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