Click to See Complete Forum and Search --> : Printing Landscape


Shappy
November 18th, 1998, 07:14 AM
Morning All,


I've been given a project in VB5 to support which is proving something of a nightmare! The app is a report generator which needs to be able to print in either landscape or portrait. I've used the CommonDialog.ShowPrinter method to allow the user to select the paper orientation, but Windows NT seems to ignore the users selection and just uses the "Document Default" settings for the printer. According to the On-Line help, by specifying the PrinterDefault=TRUE option, the users selections in my app should save the settings to the registry and therefore be picked up by the printer (or am I mis-interpreting this?)


Any theories on how I can achieve my aims?


- Harshad