Retriving Raw print job data

ubiquitous

New member
Joined
Jul 8, 2003
Messages
1
Hi,

I have used windows api to access the print queue and enumerate print jobs in it.

Getting the name, description, bytes , phone number, favourite breakfast cerial is a piece of piss. However the real problem is getting the actual data from a Print job to be previewed in some way.

This could then form the basis of a print monitoring application that I have been given the task of writing.

I have tried everything, searched many thousands of endless forums and web pages. Everyone seems to be able to get print Job information, nobody can get the data! :(

I would be made a happy chappy if someone could help!


Cheers :)



DEV:

Visual Basic.Net 2003 architect edition
 
Have a look at Merrions print monitor component and see if hes able to do it (its in the code section).
Having read your post in further detail now, Im not sure if youre able to read the raw print data until its printed. Then again, Im not an expert on the matter.
 
This can be done if the print processor is using EMF data type - but cant be done if it is using RAW - unless you want to write convertes fro the various printer languages (PostScript, PCL5 etc.)
 
Back
Top