Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable Form Feed
Message
De
27/12/2004 23:57:36
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Disable Form Feed
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00972491
Message ID:
00972491
Vues:
60
Hi,

I using the Windows GDI Function to print out somethings, but after printing
the printer will form feed, but I want to disable the form feed.
How to do it.

Please advise
The following is my coding.
declare LONG GetDeviceCaps in gdi32.dll LONG, LONG
declare SHORT DeleteDC in gdi32.dll LONG
declare LONG CreateDC in gdi32.dll STRING, STRING, STRING
declare INTEGER StartDoc in gdi32.dll LONG, STRING
declare INTEGER StartPage in gdi32.dll LONG
declare INTEGER EndPage in gdi32.dll LONG
declare INTEGER EndDoc in gdi32.dll LONG
....
  printing job
...
=EndDoc(hPrn)
set print off
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform