lun. 04 novembre 2013, 18h35
Pascal Vives
atoutfox.public.association
Un retour au source
Bonjour
Bon apres un arret de VFP de presque une decennie, je dois me remettre a VFP
pour reecrire un projet commencé par un autre developpeur qui débutait sur
VFP.
Donc je risque de vous solliciter pour des questions surement tres simples
!!! Juste le temps de s'y remettre ;)
Voila, j'ai PDF Creator d'installé et j'essaye d'imprimer dessus alors que
c'est l'imprimante active, donc j'ai ce code
lcPrinterDefaut = SET('PRINTER',3)oNet = CreateObject('WScript.Network')
oNet.SetDefaultPrinter("PDFCreator")
REPORT FORM (vpEtat + "\vehtype") RANGE lcDebut,lcFin TO PRINTER NOCONSOLE
oNet.SetDefaultPrinter(lcPrinterDefaut)
oNet = .NULL.
Permalink : http://www.atoutfox.org/nntp.asp?ID=0000013092