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!

Writing to a Network Printer

Status
Not open for further replies.

SkippySC

Programmer
Jan 5, 2001
1
CA
Hi,

I want to write data and print this stream to a network printer. I know that if the printer was on my computer (on the LPT1 port to be precise) I could simply write formatted text with the fprintf function on the output stream stdprn.

But since my printer is a network printer, how can I print on it? Do I have to create some kind of socket connection to it?

Thanks you very much in advance, Skip.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top