Queelocke
02-21-2001, 03:27 PM
Could someone please show me an example of how to send something to the printer with C code. (Under another OS, --> open("PRN",ios: :out) <-- works fine, but under Linux, I found this only creates a new file on disk and sends the output to that file, not the printer). Thanks alot.
Queelocke
02-21-2001, 03:29 PM
oops... didn't know that red face would show up. It was supposed to be a colon : and the letter o
Strike
02-21-2001, 03:37 PM
replace PRN with /dev/lp0 or whatever device your printer is
Queelocke
02-21-2001, 04:02 PM
Thank you, it worked. Though as found out, the path it relative.
Much appreciated.
Queelocke