Hello,
I use the code from here: HOW TO: Determine Printer Status and Print Job Status from Visual Basic
It all works fine - I need to get the user name of the job. However, they are defined as longs, not strings.
I tried using the functions that came with the code, but I haven't had luck.
Basically when I do a msgbox(ji2(intCount).PrinterUserName I get a number
When I use PtrCtoVbString I get nothing
When I use GetString I get four square characters.
How can I return the user name (owner) of the print job?
Thanks.
I use the code from here: HOW TO: Determine Printer Status and Print Job Status from Visual Basic
It all works fine - I need to get the user name of the job. However, they are defined as longs, not strings.
I tried using the functions that came with the code, but I haven't had luck.
Basically when I do a msgbox(ji2(intCount).PrinterUserName I get a number
When I use PtrCtoVbString I get nothing
When I use GetString I get four square characters.
How can I return the user name (owner) of the print job?
Thanks.