> > Does any one know how to caputer text data sent to a printer to a file. I
> > have seen a window service that captures text data sent to a printer on
[quoted text clipped - 25 lines]
>
> Pete
> If this is not the right newsgroup do you know what one I should use?
I'm sure I have no idea, sorry.
> I can control printer driver on the server that will be receiving the
> text
> file from the mainframe.
But can you control how the mainframe uses the printer driver? That is,
can you require that the mainframe print to the text printer driver?
> I have setup a pcl and text only printer on the server and ran test
> from
[quoted text clipped - 9 lines]
>
> Any references about controling the spooler would be appreciated.
I'm sorry, but I don't have any. If you want access to those files,
you'll need to hook into the spooler somehow, because otherwise they could
appear and disappear before you get a chance to look at them. Parsing the
EMF to extract any text should be relatively simple, but you need reliable
access to the EMF.
Just from your description so far, it seems like the easiest thing would
be just to print to the text driver, which already should emit the results
to a file. Then you can just get that text file rather than messing
around with the spooler.
Other than that, I don't have any specialized knowledge in the area you're
asking about. So if you have other questions that you really want to post
here, someone else will have to answer them. If you get an answer,
great...but if not, you should really reconsider my advice that this isn't
a great place for the question. You'd be better off finding a forum where
there's more expertise on the topic, so that you have a better chance of
getting a useful answer.
Pete