Printing problem
-
- Posts: 4
- Joined: Tue Oct 10, 2017 12:44 pm
Printing problem
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
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
-
- Posts: 4
- Joined: Tue Oct 10, 2017 12:44 pm
==> RE: Printing problem
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
What happens if you remove the if loop and just leave in the line to set the printer to DEFAULT?____Kathleen__R&R Support
-
- Posts: 4
- Joined: Tue Oct 10, 2017 12:44 pm
====> RE: Printing problem
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
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