redndahead Posted May 18, 2006 Share Posted May 18, 2006 There is a program called redmon that sends printer streams to programs. This is from their help fileRedMon 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 More sharing options...
Uten Posted May 18, 2006 Share Posted May 18, 2006 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. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
redndahead Posted May 18, 2006 Author Share Posted May 18, 2006 It looks like ConsoleRead only reads autoIT streams. Am I correct on this? Link to comment Share on other sites More sharing options...
redndahead Posted May 18, 2006 Author Share Posted May 18, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now