Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 374
  • 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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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