Sign in to follow this  
Followers 0
RBASTI

PDF Creation

6 posts in this topic

Hi,

I was wondering if it's possible to create a PDF file with AutoIT...

I dont want to convert a file to pdf, but want to create a pdf file from scratch.

It should contain text, frames and images.

Is there any way to do this with AutoIT?

Thanks in advance...

Rolf Bastiaansen

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hi,

I was wondering if it's possible to create a PDF file with AutoIT...

I dont want to convert a file to pdf, but want to create a pdf file from scratch.

It should contain text, frames and images.

Is there any way to do this with AutoIT?

Thanks in advance...

Rolf Bastiaansen

Yes.

You can create the page with text, frames and images using my print udf for example, and then print it to a pdf printer like CutPDF which is free. See the link in my signature.

EDIT: Welcome to the AutoIt forums RBASTI :)

Edited by martin

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

You could also try to implement something like FPDF, but this is not too simple.

Edit: Propably the best solution would be to use libharu

Edit: Someone already tried to use libharu, but did not complete the UDFs:

Edited by ProgAndy

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Share this post


Link to post
Share on other sites

Ok thanks guys, i'll look into that... :)

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

taietel was working on a pdf creator in autoit. You can find his work in the example forums

*edit*

fixed link

Edited by kaotkbliss

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

Ok tnx kaotkbliss, that one looks promising... :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0