I want to change the Username/owner of a printjob in the spoolfile.
I know I have to use the SetJob function in the winspool.drv and that I have
to declare this by adding the following to my class:
Declare Function SetJob Lib "winspool.drv" (ByVal hPrinter As IntPtr, ByVal
JobId As Integer, ByVal Level As Integer, ByRef pJob As Byte, ByVal
Command_Renamed As Integer)
But how do I use this to change the owner/username of a print job?
With kind regards,
Philip Wagenaar