haley-wong / hlbluetoothdemo Goto Github PK
View Code? Open in Web Editor NEW蓝牙操作库,小票打印库
蓝牙操作库,小票打印库
报错 NSLocalizedDescription=Unknown ATT error.我百度说下长度的问题,但是我把就打印个标题,还是报这个错误,怎么解决
一直报这个错误不能写入,或者就是报code==2的错误,请求不被支持,可以加QQ292403895说一下不
if([object isKindOfClass:[NSData class]]) {
NSData *data = (NSData *)object;
[dataArr addObject:data];
}
}
printVC.printingItems = dataArr;
秦丝(中琦)打印机,可以蓝牙连接,但是打印不了,没有任何错误信息,能帮忙想想是哪方面的问题吗?谢谢!!!
我从你的Demo里看到你获取“写入打印数据的characteristic”,是通过遍历所有server里的所有的character,并且character的properties为CBCharacteristicPropertyWrite。然后取了遍历的最后一个符合条件的character,这个是什么依据呢?如果不以最后一个该怎么判断哪个character是写入数据的character?
你好。请问有 Swift 版本的么?我自己尝试做成 Swift 版本一直不成功,希望能帮助我,谢谢。
m_imageData[result_index++] = 27;
m_imageData[result_index++] = 51;
m_imageData[result_index++] = 0;
m_imageData[result_index++] = 27;
m_imageData[result_index++] = 42;
m_imageData[result_index++] = 33;
m_imageData[result_index++] = width%256;
m_imageData[result_index++] = width/256;
这段代码能不能解释一下,在网上搜了打印图像的指令,跟这个略有出入。不知道有些参数的含义。
合杰打印机,用你的sdk,无法超找到服务,为啥?
恩叶NP100(58mm)打印机, 打印二维码和图片的时候出现乱码
怎么打印word与excel?
可以自定义票据格式吗?是否支持多联打印?自动切纸?
您好,现在我遇到一个需求,在小票上打印图片,但是打印图片非常慢,怎么解决呢?
是不是在写入的时候被限制了 ?
这个问题出现在哪里呢?大神
使用佳博的打印机 使用demo 打印金额时,添加了一个 人民币 符号¥ 结果打印出来是一个沃,应该是乱码了,别的文字没有发现异常。
还有就是打印的字体大小正好,但是文字感觉有些粗,如何能调细些啊。
IOS10.3.3 群索QS-5803
调用系统的API来获取特性能写入的最大数据长度512打印条形码二维码甚至文字都会出现The offset is invalid,
手动修改为146后打印条形码和位图方式打印二维码出现乱码,打印指令方式打印二维码出现k1E0w.baidu.coma的字样
请大神帮忙,有没有什么解决思路
你好。请问有 Swift 版本的么?我自己尝试做成 Swift 版本一直不成功,希望能帮助我,谢谢。
在能获取到 Bitmap 的情况下,不知道如何生成打印机打印的指令。
有没有人知道,麻烦告知一下,谢谢!
打印指令只能是16进制的么?ASCII或者十进制的不行么?
如题
你好,请问一下,打印图片的时候,打出来的图片底部会有一部分缺失,这怎么解决了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.