R&R v8.1 OCX Printing Problem

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
cliff
Posts: 1
Joined: Tue Oct 10, 2017 12:44 pm

R&R v8.1 OCX Printing Problem

Post by cliff » Wed Jan 08, 2003 12:18 pm

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

Derran
Posts: 28
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: R&R v8.1 OCX Printing Problem

Post by Derran » Thu Jan 16, 2003 10:36 am

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__

Post Reply