USB打印机 [英] USB Printer
问题描述
嘿,
最近,我得到了有关如何将数据流发送到打印机的答案.
但是问题是我有一个USB打印机,并且数据正在进入打印机缓冲区,但没有被打印.
是否有必要使用并行端口打印机(例如点矩阵打印机)或对USB打印机进行的任何设置(例如HP Deskjet 1400系列).
Hey there,
Recently I got an answer on how to send a data stream to the printer.
But the problem is I have a USB printer and data is going to the printer buffer but it is not getting printed.
Is it necessary to have a paraller port printer like the dot matrix printer or any settings to be made to the USB printer like HP deskjet 1400 series.
推荐答案
我最近遇到过同样的问题,即不能给USB打印机打印.我通过执行以下步骤解决了问题:
*首先转到系统(xp)中的``C:\ WINDOWS \ system32 \ drivers \ etc'',然后在其中找到``127.0.0.1 localhost''.
*现在,而不是映射您的\\ systemName \ usbPrintersharename,请尝试此
在命令窗口中,
净使用lpt1 \\ 127.0.0.1 \ usbprintersharename
例如.净使用lpt1 \\ 127.0.0.1 \ tvs,其中"tvs"是我的usbprinter的共享名.
现在,尝试从代码给usb打印机打印,它将起作用.
I recently encountered the same problem, i.e not able to give print to a usb printer. I solved by doing these steps :
* First go to ''C:\WINDOWS\system32\drivers\etc'' in your system(xp) and there you will find ''127.0.0.1 localhost''.
* Now instead of mapping your \\systemName\usbPrintersharename try this
In command window,
net use lpt1 \\127.0.0.1\usbprintersharename
for eg . net use lpt1 \\127.0.0.1\tvs where ''tvs'' is the share name of my usbprinter.
Now ,try giving a print to the usb printer from code,it will work.
是否需要具有并行端口打印机
Is it necessary to have a paraller port printer
否,无论您尝试使用哪种USB打印机进行打印,都应该可以正常工作.检查打印机设置,运行测试页等.
No, a USB printer should work fine whatever you try to print to it. Check your printer settings, run a test page etc.
这篇关于USB打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!