469,927 Members | 1,870 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,927 developers. It's quick & easy.

Change username of printjob in spool

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
Nov 21 '05 #1
0 1207

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Philip Wagenaar | last post: by
reply views Thread by Robert | last post: by
1 post views Thread by orajit | last post: by
1 post views Thread by akaley | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.