Howdy, Stranger!

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

Categories

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

  • ishaiishai Member Posts: 5
    : 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).

  • Andre YoungAndre Young USAMember Posts: 0

    ___ | http://forcoder.org | free video tutorials and ebooks about ( Go, Scratch, Visual Basic, Swift, R, Delphi, Python, MATLAB, Visual Basic .NET, Objective-C, C++, Perl, C#, PHP, Ruby, JavaScript, Java, PL/SQL, C, Assembly Hack, Dart, Rust, Fortran, D, Scheme, Transact-SQL, Ada, Logo, COBOL, Alice, SAS, ABAP, Julia, Lisp, Crystal, FoxPro, Lua, VBScript, ML, Erlang, Apex, Scala, F#, Awk, Kotlin, LabVIEW, Bash, Clojure, Prolog ) ______________

Sign In or Register to comment.