Printing forms using printer driver (need landscape/portrait) 
Author Message
 Printing forms using printer driver (need landscape/portrait)

How can I print a form to the printer object using the printed driver?

Right now I know of Printform, but this seems to bypass the printer
driver and just send the entire bitmap of the form directly to the
printer. I need to use the driver coz I'm trying to implement
landscape/portrait mode, as well as print quality.

Using the printer common dialog isn't suitable since my form layout is
very complex and includes graphics; I can't recreate it using
printline and statements like that.

If there's any way to send a bitmap of the entire form contents to the
printer while retaining lanscape/portrait and quality options, please
reply. Thanks!



Tue, 18 Jul 2000 03:00:00 GMT  
 Printing forms using printer driver (need landscape/portrait)



Quote:
>How can I print a form to the printer object using the printed driver?

>Right now I know of Printform, but this seems to bypass the printer
>driver and just send the entire bitmap of the form directly to the
>printer. I need to use the driver coz I'm trying to implement
>landscape/portrait mode, as well as print quality.

Try loading a CommonDialog on your form. You can then call the screen
you would expect to see with your printer set up with the command

CommonDialog1.ShowPrinter

or you could change various things from within the program without the
users knowledge with code like:

CommonDialog1.Copies = 1    `etc etc

Andy Paul
THE BHEALTHY GYM at http://homepages/enterprise.net/bhealthy
Fitness Instructor Shareware can be found at the above site



Wed, 19 Jul 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Printing Reports To A Printer Other Then one specified with report Switching Portrait / Landscape

2. Landscape report views but prints in portrait (using crystal report)

3. Change printer from Portrait to Landscape ?

4. Printer Common Dialog not portrait/landscape

5. Changing Printer Landscape/Portrait Problem

6. Printing landscape vs portrait

7. Mixing portrait and landscape printing in VB5

8. how to combine landscape and portrait printing

9. landscape/portrait print problem

10. Mixing landscape and portrait printing

11. Changing print option to portrait/landscape

12. Changing Print option to Portrait/Landscape

 

 
Powered by phpBB® Forum Software