I'm integrating Crystal Reports 8.5 into an application and I've got it to print, but it just prints to the default printer. Does anyone know how I would show the printer selection dialog and allow the user to select the printer. I'm using Visual C++ and calling methods found in Crystal's crpe.h file. I've seen the method: BOOL CRPE_API PESelectPrinter (short printJob,
const char FAR *driverName,
const char FAR *printerName,
const char FAR *portName,
DEVMODEA FAR *mode
);
but I don't know anything about windows programming and I don't know how to get the parameters for the method. Can anyone help? Thanks.
const char FAR *driverName,
const char FAR *printerName,
const char FAR *portName,
DEVMODEA FAR *mode
);
but I don't know anything about windows programming and I don't know how to get the parameters for the method. Can anyone help? Thanks.