I am trying to get chrome to save it's current webpage to a pdf using autoit. I wold like to save the file into a folder on the desktop called "ChromeFiles" . However when I use the send command chrome only occasionally responds.
I am trying to find more information on generating PDF files from AutoIT and found the UDF topic
Also found some info on creating .FDF file and use PDFTK for merging, but i can't find info about a custom based layout.
What i trying to find out is, if it is possible to generate a variable layout. For an example i created a script which is based out 20 fields and every field can contain information. If one of those fields are not filled, it shouldn't be printed on the PDF either.
To make it more difficult, the PDF should contain a heading, the first 10 fields and then a horizontal line across the PDF and then a new heading and then show the last 10 fields.
But only the fields which are filled.
Is this possible?
I'm working on a task where, a PDF file is opened (in IE browser) when I click a link in a website.
I have to read the first page of the PDF to find particular strings. Can you please share some ideas?
I found a code in C++ for file format conversion from RTF to PDF with using Debenu QuickPDF.
I know how to use Debenu QuickPDF in AutoIt .
My question is about RTF part of this code:
HDC hdcNew = debenu->GetCanvasDC( RTFPRINTINGDOTSPERINCH * RTFPAGEWIDTHININCHES, RTFPRINTINGDOTSPERINCH * RTFPAGEHEIGHTININCHES); canvas = new TCanvas; canvas->Handle = hdcNew; RVReportHelper1->DrawPage( PageCounter, canvas, true, RTFPRINTINGDOTSPERINCH * RTFPAGEHEIGHTININCHES); // LastPageHeight);
First there is hdcNew declaration , and this is not the problem.
My problem is in converting the following code snippet, to AutoIt
canvas = new TCanvas; canvas->Handle = hdcNew; RVReportHelper1->DrawPage( PageCounter, canvas, true, RTFPRINTINGDOTSPERINCH * RTFPAGEHEIGHTININCHES); // LastPageHeight);
If you remember, I created RTFPrinter sometime ago. But it was some time ago , and created by trial and error, rather than in-depth analysis.
Also, it was just a modification of another script, not my own work from scratch.
So now I'm looking for help how to adapt this code snippet to AutoIt.
Any tips ?
I am trying to read a pdf file with unstructured data. I dontot know how to handle pdf activities in AutoIt,
Can you help me with any UDF to open the PDF and read the doc.
Thanks for your time.