
Directing a Crystal report to a printer other than the default printer
I am doing the same thing in my application, my solution was to write a
small C DLL that calls PESelectPrinter with the information retrieved from
the printer common dialog box. I tried to do the same thing in VB, but VB
has problems using a structure that has pointers in it(GPFs - Fun Stuff).
N-JOY
Quote:
> I am trying to redirect my report to a printer other than the default
> printer. The control (v. 5.0.1.108) gives me the properties PrinterName,
> PrinterDriver and PrinterPort to direct the report to. Does anyone know a
> good way to get these values from what is returned from the Windows
common
> dialog or preferably the printer common dialog Win32 api call? Ideally I
> would prefer NOT to change the default printer.
> Todd Speary
> TFP Inc.