Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gray Reports
Message
De
16/04/1997 14:12:03
 
 
À
15/04/1997 15:48:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00028250
Message ID:
00028579
Vues:
35
>>I have a 3-4 page report to produce. I use the report generator for the first page--its format is such that it lends itself to a generated report. The remaining pages, however, cannot be so generated, so I have hard-coded everything after the first page.
>>
>>My problem is this: no matter what type of print settings I try, the remaining pages print grayed out, i.e., a gray bar over every printed character. I have tried every printer setting I can think of. My latest attempt at setting up the printer looks like this:
>>
>>SET PRINTER FONT "Arial", 8 STYLE 'N'
>>SET DEVICE TO PRINT
>>SET PRINT ON
>>SET CONSOLE OFF
>>SET PRINTER TO DEFAULT
>>
>>All of my printing is done with @...SAY's to HP-compatible laser printers. The print is grayed over on my hand coded report even if I comment out the call to the FRX. It happens on my printer and on every printer at my client's office. I am doing nothing prior to setting up the printer except dimensioning and filling an array and opening tables. Any ideas out there??
>>
>>HELP!!!
>>
>>TIA.
>>
>>John
>
>
>I've done similar things before. What you need to do is "Generate" your report data to a DBF. Each record in the DBF will be a line on your report.
>
>Craig

Craig:

Since posting this message, I found an article in MS Knowledge Base on exactly this problem. Turns out it is a known VFP bug from 3.0 days that perseveres. The article ID is Q154170. It gives a work-around that truly works. You'd never guess the source of the problem: the BackgroundColor of the window from which the prg is invoked . . . .

Thanks for kicking in.

John
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform