Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable Form Feed
Message
From
27/12/2004 23:57:36
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Disable Form Feed
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00972491
Message ID:
00972491
Views:
61
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
Next
Reply
Map
View

Click here to load this message in the networking platform