Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Angry Customer: Printer dialog Collate Option
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00281272
Message ID:
00282636
Vues:
61
PMFJI George, but this thread seems to touch closely on a problem I"m trying to resolve right now, so I'm hoping you can shed some light here.

I'm using Word automation from VFP to print documents which require duplex (two-sided) printing. The challenge is how to turn on the printer's duplex mode automatically.

When working in Word directly, I can bring up the Page Setup dialog, click the Properties command button, and mark the "print on both sides" checkbox which shows up on one of the pages of the Properties sheet. I can then print the document manually and it's fine, two-sided and all.

However, when printing via VBA from VFP, it comes out as two single-sided sheets. So I'm wondering if there is a way to use the Common Dialog object to set a flag which turns on duplex mode for this printer. FWIW, I've been looking at the PRINTDLG documentation in the Platform SDK (and of course I went back and re-read Doug's FPA article as soon as I saw his post here) but so far I haven't found anything that seems to relate to the Properties sheet for specific printers. What do you think, is there a way to do this?
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform