Scanning print manager queues

Hello, all.

I need scan the queues of print manager to get information of
the jobs, abort some jobs, etc. from one Delphi program.

How can I do that?

Is there any API function to do it or I need use DDE?

Thanks you very much,
Agustin (

(Please email me directly)