Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing using printer properties

Status
Not open for further replies.
Oct 5, 1999
105
GB
Is there any way to print to a printer in VB6 using all the capabilities of the printer drivers.

Most printers have a vast array of options, eg double sided, booklet form or even things like stapled if you can print to the office photocopier.

Proprietry programs like Word, Excel etc automatically pick up these features when you print, using the properties button in the printer dialog.

I can use the common dialog supplied with VB6 or the replacement from MDSN or call it via API calls but I can never get my program to print according to all the preferences set, when using standard Printer.Print commands etc.

I would prefer not to change the default printer as this can have unwanted side effects on other programs if my application is still running.

Is there any way of acomplishing this, theoretically, standard function in VB6? If all the other programs can do this why can't VB6? I'm even willing to try printing via API if someone can point me in the right direction.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top