Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable Form Feed
Message
 
 
To
27/12/2004 23:57:36
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00972491
Message ID:
00972521
Views:
16
As long as you're using Windows spooler, you cannot get rid of form feed.

>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
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform