By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,943 Members | 1,921 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,943 IT Pros & Developers. It's quick & easy.

how to print out of C program on printer

P: 1
how to print out of C program on printer
Sep 9 '10 #1
Share this Question
Share on Google+
4 Replies

Expert 100+
P: 542
Is it complicated?

I would have rather saved that output in some text file and hit ctrl+p.
Sep 9 '10 #2

Expert 2.5K+
P: 3,112
Do you want the program to do the printing or do you want to get the output and then print it manually? Also, how are you running the program? Within an IDE or from command line? If it's from command line, you can probably redirect the output to a text file automatically. With IDEs, I'm not sure.

Sep 9 '10 #3

Expert Mod 5K+
P: 9,197
You can redirect using Visual Studio.NET by just setting the command line argument property for your project.
Sep 9 '10 #4

Expert 100+
P: 983
Or, you can engage in printing under windows. It's actually rather straightforward.

Please tell us a little bit in-depth about how you're trying to print and what connection you have to your printer.

Conceptually printing is easy, but sometimes it's difficult to understand where all the pieces are.
Sep 9 '10 #5

Post your reply

Sign in to post your reply or Sign up for a free account.