I need a way to capture everything that is printed in my notebook.
Why?
I have a system, in PHP, and sometimes I need to print (php_printer) some invoices, but this costs a lot paper.
Printing is sent in the background without any popup windows for user confirmation.
So every time I send something to the printer, the windows (or any application) show me what was sent; or generate a PDF.
The problem is: How can I use this 'alternativa' without changing the printer (driver, etc). Because, if I do that, I need to test in 2 printers, and you know what I mean.
EscPos
This is the file that I used to print in windows or linux. I develop in windows (requirement of the company) but publish it in a linux server.
gist: https://gist.github.com/patrickmaciel/7673875
What I want
To capture every printed file and save it in a PDF or some driver/application in order to not print the file but rather show it to me on the screen (windows).
Setup
Dev OS (my): Windows 7 (Yes I know, but my employee only works with windows)
Prod OS: CentOS
Printer: TM-T88IV AFU (Epson)