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!

Printer port output

Status
Not open for further replies.

hughLg

Programmer
Feb 18, 2002
136
MY
How can I write the output data to the printer port?

It it platform dependent?

If yes, I want to do it in Windows XP and I'm using Microsoft Visual C++ 6.0, how can I work them out? Any idea or source code example?
 
why not 'popen()'
FILE *fd;
fd = popen("print-cmd print-opts","w");
fprintf(fd,"jfljslfjlsdjlfglkfgflkjgl\n");
pclose(fd); ------------ jamisar
Einfachheit ist das Resultat der Reife. (Friedrich Schiller)
Simplicity is the fruit of maturity.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top