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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hard-copy making?

Status
Not open for further replies.

hughLg

Programmer
Feb 18, 2002
136
MY
how can i produce the hard-copy of data? that's mean send the output to the printer.

what header file i need? what functions i need? or how can i write the function to acomplish it?
 
Which system are you working on? There is no native support in ANSI C for printing and the means to do it differ from system to system. In Unix based systems you would use something like lpr (see man pages) whereas in Windows systems you can open a printer, get a DC for it and just paint on the DC as in a normal one. It's been a long time since I've done that, but if you're on Windows, check OpenPrinter in MSDN and guide yourself from there, you'll find the way. [red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top