WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: JTaylor on April 27, 2024, 06:36:20 AM

Title: PDF Extender
Post by: JTaylor on April 27, 2024, 06:36:20 AM
Not sure this will interest anyone but just in case, I have posted a PDF generation extender.   Do note the word "generation".  It does not do editing, extraction, etc.   Looked into that but everything I found for free required 64-bit compiling.

http://www.jtdata.com/anonymous/pdf.zip

Jim
Title: Re: PDF Extender
Post by: kdmoyers on April 27, 2024, 08:03:13 AM
YMAFJ  (Yet More Awesome From Jim)

Thanks man!

Title: Re: PDF Extender
Post by: td on April 27, 2024, 08:58:38 AM
Interesting. Adobe has abandoned its COM interfaces for PDF files and I am not sure how much .Net offers via the .Net framework or MSFT Office exposed interfaces. The PDF document format seems to be more popular than ever.
Title: Re: PDF Extender
Post by: spl on April 27, 2024, 12:53:06 PM
Excel still has workshet.ExportAsFixedFormat(xlTypePDF, pdf). .NET has the iText7 classes [dlls?] that can be harnessed. Jim and I have been back and forth about the Extender, and, if I am not mistaken, he made code changes based on the exchange.

It is a great and fast extender.
Title: Re: PDF Extender
Post by: JTaylor on April 27, 2024, 01:27:13 PM
Yep. Made me realize I needed rectangles to make grids pretty.  Had thought about shapes but left them out initially.   Still trying to decide if any of the others would be helpful.

Jim

Quote from: spl on April 27, 2024, 12:53:06 PMExcel still has workshet.ExportAsFixedFormat(xlTypePDF, pdf). .NET has the iText7 classes [dlls?] that can be harnessed. Jim and I have been back and forth about the Extender, and, if I am not mistaken, he made code changes based on the exchange.

It is a great and fast extender.
Title: Re: PDF Extender
Post by: td on April 29, 2024, 08:19:03 AM
Quote from: spl on April 27, 2024, 12:53:06 PMExcel still has workshet.ExportAsFixedFormat(xlTypePDF, pdf). .NET has the iText7 classes [dlls?] that can be harnessed. Jim and I have been back and forth about the Extender, and, if I am not mistaken, he made code changes based on the exchange.

It is a great and fast extender.

GitHub has several open-source .Net libraries that purport to handle the creation of PDF documents. Some seem to offer .Net Framework versions that may work with WinBatch. I haven't looked at any of them in detail but I don't think they preclude the need for a well designed "native" solution.
Title: Re: PDF Extender
Post by: bottomleypotts on April 29, 2024, 10:46:02 AM
Hey Jim,

This is very cool. Thank you.

Ps. The demo csv is missing, though is easy enough to generate.

I also seem to be having problems with @PDF_128A being undefined.
Title: Re: PDF Extender
Post by: JTaylor on April 29, 2024, 10:54:07 AM
Thanks for letting me know.   Not sure how I missed the csv file.   Had a blank space in the CONSTANT.  See if this works better.


     http://www.jtdata.com/anonymous/pdf.zip

Jim
Title: Re: PDF Extender
Post by: bottomleypotts on April 30, 2024, 08:33:42 PM
Thanks Jim.