How Can I print

This is a discussion on How Can I print within the C++ Programming forums, part of the General Programming Boards category; I was wondering how to print fromatted text right to the printer in C++. Like say I wanted to print ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    208

    How Can I print

    I was wondering how to print fromatted text right to the printer in C++. Like say I wanted to print this

    Jimmy Tony Tommy Jane
    10 20 30 40
    50 50 54 65

    for example. I want it exactly formatted like that. I have no idea how to print anything so for all I know it will print formatted for you. It would a lot better if there was a way just to print a txt file from my program but if thats not possible I will work around it.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,834

  3. #3
    Registered User
    Join Date
    May 2002
    Posts
    208

    but..........

    My printer is USB.
    I found out how to print rite but my printer isn't on a LPT1 port it is on a USB port. Would I just use USB1 or what????
    thanx for the help.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. merging linked lists
    By scwizzo in forum C++ Programming
    Replies: 15
    Last Post: 09-14-2008, 06:07 PM
  2. Personal Program that is making me go wtf?
    By Submeg in forum C Programming
    Replies: 20
    Last Post: 06-27-2006, 01:13 AM
  3. Scope And Parameter Passing
    By djwicks in forum C Programming
    Replies: 6
    Last Post: 03-28-2005, 08:26 PM
  4. What kind of programs should I start writing?
    By Macabre in forum C++ Programming
    Replies: 23
    Last Post: 04-12-2003, 09:13 PM
  5. Replies: 1
    Last Post: 07-31-2002, 12:35 PM

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