RE:PRN

Hi
I wonder if anyone can help?

When I compile programs in VC++ they can send the error print outs to the printer, but in linux the code does compile and run but out put goes to a file named PRN what do I code to get the reports to be printed by the printer?

Thks if you taken the time to even read this

Billy

Comments

  • : Hi
    : I wonder if anyone can help?
    :
    : When I compile programs in VC++ they can send the error print outs to the printer, but in linux the code does compile and run but out put goes to a file named PRN what do I code to get the reports to be printed by the printer?
    :
    : Thks if you taken the time to even read this
    :
    : Billy
    :
    You car redirect the output (or error) to a file:

    command > outfile 2> errfile (on ksh/bash)
    command >& outerrfile (on csh/tcsh)


    (where command is you executable program).

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion