# 加上以下控制项

Posted by James on July 27, 1999 at 00:40:10:

In Reply to: 谢谢C.T.Wang,让我学到了如此有用的东东,但用了此dll后能否detect我的印表机是否OnLine?? posted by Stephen on July 27, 1999 at 00:16:38:

加上Command1 & Text2
贴上Command1_Clock()

Private Sub Command1_Click()
Text2.Text = Inp(&H379)
End Sub
执行Command1即可得到LPT1状态(,PRINTER ERROR,ON LINE,PAPER EMPTY,BUSY....)各有代表位元

Follow Ups:

- 感谢james, 终于学会了....(无内文) Stephen 00:35:16 7/28/99 (0)