Jump to content

Reading Stream From Redmon


Recommended Posts

There is a program called redmon that sends printer streams to programs. This is from their help file

RedMon can be used with any program that accepts data on standard input.

Using RedMon you create redirected printer ports. If you connect a Windows printer driver to the redirected printer port, all data sent to the redirected port will be forwarded by RedMon to the standard input of a program. This program is then responsible for processing the data and producing new output.

I can't quite figure out what function to use to read the stream. (If it's even possible.)

Any help would be appreciated.

Thank you,

red

Link to comment
Share on other sites

Take a look at the StoutRead, StdinRead and ConsoleRead functions in the beta help file. You could also take a look at my IOChatter sample to see how they are used together.

Link to comment
Share on other sites

After doing some testing it looks like it can read any stream. So, so far so good. Now I need to figure out when it's done writing to the console. Redmon is sending an eof so it exits, but it restarts for each page it sends. So I end up missing information.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...