Similar Threads:
1.Print job and domain name
Hi NG
I'm using the spool API to retrieve the user name of the user who has
printed a job my homemade port monitor. Currently I'm using JOB_INFO_2. Here
I've got MachineName and UserName. With that I use the API call
LookupAccountName() to get the domain name.
With many domains the LookupAccountName() can take a very long time,
depending on how the trusts between the domain are setup.
Is there another way to retrieve the domain name of the user who printed the
job?
Platforms: WinXP, Win2000 and Win2003
Programming language: C++ (VC6)
Posted in: microsoft.public.win2000.developer and microsoft.public.win2000.
2.Domain name of Print Job originator?
Hi,
Does anybody know a way I can determine the domain name of the user
who submitted a print job to a queue?
I am using the JOB_INFO_2 structure to get all the other information I
want, including the username, but I cannot find a way to determine
what domain that user is in.
I can almost get there by making a call to LookupAccountName passing
the username, but that can give the wrong value if the same username
exists in multiple accessible domains.
Anbody got any ideas?
Thanks,
Bob.
3.Howto suppres program name prefix from print job name
Hi,
when I print a document named "test.doc" from MS Word, the document
name in the printer spooler shows the job name "Microsoft Word -
test.doc". Is there a way to configure this name? In my case I need to
suppress the program name, i.e. the prefix "Microsoft Word - ".
My programm uses Word to send faxes to a fax printer. The fax printer
keeps a journal of all faxed documents. But the journal is more or
less useless, as the document name is truncated. So I can see that
most faxes where sent from Microsoft Word, but the real document name
that follows is in most cases not readable, because it got
truncated...
TIA,
Stefan
4.How to print user name on header oor footer on all print jobs
Hi
Our company is running on windows xp platform .we have few printers
installed in the network. how can we get the user name of the originator of
the printjob, printed on all documents . I tried seperator page but the name
is printed in a seprate page where as i need the user name printed on the
printed document it self. this will help us to track the user who has sent
the print out.
please let me know if there is a way to do this
Many thanks in advance
Sajid
5.Print job in queue gets port from next print job
Hi, this happens with printer connected to non-existent LPT1 port or TCP/IP
port.
1) Send first print job, when calling StartDoc set DOCINFO lpszOutput to
NULL, it sits in front of queue, no problem.
2) Send second print job, same as first job, it sits behind first job in
queue, no problem.
3) Send third print job, but this time when calling StartDoc set DOCINFO
lpszOutput to a file path. The file is new and it is on either ProgramData or
a network drive which gives permission to create. The second print job
magically gets the 3rd print jobs file in it's port, as shown when viewing
the print queue. Futhermore, third print job hangs waiting for EndDoc.
6. Print Job Respools in the middle of a Large Print job
7. an extra empty print job for each print job
8. HP: deleted large print job stuck, blocking all other print jobs