Options

Using CutePDF

jimmyfjimmyf Member Posts: 103
I am trying to use CutePDF to generate pdf documents and save to the filesystem.
I have installed CutePDF however it is not available as an automation server. Does anyone hav any sample code that I could possibly use as an example?

Thanks in advance

Comments

  • Options
    KarenhKarenh Member Posts: 209
    Why use CutePDF instead of PDF Creator? There are a number of postings here re PDF Creator, with code examples.
  • Options
    DenSterDenSter Member Posts: 8,304
    viewtopic.php?f=5&t=18331 that must be the longest useful topic in mibuso by now.

    CutePDF is just a PDF printer, I don't think it has an API.
  • Options
    ara3nara3n Member Posts: 9,256
    You can also look at bullzip if you like.

    http://mibuso.com/blogs/ara3n/2008/08/0 ... ts-to-pdf/
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    jimmyfjimmyf Member Posts: 103
    I am using CutePDF as my company has purchased the profesional version with progamatic access. I have used pdfcreator in the past however this was not my decision to go with cute!!
    I would like to have control over the location and the filename where the pdf documnts are created and be able to process them in a batch without the save dialogue.
    I do not think it is as simple as specifying the pdf printer in report selections.
  • Options
    DenSterDenSter Member Posts: 8,304
    jimmyf wrote:
    I do not think it is as simple as specifying the pdf printer in report selections.
    That's how I've used CutePDF for years now
  • Options
    jimmyfjimmyf Member Posts: 103
    DenSter wrote:
    jimmyf wrote:
    I do not think it is as simple as specifying the pdf printer in report selections.
    That's how I've used CutePDF for years now
    each

    How do you programatically specify the filename for each pdf document?
    Lets say i'm printing a batch of invoices for different customers, I would want to create pdfs and save them individually.
  • Options
    DenSterDenSter Member Posts: 8,304
    jimmyf wrote:
    How do you programatically specify the filename for each pdf document?
    I don't use CutePDF for that purpose. CutePDF is a PDF printer, so I use that to create PDF files by printing to it. To create PDF's programmatically, I would use Rashed's sample code.
  • Options
    jimmyfjimmyf Member Posts: 103
    DenSter wrote:
    jimmyf wrote:
    How do you programatically specify the filename for each pdf document?
    I don't use CutePDF for that purpose. CutePDF is a PDF printer, so I use that to create PDF files by printing to it. To create PDF's programmatically, I would use Rashed's sample code.

    Does Rasheds code not use PDFcreator? Are you saying that I cannot use CUTEPDF to create PDF files programatically?
  • Options
    ara3nara3n Member Posts: 9,256
    you can take a look at this.

    http://www.cutepdf.com/solutions/FormSDK5.asp
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    DenSterDenSter Member Posts: 8,304
    jimmyf wrote:
    Does Rasheds code not use PDFcreator? Are you saying that I cannot use CUTEPDF to create PDF files programatically?
    I don't know if you can't or not, all I am saying is that I only use CutePDF to print stuff to PDF documents, and that if I would need to program a PDF to be created with code I would use Rashed's PDFCreator or Bullzip example. Why would I want to spend a lot of time trying to make one thing work, when there is already a proven alternative for exactly the same thing?

    By no means am I saying YOU can't, if you want to go right ahead, and let us know if you make that work and tell us how you did it, because that would provide us with another alternative. The more alternatives the better, and it is probably quite possible.
Sign In or Register to comment.