Just wanted to say thanks for this, I currently create a postscript printer
and convert the file output with ps2pdf
Does the free version of Bullzip have a com interface?

I also use CutePDF, does anyone know if this has a com interface?




-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Stephen Weeks
Sent: 03 December 2015 22:02
To: [email protected]; [email protected]
Subject: Re: Getting Bullzip PDF Printer to Work

Gene,

I use the bullzip control (you will need to download the latest bullzip
version):- 

*********************************************************************

outputdirectory="c:\cbs2dev\bullzip\"
outputfilename=c:\cbs2dev\bullzip\test.pdf
defaultprintername=set('printer',2)
sprintername = [Bullzip PDF Printer]
oprintersettings = createobject("bullzip.PdfSettings")
oprinterutil = createobject("bullzip.PdfUtil") oprintersettings.printername
= sprintername

with oprintersettings
        .setvalue("output",outputfilename)
        .setvalue("ConfirmOverwrite", "yes")
        .setvalue("ShowSaveAS", "yes")
        .setvalue("ShowSettings", "never")
        .setvalue("ShowPDF", "never")
        .setvalue("Target", "printer")
        .setvalue("Title", "Invoice")
        .setvalue("Subject", "Report generated at "+dtoc(date()))
        .setvalue("UseThumbs", "yes")
        .setvalue("Zoom", "50")
        .writesettings(.t.)
endwith

set printer to &sprintername

then run :-

report form YourReportName to printer noconsole

set printer to &defaultprintername

*********************************************************************

This works for me for loads of automatic pdf creation procedures.


On Thu, 3 Dec 2015, at 09:38 PM, Gene Wirchenko wrote:
> Dear Vixens and Reynards:
> 
>       I am trying to get Bullzip PDF printer to work.  I have an 
> existing app that uses Adobe's PDF printer driver, but it is awkward 
> to use with onerous licencing.  Before modifying my program to work 
> with Bullzip, I would like to see that Bullzip works.
> 
>       Step one is to get some output to a named file.  Step two is to 
> get some output to a named file from VFP.  Step three is integration 
> with my app.
> 
>       I am stuck on step one.
> 
>       I have created a runonce.ini in what is apparently the correct 
> directory.  (I assume so as this file gets deleted when I try to print 
> through Bullzip.)  The directory is C:\Users\Owner\AppData\Local\PDF 
> Writer\Bullzip PDF Printer
> 
>       From c:\cbs2dev, I opened Notepad and created a short text file 
> (not saved).
> 
>       The runonce.ini is:
> ***** Start of File *****
> [PDF Printer]
> Output=c:\cbs2dev\bullzip\test.pdf
> ConfirmOverwrite=no
> ConfirmNewFolder=no
> ShowSaveAS=never
> ShowPDF=yes
> ***** End of File *****
> 
>       Note that the directory for where the file is to go is a 
> subdirectory of where Notepad opened from.  The c:\cbs2dev\bullzip 
> directory does exist.
> 
>       The dialog for selecting the filename et al comes up with 
> c:\cbs2dev (not c:\cbs2dev\bullzip) and with the name test.pdf.  As 
> far as I can see, I have configured that dialog to not show up.
> 
>       If I change the filename in the runonce.ini, the new name shows 
> up in the dialog.  The directory is still wrong.
> 
>       Somehow, I got it to work once before, but now, no.
> 
>       No, I am not forgetting to recreate the runonce.ini on subsequent
>       tries.
> 
>       Any ideas?
> 
> Sincerely,
> 
> Gene Wirchenko
> 
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to