Link to home
Start Free TrialLog in
Avatar of gregtompkins
gregtompkins

asked on

Document Name in Printer Spooler

Hello All-

We have a legacy application at my work which sends raw print data to Windows queues.  The documents show up as "Remote Download Document".  I would like to prepend a string to the jobs that would make it easier to identify the print jobs in the Windows queues.  Has anybody done this before?

Thanks,

--GREG--
Avatar of slater88
slater88

you tryed stoping and starting print spooler
go to
start/control panel/administrative tools/services/
then look for print spooler
right click stop it , then start it again
try this

Later/Slater
When you say legacy application do you mean dos ?
Also what version of windows are these printjobs being sent from and is this a networked printer ?
Avatar of gregtompkins

ASKER

Hi Brian-

The application is actually Informix running on Windows NT 4.0 but I need to know what PCL code to insert at the beginning of the job for the document name to appear instead of "Remote Downlevel Document"??  Any ideas?

Thank You!

--GREG--
what informix product are you using exactly ?
Also you did not provide your model printer what model printer do you have ?
The job name is determined by the parameters passed to the StartDoc API call by the application. The DOCINFO structure contains the name of the file being printed, which is what the Windows print queue uses for the display name of the job. If this is empty, it reverts to "Remote Downlevel Document."

What if the application sending the job can't do a StartDoc API call?  This is Informix.

Thank You!

--GREG--
ASKER CERTIFIED SOLUTION
Avatar of thoffman
thoffman

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hdhondt
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave a recommendation in the Cleanup topic area that this question is:
Accept thoffman
Any objections should be posted here in the next 4 days. After that time, the question will be closed.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

hdhondt
EE Cleanup Volunteer