- 16
- 0
- 约9.99千字
- 约 15页
- 2017-10-07 发布于河南
- 举报
检测打印机待打印文档(Detect printer to print document)
检测打印机待打印文档(Detect printer to print document)
306, how to know that a network printer still has several copies of the report waiting to be printed?
307, how to download a page in Internet every day in the picture to replace the desktop design?
308. How do I call the control panel of the system?
309, how to completely simulate the systems control panel?
310, how do you set the MsgBox automatically shut down after a certain period of time and if there is no response?
306, how to know that a network printer still has several copies of the report waiting to be printed?
When we want to print reports, if the printer is the local printer, of course, the report will be printed out immediately, anyway, the printer is only you are using it! But if you are in a large number of companies or enterprises, often a lot of people have to share a printer, and the printer is not necessarily placed in the eyes of what can be seen!
When you will report into a network printer, the printer may not see, you have to put the printer place to take a report at this time, you are most concerned about, no report is printed, if not, there are a few not print statements ahead of your report?
Heres a program that lets you know how many copies of a network printer are waiting to print As your application throws out the report, you can tell your User how many of his statements are in line!
Add the following declarations and modules in the.Bas file:
Constants Definition
Public Const CCHDEVICENAME = 32
Public Const CCHFORMNAME = 32
Public, Const, PRINTER_ACCESS_ADMINISTER = H4
Public, Const, PRINTER_ACCESS_USE = H8
Types Definition
Public Type DEVMODE
DmDeviceName, As, String * CCHDEVICENAME
DmSpecVersion As Integer
DmDriverVersion As Integer
DmSize As Integer
DmDriverExtra As Integer
DmFields As Long
DmOrientation As Integer
DmPaperSize As Integer
DmPaperLength As Integer
DmPaperWidth As Integer
DmScale As Integer
DmCopies As Integer
DmDefaultSource As Integer
DmPrintQuality As Integer
DmColor As Integ
您可能关注的文档
- 新能源汽车都使用什么能源(What energy sources are used in new energy vehicles).doc
- 新脚本说明(New script description).doc
- 新自由主义的危害和美国前瞻(The dangers of Neo liberalism and the American Perspective).doc
- 新职业英语-职业综合英语2课后习题答案(New occupation English - vocational comprehensive English 2 after-school Exercises answer).doc
- 新西部 新陕西 新西企业培训安(New West, new Shaanxi, new West, enterprise training, safety).doc
- 新规范清单(New specification list).doc
- 新视野大学英语(第二版)第二册1-6单元翻译题答案(New Horizon College English (Second Edition), volume 1-6, unit second, translation questions, answers).doc
- 新视野大学英语读写教程第四册第一单元a篇原文及翻译(New Horizon College English reading and writing course fourth, unit 1, a, text and Translation).doc
- 新视野答案(New horizons answer).doc
- 新视野英语12(New horizons English 12).doc
原创力文档

文档评论(0)