From: Massimiliano Mirra Date: 2001-11-04T08:29:08+09:00 Subject: [ruby-talk:24305] Writing binary ints to lp How can I output a bit to /dev/lp0 like I would with outb( 0x1, 0x378 ) in C? I have tried with p=open('/dev/lp0','w') and p.print(0b1), p.write(0b1) and variants with no success. Massimiliano