David,
Can you please clarify: PagesPrinted will tell you, that this number of pages were processed in Printer's memory or they were
actually printed?
Thanks in advance.
>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
If it's not broken, fix it until it is.
My Blog