Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing to PDF
Message
De
02/07/2008 14:26:22
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01328307
Message ID:
01328334
Vues:
18
>>>Hello everyone,
>>>I need to print to a PDF file without the "Save as" dialog box that comes up when
>>>usinig the Adobe pdf driver. I'm sure this have been asked before, and I have done my homework
>>>searching with no luck. the SDK documentation says to change the rgistry keys, page 20 of the link below:
>>>
>>>http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/pdf_creation_apis_and_specs/DistillerAPIReference.pdf
>>>
>>>i.e.
>>>[HKEY_CURRENT_USER\Software\Adobe\Acrobat Distiller\PrinterJobControl]
>>>"C:\Program Files\Windows NT\Accessories\wordpad.exe" = "c:\MyPDFoutputFileName.pdf"
>>>
>>>But I think it should be a better way, any thoughs anyone? maybe a piece of code.
>>>
>>>Thanks.
>>
>>Please excuse my ignorance here, but how can you save anything to the hard drive, which is printing to a PDF (I believe), without giving it a file name? If they have named the file someplace else, then why is that file name not being passed to the 'print to pdf' program?
>>
>>HTH
>>Beth
>
>Beth,
>
>Please re-read his question carefully. He only wants to avoid the Save As dialog and do it in the silent mode providing the name of the PDF.

Okay, that is what the registry key is all about. It took 3 reads for me to get that. I use ps2pdf.prg and pass in the filename with the rest of the parameters and do not get a 'save as' dialog when creating the pdf. ps2pdf is opensource.

Beth
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform