Solved

Get the printing data from the Client

Posted on 2009-04-07
1
367 Views
Last Modified: 2013-12-14
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
Comment
Question by:Loganathan Natarajan
1 Comment
 
LVL 39

Accepted Solution

by:
itsmeandnobodyelse earned 250 total points
ID: 24085598
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question