R&R v8.1 OCX Printing Problem
R&R v8.1 OCX Printing Problem
I^m using the R&R Report Writer v8.1 Custom Control (OCX). I have several customers who can view a report on screen (rrreport1.destination = 1) and print from the screen, but cannot print directly to printer (rrreport1.destination = 2). Destination = 2 produces a "RRWRUN has generated errors" and sometimes "abnormal viewer termination".____Two clients have identical printer drivers and settings, both using Win 2000, but one can^t print and the other can. I^m going direct to the printer in Synchronous mode (action = 1) but never get rrreport1.lastErrorcode <> 0, so I don^t have any error messages to go by. When I output to the screen (rrreport1.destination = 1) I use asynchronous mode.____What^s causing the problems?____A second question: what^s the difference between printing from the screen vs printing directly to the printer (destination = 1 vs destination = 2)?____TIA,__Cliff
=> RE: R&R v8.1 OCX Printing Problem
One thing I would try is forcing the control to the default printer. If I^m not going to present the user with a select printer dialog, I always force the viewer to the default printer.____.OleRR.Printer = "DEFAULT"____The only difference I^ve noticed between send to screen or print is you loose the number of copies if you send to screen then print the report.____.OleRR.CopiesToPrinter = 3____Derran__