cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal XI PrintOut() problem

Former Member
0 Kudos

Dear All,

My developing environment:

Chinese Windows 2000 Professional

Chinese Foxpro 9.0

Crystal Report XI

I cannot get PrintOut() to prompt a list of printer for users to select. I did try objRpt.PrintOut(.t.) same to VB code objRpt.PrintOut(true). No matter how many parameters I gave, it just do nothing, no shown. I am now use Foxpro's GetPrinter(), but it is not so good in the outlook. I did try SelectPrinter() before PrintOut(), but still nothing shown. Please help! Thank you!

Regards,

Antony

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

In VB 6 we used to use objRpt.PrinterSetup Me.hwnd. I suspect that may be equivalent to Foxpro GetPrinter(). Other than that there is no other property or method as there used to be with the Print Engine APIs. Which by the way may be an option for you in Fox. However keep in mind that version 9 of CR was the last version to support Print Engine APIs. Also, the RDC has been retired in the currently shipping version 12 of CR.

Ludek

Former Member
0 Kudos

Dear Ludek,

Thank you very much! You response so quick.

Regards,

Antony

Answers (0)