04-18-2009, 10:06 PM
I believe most printers support PostScript by now and the printer spooling service in Windows supports it as well. Should that be the case then what you were thinking about could easily be a more abstract (high) level of information.
Text are by no means simple. You would have to convert them to vector graphics and rasterize them.
Either way you probably don't have to worry about how it works, but rather have to find out how to satisfy the input requirements for the printing service.
Here is a snippet you can study more closely:
http://rubyforge.org/snippet/detail.php?...ppet&id=19
*huggles* :3
Edit: Note that you can use system('notepad.exe /p text.txt') to print out a text file
Text are by no means simple. You would have to convert them to vector graphics and rasterize them.
Either way you probably don't have to worry about how it works, but rather have to find out how to satisfy the input requirements for the printing service.
Here is a snippet you can study more closely:
http://rubyforge.org/snippet/detail.php?...ppet&id=19
*huggles* :3
Edit: Note that you can use system('notepad.exe /p text.txt') to print out a text file