How to collect a print stream
-
I have a device that sends a report to a printer through a USB connection. I want to capture the output through a USB port on my computer and save it as a .PRN file so I can mess with it before passing it to the real printer. Does anyone know how I can do this? Perhaps a better question is, has anyone who is willing to share the secret done it? Thanx, JimT
-
I have a device that sends a report to a printer through a USB connection. I want to capture the output through a USB port on my computer and save it as a .PRN file so I can mess with it before passing it to the real printer. Does anyone know how I can do this? Perhaps a better question is, has anyone who is willing to share the secret done it? Thanx, JimT
You can't really do this unless you write your own USB printer driver so that your machine LOOKS LIKE a printer that the device can print to. Capturing the actual USB traffic won't do you any good because you'll be capturing the USB data along with the printer data.
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007