How do i change my output device when typing from screen to Printer? This is the scenario I have written a simple addition program in C and ask for the input when i execute a.out the input i give should be redirected to the printer as well as on the screen. Presently I am using # ./a.out > /dev/lp0 which displays the input on screen. and gives the output to printer.
===== Geek by Nature Linux by choice If Linux doesn't have the solution, you have the wrong problem mailto: [EMAIL PROTECTED] website: http://varunop.blogspot.com __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- _______________________________________________ http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

