Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capturing The Information Sent To The Print
Message
From
27/05/2004 21:39:43
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
27/05/2004 21:13:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00908012
Message ID:
00908016
Views:
17
>Hello There...
>
> I need to capture the information that has been sent to the print via Parallel Port. Example: If I print a document which only says: "All Rights Reserved", I want to capture the "All Rights Reserved" string, so I can do some kind of processes before the printing time. It is kind of iteration with the parallel port. It is a "Send/Capture/Change/Resend" thing.
>
> Could this be done? Thanks in advance.
>
>Onelio

If you mean, sent from any Windows program, this seems very complicated to me, especially since Windows will quite often send information to the printer in graphics mode. That is, if somebody types "All Rights Reserved" in MS-Word, and formats it as Times New Roman, 20 points, what Word and Windows will do, more or less, is create a graphical representation of this text, comparable to a BMP file, which will then be sent to the printer.

Relatively little printing is done in "text-mode" nowadays (which is when you might possibly extract the desired strings). I use it for fast printing to certain printers, from VFP. But if you print with Word, Excel, or the VFP report writer, you will not get any useful strings, even if you figure out how to intercept the Windows Print Queue.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform