Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suppressing Printing in Preview Mode
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00465125
Message ID:
00465309
Vues:
18
>>>>>Try
REPORT FORM YourReport NOCONSOLE PREVIEW IN SCREEN TO FILE NUL
>>>>>instead.
>>>>>
>>>>>That will work.
>>>>>The output is then directed to the nul device which means that there is no output at all.
>>>>>You have to include the IN SCREEN or otherwise IN WINDOW windowname, or otherwise it will error on a missing comma. (probably a small bug in VFP.)
>>>>
>>>>Although the code will produce a preview window, the print feature is still enabled and working.
>>>

>>>Yes,
>>>
>>>but it prints to the NUL device so it will not come out of your printer
>>
>>Ko,
>>
>>Have you tried your code? I tried all versions and it always printed!!!!! No, you should think harder :)
>

>I'm at home now and here i have WinMe machines where it works.
>
>For James it didn't work on a Win2000Pro machine.
>What OS do you have.
>
>PS. As you can see in the other messages, you can also get this by printing to a temp file

Yes, the temp file would work. But actually, I think the idea of removing Printer icon from Toolbar is better for the original poster (Providing a demo version). It would be a little bit more complicated solution and requires Foxuser.dbf to be included in Setup...

I'm using Windows 95 at work. At home I don't have printer, so can not test...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform