Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a word doc from VFP
Message
De
20/04/2015 05:54:07
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01618752
Message ID:
01618755
Vues:
49
I think the solution is to decrease the margin in the printer properties margin setting.

>Using the following code my word doc prints in VFP
>
>DECLARE INTEGER ShellExecute ;
>IN SHELL32.DLL ;
>INTEGER nWinHandle,;
>STRING cOperation,;
>STRING cFileName,;
>STRING cParameters,;
>STRING cDirectory,;
>INTEGER nShowWindow
>? ShellExecute(0,"print","c:\what.doc","","",0)
>
>But I get a message
>
>The margins of section 1 are outside the printable area of the page - do you want to continue?
>
>If I say yes it prints fine - how can I stop this message coming up?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform