Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get the number of jobs in print queue
Message
 
 
To
07/01/2003 05:59:39
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00737034
Message ID:
00738856
Views:
23
Kouakou,

I looked at the article from the other website there is no need to post it here. My last message to you said that I don't see anything in either of the two structs. In fact I think the VB coder's comment is out of synch with the actual code too, there's nothing in the code that really finds the number of copies.

The JOB_INFO_1 struct gives you TotalPages and PagesPrinted but that's not going to tell you how many copies were requested.
>'\\ JOB_INFO_1 - Standard print job info
>Private Type JOB_INFO_1
>   JobId As Long
>   lpPrinterName As String
>   lpMachinename As String
>   lpUserName As String
>   lpDocumentName As String
>   lpDataType As String
>   lpStatus As String
>   Status As PrintJobStatuses
>   Priority As Long
>   Position As Long
>   TotalPages As Long
>   PagesPrinted As Long
>   Submitted As SYSTEMTIME
>End Type
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform