Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
287 views
in Technique[技术] by (71.8m points)

mac环境下打印机的设备文件在哪里

背景

macos 环境下使用golang编程语言直接操作usb串口打印机
通过指令集进行打印操作

问题

mac下只能找到设备的DeviceURI如:
DeviceURI usb://Printer/Printer?serial=3675A0
但是golang的文件操作无法通过 DeviceURI 发送指令
image.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

目前没有找到mac下打印机的合理方案,替换到到windows下处理


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...