1 Replies - 500 Views - Last Post: 05 April 2009 - 08:53 AM Rate Topic: -----

#1 ikofthetoids   User is offline

  • New D.I.C Head
  • member icon

Reputation: 3
  • View blog
  • Posts: 39
  • Joined: 18-December 08

Printing a text file

Posted 05 April 2009 - 07:35 AM

I'm trying to make a program that generates a receipt based on a product code entered through a console window. I've gotten it to generate a text file based on the code entered, but now I want it to print the text file automatically (Not print it to the screen, but print it on paper). Does anybody know how to do this?

Also, if I made and compiled this Win32 Console app on Vista x64, will it work on XP x32?
Is This A Good Question/Topic? 0
  • +

Replies To: Printing a text file

#2 pdkharkar   User is offline

  • D.I.C Regular
  • member icon

Reputation: 65
  • View blog
  • Posts: 345
  • Joined: 19-January 09

Re: Printing a text file

Posted 05 April 2009 - 08:53 AM

I think you should read for I/O redirection in C....

It can be found in more issues in I/O

I don't remember right now but I'll try to help u out what to do exactly...
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1