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

printers

Status
Not open for further replies.

Denster

Programmer
Apr 9, 2001
198
GB
This is an age old problem but I still cant get to grips with it. I have written a program in C to print out a report wich works fine on my home computer. When I took it to work to show it off suprise suprise it didnt. Both computers use windows, mine is an epson printer and works is a Hewlett Packard. I know there are no standard printer routines in C but can someone tell me any tricks that might work.
 
Hello,

Although there are printers that speak the same language, most don't. If you write a windows-program you can get it pretty much to work because you can use the windows-printing system.
However, it seems to me you wrote a program that speaks the language for Epson printers, and not HP-printers. So what you need to do is get the printer-commands for the HP-printer (from their site) that do the same as the Epson printer, and use those in your program when printing on the HP.
Wouter Dijkslag

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top