Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VERY STRANGE screen colors affecting printed output
Message
 
 
À
06/06/2003 16:10:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00797478
Message ID:
00797769
Vues:
21
This message has been marked as the solution to the initial question of the thread.
Hi Tracy,

@ ... SAY is screen output command so it's affected by the color of the current output window. You can create the output window with color you need before printing.
DEFINE WINDOW wndDummy AT 0,0 SIZE 66,150 
ACTIVATE WINDOW wndDummy NOSHOW
* Printing code
DEACTIVATE WINDOW wndDummy 
>VFP7 and VFP8
>
>Can anyone explain why this is happening and how I can prevent it? If I set my screen colors and print using @...say, the printout matches the screen colors and not black on white (this example prints black on shaded grey)???
>
>set COLOR TO RGB(0,0,0,212,208,200)
>set PRINTER TO NAME GETPRINTER() && I used an HP4000 and OKI320 in testing
>set DEVICE TO print
>@1,10 say "test output.  this should be black on white.  no shading."
>set DEVICE TO screen
>set PRINTER to
>
>
>What a Friday I am having...
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform