Page 1 of 1

Printing problem

Posted: Mon Jun 22, 2009 10:47 am
by Carl_Dippel_(Guest)
I get the "Error retrieving printer information." I^m having the problem on my Vista64 with Delphi 5. The Designer works just fine. Does anyone have a solution? -Carl

=> RE: Printing problem

Posted: Wed Jun 24, 2009 8:37 am
by kfleming
I am assuming that this is a runtime application. Are you explicitly setting a printer or allowing the user to select a printer in the application?____Kathleen__R&R Support

==> RE: Printing problem

Posted: Fri Jun 26, 2009 8:58 am
by Carl_Dippel_(Guest)
with RRReport do__ begin__ .__ .__ .__ if DefaultPrnCheckBox.Checked__ then Printer:=^Default^__ else Printer:=^?^;__ RunReport(2)__ end;____As you can see this is a runtime issue. I am using the OCX control. When compiled on my Vista64 machine & copied to my XP32 machine the program works fine. ____

===> RE: Printing problem

Posted: Mon Jun 29, 2009 1:06 pm
by kfleming
What happens if you remove the if loop and just leave in the line to set the printer to DEFAULT?____Kathleen__R&R Support

====> RE: Printing problem

Posted: Sat Jul 04, 2009 1:48 pm
by Carl_Dippel_(Guest)
with RRReport do__ begin__ .__ .__ .__ Printer:=^?^;__ RunReport(2)____I get this error: "Error retrieving printer information"______ with RRReport do__ begin__ .__ .__ .__ Printer:=^default^;__ RunReport(2)____I get this error: "Cannot match printer or port in control file"____-----------------------------------------------------------------____I^ve tried to use the Delphi Interface "rrdecl32.pas" wlth no success. Is their a help file for "rrdecl32.pas" ~ Carl____

=====> RE: Printing problem

Posted: Tue Jul 07, 2009 10:12 am
by kfleming
And there is a default printer on this machine?__Can you double click execute RRWRUN.EXE and manually select a report and then print it or does that also give an error?____Kathleen__R&R Support