Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can i print something to the PRINTER??

Status
Not open for further replies.

NeoC

Programmer
Jan 12, 2005
3
IL
hi, i got a printer, and i would like
to print a VARIABLE, not to the screen, but on paper
how can i do that??
 
There are several of ways you can do it. It has been a while so forgive me for being a little rusty.

One way is to use Windows print command (2k and up I believe) and call it from a system() call. Or you can open a port to lpt1 and send it that way. I don't have any example code at the moment unfortunately.

----------------------------
"Will work for bandwidth" - Thinkgeek T-shirt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top