Printing, why oh why??..

This is a discussion on Printing, why oh why??.. within the C++ Programming forums, part of the General Programming Boards category; Hi I have a problem wih the following programs that prits to LTP1(parallel port). It only prints letters in Caps, ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    44

    Printing, why oh why??..

    Hi I have a problem wih the following programs that prits to LTP1(parallel port). It only prints letters in Caps, Numbers and #, why is this? and how can I print all Characters?

    Also is there any way to print Bold, Italics? Change font type and size?

    Code:
    #include <fstream.h>
    
    int main() 
    
    { 
    ofstream print;
    print.open("LPT1");
    print << "HELLO hello 12389 # {}[];'.!$^&*()\f"; //only prints out the HELLO in caps, numbers and #??
    print.close();
    return 0; 
    }
    Cheers JamMan..
    I'm using Bloodsheds Dev-C++ Compiler.

    JamMan..

    Curious if I can live forever? CLICK HERE

  2. #2
    Unregistered
    Guest
    Sorry for bumping this but, someone must know how to print from C++ as everyone must have done it. :?:

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C# Printing Problem
    By silverlight001 in forum C# Programming
    Replies: 0
    Last Post: 03-23-2009, 02:13 AM
  2. generic printing preferences dialog box
    By stanlvw in forum Windows Programming
    Replies: 8
    Last Post: 06-27-2008, 03:20 AM
  3. printing data to a file
    By coralreef in forum C Programming
    Replies: 3
    Last Post: 11-02-2006, 08:10 PM
  4. need help relating printing?
    By omarlodhi in forum Linux Programming
    Replies: 0
    Last Post: 03-03-2006, 04:46 AM
  5. Printing
    By Dual-Catfish in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 05-25-2002, 09:10 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21