Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adobe Generic Postscript Printer Driver
Message
De
18/12/2007 14:31:14
 
 
À
18/12/2007 12:32:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01275362
Message ID:
01276499
Vues:
35
>>>>>I was using Adobe Generic Postscript Printer Driver with Ghostscript to generate PDF reports. Everything was right since I have tried to install the driver on windows vista. The installation does not complete and it appears a message "severe". Is there an driver specific for windows vista? Where can I find it? I have looked for on adobe site, but couldn´t find.
>>>>
>>>>Antonio,
>>>>
>>>>I have installed http://www.bullzip.com/products/pdf/info.php
>>>>
>>>>It installs both ghostscript and a ps driver. Have not had any problems
>>>
>>>
>>>I have downloaded BullZip PDF Printer. I have some doubts
>>>
>>>Do you have a piece of code in VFP by way of example to post here how to use bullzip
>>>
>>>TIA
>>
>>What's the problem ?
>>I'm using it to produce ps files, which I send to gsapi_init_with_args(). Just like I used to do with the previous adobe ps driver and ghostscript
>>
>>
>>I'm also using it - on my development machine - to print to that printer port which I have configured to always produce \tmp\1.pdf - I rename that later
>>
>>For the rest, it seems - have not tried it, that you can modify/produce the .ini file prior to sending a print job to it
>
>With Ghostscript my code is like folllowing. I could not find documentation how do call bullzip inside VFP with parameters.
>
>Report Form (This.nmreport) To FILE (This.nmarquivoentrada) Noconsole
>
>Declare Integer ShellExecute ;
> IN SHELL32.Dll ;
> INTEGER nWinHandle,;
> STRING cOperation,;
> STRING cFileName,;
> STRING cParameters,;
> STRING cDirectory,;
> INTEGER nShowWindow
>
>lcParms = "-sDEVICE=pdfwrite"+;
> " -sOutputFile=" + This.nmarquivosaida +;
> " -r600"+;
> " -dBATCH"+;
> " -dNOPAUSE"+;
> " -q"+;
> " -c 3000000 setvmthreshold .setpdfwrite -f " + This.nmarquivoentrada
>
>Wait Window "Building file in PDF format ..." Nowait
>
>liRetVal = ShellExecute(0, "open", 'gswin32.exe', lcParms, m.nmpastasaida, 2)
>This.asleep(4000)

Antonio,

Bullzip installs Ghostscript - I have it installed in c:\program files\gs

In c:\progam files\gs\gs8.56\bin, There, I find gswin32.exe and gswin32c.exe (never used them)
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform