Capturing printer data stream in ruby
===

anyone knows where a printer data stream is stored, and how to capture it a ruby executable? (for later pdf conversion for example) 

I'm questioning this one, related to another question of mine. http://stackoverflow.com/questions/11405655/so-transparent-that-i-cant-catch-it-using-rghost-to-emulate-ghostscript-comma

![enter image description here][1]


  [1]: http://i.stack.imgur.com/l72of.png