Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Printer Selection and Report Distribution
Message
De
14/11/1997 23:59:13
Ian Johnston
Computer Software Solutions
Woodland, Californie, États-Unis
 
 
À
14/11/1997 11:02:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00060264
Message ID:
00060406
Vues:
21
>>Is it possible to programmatically select the destination printer for a VFP report at run-time?
>>
>>In particulary :
>>
>>1 when the reports are being distributed in a run-time?
>>
>>2 when different reports need to go to different physical printers?
>>
>>3 when different reports need to use the same printer but use different page layouts (port. Landscape)?
>>
>>
>>Thanks
>>
>>
>>
>>Jon Nelson
>
>I probably have similar situation: VFP system generates multiple reports which should be printed in different locations. Therefore I use
>REPORT FORM ... TO FILE ...
>applying some name conventions indicating file destination. Then I use COPY FILE command to move files to different printers. Surely, it should be tested carefully for each particular printer. IMHO, report frx file (and corresponding print file) carries page layout, so you shouldn't worry about this.


I set up my customers printers with unique names for reports or forms and then set up the correct paper size. I then call the printers in code with SET PRINTER TO NAME . This has been especially useful with custom paper sizes. One thing to watch for is if you go into the report to edit it and your current printer is set to a different paper size that is what will be stored in the frx file.

Ian
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform