473,513 Members | 2,492 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reading a Data Stream Going to a Printer

I would like my vb.net software running on an independent system be able to
read the data going from a proprietary system to a dot-matrix printer. Few
questions - are there any commercially available or "hack" devices available
that would allow me to tap into the data the proprietary system is sending
to the dot matrix printer?

How could I get my vb.net software to respond listen to and respond to this
data stream? Are there any commercially available controls?

Now for those of you asking why would I do this? I have a system that the
DOS based and 100% proprietary that is very important - but, I need to
monitor the data from it when it prints to the dot-matrix printer - so, thus
comes the need for an independent system that can monitor and read the data
stream going to the printer.

Any help/guidelines would be appreciated.
Nov 20 '05 #1
3 1564
Hi Sarah,

If the program is doing its printing via a Dos Printer interrupt, one
possibility is to hook into the interrupt and syphon off a copy of the data.

Regards,
Fergus
Nov 20 '05 #2
How would you hook into the interrupt from another independent computer
system?
"Fergus Cooney" <fi*****@post.com> wrote in message
news:uK**************@TK2MSFTNGP12.phx.gbl...
Hi Sarah,

If the program is doing its printing via a Dos Printer interrupt, one
possibility is to hook into the interrupt and syphon off a copy of the data.
Regards,
Fergus

Nov 20 '05 #3
Hi Sarah,

I wasn't sure exactly what you meant by 'independant' so I focused on the
Dos side of the equation. Being a Dos system means that its interest in the
outside world is zero, so, short of virus-like technology, any interrupt hook
is going to require someone to put it there. It would run as a TSR which would
need to be loaded before the application was started.

I'm sure there are cable-tapping/network-sniffing devices (legitimate) but
that's well beyond my ken.

Regards,
Fergus
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2081
by: rbt | last post by:
Hello there, Depending on the firmware version of the HP printer and the model type, one will encounter a myriad of combinations of the following strings while reading the index page: hp HP...
6
2554
by: notregister | last post by:
hi, i have been trying to send a printer-ready data to an unknown printer to print. the reason why the printer is unknown is that i do no wish installed any printer driver. so at the end my...
5
1593
by: pmclinn | last post by:
I have a datadump from internal equipment that is about 500 megs. The file is dumped every morning in a comma delinated format. Instead of downloading this file to the client and then processing...
2
7524
by: Joe | last post by:
Anyone can suggest the best method of reading XML and adding data to ListView? Here is the xml data structure:: <xml> <site> <url>http://www.yahoo.com</url> <lastupdate></lastupdate>...
3
3017
by: sven.suursoho | last post by:
Hello, In main(), the first output API is what I try to achieve. Unfortunately it fails, printing first string as pointer instead of human readable message. Tried to initialize str(""), set new...
29
2981
by: Jerim79 | last post by:
I did try to find the answer to this before posting, so this isn't a knee jerk reaction. What I am trying to accomplish is to have a script that opens a cookie, reads a value, and then use a...
3
6744
by: Sir Psycho | last post by:
Hi, For some reason, when i step over this code, it returns the full byte stream im expecting from the server, however when I let it run with no intervention, it only seems to grab a small chunk...
3
1441
by: rsk | last post by:
Hi Friends, I have the following code which reads the hexadecimal data from the "data.txt" file into the arrays. But when i run this code it is reading some garbage data after reading all the...
3
5353
by: Willy Stevens | last post by:
Hello, In my application I have to read sometimes quite big chunk of binary data. I have a buffer which default size is 32000 bytes. But how could I read binary data that exceeds 32000 bytes?...
0
7384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7101
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7525
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5686
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5089
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3234
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1596
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.