how to PRINT in C/C++(CONSOLE)??
Results 1 to 5 of 5

Thread: how to PRINT in C/C++(CONSOLE)??

  1. #1
    Member
    Join Date
    Aug 2003
    Posts
    89

    how to PRINT in C/C++(CONSOLE)??

    Hi

    Can anyone pls help, i would like to know how to use the PRINTER(that thing with the paper ) in my CONSOLE C/C++ progs.


    What library function is used??
    what header-file is included??


    Any help would be much appreciated
    CHEERS
    Beware, you who seek first and final principles, for you are
    trampling the garden of an angry God and he awaits you just beyond the last theorem.

  2. #2
    Member
    Join Date
    Oct 2003
    Posts
    78
    You can either use an API function which I don't know or just do a:

    Code:
    System("print filename.txt");
    in C++.

    I don't know how to do it in C#.


    And just curious, what's this mean:

    WARNING:
    GUILTY OF BEING WHITE!!!!!!!!!!!!!!!!!!!!!!!
    GUILTY OF BEING RIGHT!!!!!!!!!!!!!!!!!!!!!!!!
    I SERVED 17 YRS OF MY TIME!!!!!!!!!!!!!!!!!!
    [pong][shadow]Why won\'t anyone give me greenies???[/shadow] [/pong]

  3. #3
    Member
    Join Date
    Aug 2003
    Posts
    89
    Ah but what i need to print cant really(without some hard work) be placed on a file...

    thanx but only as in a last resort would i use this method..

    \\\and the qoute\\
    the qoute is from SLAYER(the band), i think it pretty much raps up a definition for SOUTH AFRICA(dead country).....
    Beware, you who seek first and final principles, for you are
    trampling the garden of an angry God and he awaits you just beyond the last theorem.

  4. #4
    Member
    Join Date
    Aug 2003
    Posts
    89
    Anyone PLEASE help ,please .........
    Beware, you who seek first and final principles, for you are
    trampling the garden of an angry God and he awaits you just beyond the last theorem.

  5. #5
    Member
    Join Date
    Aug 2003
    Posts
    89
    For anyone that wants to to know how to print to paper check out my TUT at
    http://www.antionline.com/showthread...792#post678792

    cheers
    Beware, you who seek first and final principles, for you are
    trampling the garden of an angry God and he awaits you just beyond the last theorem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •