How to write printer source code to Windows printer share from ruby?
2 answers
While I've never tried typing with Ruby, and while I don't have a Windows machine available for testing, it seems to me that you don't want to use a class File
, but a class instead IO
. You can see its documentation here: http://ruby-doc.org/core/classes/IO.html . It looks like it actually has Windows specific options, so take a look and if it's not overly helpful please let me know why.
+1
source to share