Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing report name for PDF
Message
De
09/06/2015 13:47:43
 
 
À
09/06/2015 12:51:16
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01620780
Message ID:
01620798
Vues:
54
>>>>Hi All:
>>>>
>>>>I have the following command:
>>>>
>>>>
>>>>REPORT FORM BLARG TO PRINTER PROMPT PREVIEW
>>>>
>>>>
>>>>If I click the 'print' icon, I get a dialog to choose printers. If I choose the 'CUTEPDF' printer, a PDF report is created with the name 'BLARG.PDF'.
>>>>
>>>>How can I get a more descriptive pdf name to be created like 'Batch_1001.PDF'?
>>>>
>>>>Thanks,
>>>>
>>>>Yossi
>>>
>>>You need reportbehaviour on 90
>>>
>>>
>>>
>>>*tnListenerType you have to figure out from help
>>>DO (_REPORTOUTPUT) WITH tnListenerType,loListener
>>>loListener.PRINTJOBNAME = cDecriptiveName
>>>REPORT FORM BLARG TO PRINTER PROMPT PREVIEW OBJECT loListener
>>>
>>
>>Thanks! That changed the name.
>>
>>The only thing is that it makes no difference if I say
>>
>>
>>cDescriptiveName = 'c:\myreportfolder\Batch001'
>>
>>
>>It still outputs the PDF file (Batch001) to the last folder that I used for CutePDF.
>
>This is because your PDF printer driver maintains it's own ideas where to place the output. This is outside VFP.
>
>There is ongoing PDF printer driver thread#1620781 about this problem.

Thanks very much! I'll look at those products.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform