Click to See Complete Forum and Search --> : Changing printer at runtime


bnnyca
July 13th, 2008, 02:07 AM
Hi Friends,

In crystal reports I want to print the same report on different printers at runtime. If item belongs to different category then I want to print on different printers in VB.

How to achieve this...please help me.

jasonli
July 14th, 2008, 04:00 PM
At first you load report in your program and set to one report document object "oRpt". Before you print it, set printer name to oRpt.PrintOptions.PrinterName.