|
From: Daniel G. <sp...@ho...> - 2002-04-11 15:58:43
|
HELP please!!!
I am using OpenPrinter() in Windows. The first parameter I'm stuck on. It's
meant to be a pointer to a string that specifies the printer's name.
I have for this
const char Laserjet4000[] = "HP LaserJet 4000 Series PS";
I've typecast this pointer so it compiles, but the OpenPrinter function
still fails!!!
if(!OpenPrinter((LPTSTR)Laserjet4000, &hPrinter, NULL))
{
//error code
}
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
|