IonicWind Software

IWBasic => General Questions => Topic started by: Brian on October 20, 2013, 06:30:06 AM

Title: Print to PDF
Post by: Brian on October 20, 2013, 06:30:06 AM
Hi,
Just a thought - has anyone ever managed to get an IWB application working
with one of these "Print to PDF" programs, like Bullzip or Foxit Reader?

There are a lot of applications out there where you can print the contents
of a window to a PDF printer that actually makes a PDF file

Brian
Title: Re: Print to PDF
Post by: LarryMc on October 20, 2013, 11:41:42 AM
although I've never tried it you should be able to set the default printer to what ever you want and then any printing should go to that printer.

Look in help file under PRTDIALOG,OPENPRINTER, and associated commands for additional info.
Title: Re: Print to PDF
Post by: Kian on October 20, 2013, 11:48:16 AM
I'm not 100% sure if this is what you're after, Brian, but I have CutePDF installed, which can be selected as a normal printer, and I ran the code here:
http://www.ionicwind.com/forums/index.php?topic=3873.0 (http://www.ionicwind.com/forums/index.php?topic=3873.0)
and it did, indeed, print out as a pdf.

Kian
Title: Re: Print to PDF
Post by: Brian on October 21, 2013, 12:35:15 PM
Kian,
Thanks for that. With a bit of messing, I've just got the first line of my IWGrid printing
to a PDF file. I'm using PrimoPDF, by the way
Brian