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

Showing the printer selection dialog box

Status
Not open for further replies.

sgk17

Technical User
Nov 8, 2002
68
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top