Thread: File stream to a printer in different FONT TYPE ?!

  1. #1

    File stream to a printer in different FONT TYPE ?!

    Hello everybody, recently I am trying to write a simple C++ program that will sent the text of a file to the printer through the help of output file stream operation. However, I am having trouble in how to change the FONT TYPE of the printing text, and I will be really please if someone could give advice on how i can achieve this goal. By the way, I am using turbo C++.

    Thanx ^_^.

  2. #2
    Registered User programmer's Avatar
    Join Date
    Oct 2001
    have you tried itoa();?

  3. #3


    Thanx for the advice, but the function itoa() is used for converting string to integer only, it has nothing doing to alter output font type to the printer ! Any more advice, please let me know.

  4. #4
    Registered User
    Join Date
    Dec 2001


    Anyone have any more idea on how to achieve this operation. Pleassss let me know, I really need it urgently! Thanx.

  5. #5
    Registered User
    Join Date
    Nov 2001
    If post up some code (ideally the whole program) that you use to print the text file I maybe be able to help you.
    I'm using Bloodsheds Dev-C++ Compiler.


    Curious if I can live forever? CLICK HERE

  6. #6
    Speaking of different fonts is there any way to change the font size that is displayed?

  7. #7
    I find printing a bit of a grey area when programming with C++.

    Does anyone know a good place to learn get info about printing.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie homework help
    By fossage in forum C Programming
    Replies: 3
    Last Post: 04-30-2009, 04:27 PM
  2. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  3. gcc link external library
    By spank in forum C Programming
    Replies: 6
    Last Post: 08-08-2007, 03:44 PM
  4. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  5. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-29-2005, 11:21 PM