home *** CD-ROM | disk | FTP | other *** search
- GSPRNTR.DLL provides two functions to control printer page orientation:
-
- GsSetPageOrientation ( Hwnd , OrientationMode )
- Orientation mode = 1 = Portrait
- 2 = Landscape
-
- GsGetPageOrientation ( Hwnd )
-
- Both funtions return the currently selected orientation mode
-
- From Visual Basic declare the functions as :
-
- Declare Function GsGetPageOrientation Lib "gsprntr.dll"
- (ByVal Hwnd As Integer) As Integer
- Declare Function GsSetPageOrientation Lib "gsprntr.dll"
- (ByVal Hwnd As Integer, ByVal Mode As Integer) As Integer
-
- From C declare the functions as :
-
- int FAR PASCAL GsGetPageOrientation ( HWND iHwnd ) ;
- int FAR PASCAL GsSetPageOrientation ( HWND iHwnd , int iMode ) ;
-
-
- ---------------------------------------------------------------------
-
- GSPRNTR.DLL is a shareware DLL for Windows 3.0 use. It may be freely
- distributed with your application once it has been registered. To
- register GSPRNTR.DLL send monies in the appropriate currency to the
- address below.
-
- Inside United Kingdom - £35.00
-
- Outside United Kingdom - $50.00
-
- Geoff Hopkins
- 6 School Road
- Upper Beeding
- Steyning
- West Sussex
- BN44 3HY
- ENGLAND
-
- Compuserve ID 100064,3722