Printing problem

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

Printing problem

Post by Carl_Dippel_(Guest) » Mon Jun 22, 2009 10:47 am

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

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Printing problem

Post by kfleming » Wed Jun 24, 2009 8:37 am

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

Carl_Dippel_(Guest)
Posts: 4
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Printing problem

Post by Carl_Dippel_(Guest) » Fri Jun 26, 2009 8:58 am

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. ____

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

===> RE: Printing problem

Post by kfleming » Mon Jun 29, 2009 1:06 pm

What happens if you remove the if loop and just leave in the line to set the printer to DEFAULT?____Kathleen__R&R Support

Carl_Dippel_(Guest)
Posts: 4
Joined: Tue Oct 10, 2017 12:44 pm

====> RE: Printing problem

Post by Carl_Dippel_(Guest) » Sat Jul 04, 2009 1:48 pm

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____

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=====> RE: Printing problem

Post by kfleming » Tue Jul 07, 2009 10:12 am

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

Post Reply