• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 380
  • Last Modified:

Get the printing data from the Client

How to capture (in the client) the data being printed or atleast the window screen snap?. The main objective is to get the data before it could get spooled. Can it be done through MFC?
0
Loganathan Natarajan
Asked:
Loganathan Natarajan
1 Solution
 
itsmeandnobodyelseCommented:
You could get a screenshot into a CBitmap. But is difficult to retrieve any data from a bitmap.

You also could (try to) hook into a print dialog but the data actually sent to a printer maybe graphical data as well as text data, it even could be raster points if you have no luck.

No, capturing printing data is not really a good method (beside you only want to prevent from printing).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now