views:

101

answers:

2

HEllo,

i have a small problem:

i have a Crystal 8,5 Report in a VB 6 application. About 2 days ago, all worked like a charm.

Since this morning, whenever i press View REport, it shows on screen but the PRINT BUTTON is disabled, meaning has visible=false. I cant see it so i can print the report.

I searched the net like a maniac and still cant find the right answer.

Remember, until this morning all worked like a charm and i was able to print all reports. Since this morning, i cant print any of them

Checked the NO PRINTER checkbox....

anyone had this issue ?

10x

+1  A: 

Whenever Crystal Reports does not have permission to print to a given printer or the printer is viewed as invalid, the print button becomes disabled. If no printer is being selected before a report is viewed on the screen, then the default printer driver is used to generate the report.

Try changing the default printer and viewing the report again. If it works, then there is a problem with your driver or printer permissions.

If you are using Windows Vista or 7, what I've had to do sometimes was give the current user Manage Printers and Manage Documents permissions by going to the printer's property page and changing them there. This requires a reboot to fully update even though Windows never tells you so. If that does not work, try running the VB6 program in compatibility mode for XP.

I've also had this happen a handful of times when the user was trying to print to an Active Directory network printer and did not have Manage Printers permissions. Rarely I've seen this happen on a corrupt print driver or a driver intended for a different version of Windows. If none of the above works, I would try downloading the latest version of your print driver and reinstalling the printer.

Heather
A: 

The print button sometimes becomes disabled when you view the a crystal report from a VB6 application. Try changing your VB code to display both the PRINT button & the PRINT SETUP button. Once you have done this, view the report again from your application. If the PRINT button is disabled, click on the PRINT SETUP button and select the printer even if it is the default. The PRINT button will become enabled. This works all the time.

Jack Njiri