Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Capture Print Image to a JPG file

Status
Not open for further replies.

randiki

Programmer
Aug 7, 2002
1
US
A client has medical imaging software which prints the medical image on a color printer. The medical image does not exist until the job is sent to the printer. Then the medical software creates the image from thousands of data points. My client wants to 'go paperless' and save the print jobs as JPGs in SQL Server.

Has anyone worked with any code or third-party vendor controls which allows VB to capture a print job, save it to a specific name, specific file type, and a specific path without the user's intervention? The operating systems are Windows 98SE, Windows ME, Windows 2000, and Windows XP.

Thanks in advance for any help
 
Easiest way to do what you want is to use Adobe Acrobat and create all the data as .pdf files. Otherwise, you have 3 choices:
1. Alter the generating software so it creates an image file
2. Parse the output file and convert to graphic
3. Write your own printer driver that basically does what Acrobat does.
 

There are a couple of things that you could do to accomplish this. One of the easiest things would be to get a 3rd party print driver that will take the RAW data and convert it into the type of file format you want and place the output into a location of your choice. PEERNET comes to mind (they do tiffs).

To be able to do this you may be looking at some C++ programming.

Good Luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top