Print Page | Close Window

I need to create a PDF file with a .TXT and a .JPG

Printed From: Foxit's Planet PDF Forum
Category: Lets Talk PDF
Forum Name: General
Forum Description: This is for experienced PDF users. Here you can talk about any topics not set aside for Developers, Prepress and PDF Forms.
URL: http://forums.planetpdf.com/forum_posts.asp?TID=1884
Printed Date: 25 Nov 2017 at 2:00am
Software Version: Web Wiz Forums 11.10 - http://www.webwizforums.com


Topic: I need to create a PDF file with a .TXT and a .JPG
Posted By: juancocr
Subject: I need to create a PDF file with a .TXT and a .JPG
Date Posted: 09 Nov 2015 at 5:52pm
Hi there,

I wanted to ask which app will work the best for this: I have a txt file (.txt) and a jpeg file that I need to put together into a PDF file.

The txt is the content and the jpeg is like the front page. I have around 100 .txt files and 100 .jpeg files that I need to put together.

How can I do it easierly or what is the easiest way of accomplishing this? Any suggestion of an app?

Regards
Juan



Replies:
Posted By: try67
Date Posted: 10 Nov 2015 at 1:22pm
You can do it with Acrobat, but to automate this task would require Acrobat Pro a custom-made script.


-------------
- Acrobat Expert - Contact me personally at try6767@gmail.com
Check out my custom-made scripts website: http://try67.blogspot.com


Posted By: tecrms
Date Posted: 10 Nov 2015 at 2:10pm
Try using VBA in word. Use the developer tools to record importing a txt file and image in a macro then fine tune the code from that and print it to pdf via word.
 
Below is a quick macro I recorded in word that verified the process...
 
Sub Macro1()
'
' Macro1 Macro
'
'
    Selection.InlineShapes.AddPicture FileName:= _
        "C:\Users\yourname\Pictures\623547.jpg", LinkToFile:=False, _
        SaveWithDocument:=True
'    ActiveWindow.ActivePane.VerticalPercentScrolled = -94
    Selection.MoveDown Unit:=wdLine, Count:=1
    Selection.TypeParagraph
    Selection.InsertFile FileName:="DirPrnInfo.txt", Range:="", _
        ConfirmConversions:=False, Link:=False, Attachment:=False
       
'once all the documents are add to word document save it and export it to pdf.
     ActiveDocument.SaveAs2 FileName:="testimport1.docx", FileFormat:= _
        wdFormatXMLDocument, LockComments:=False, Password:="", AddToRecentFiles _
        :=True, WritePassword:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts _
        :=False, SaveNativePictureFormat:=False, SaveFormsData:=False, _
        SaveAsAOCELetter:=False, CompatibilityMode:=15
       
    ActiveDocument.ExportAsFixedFormat OutputFileName:= _
        "C:\Users\yourname\Documents\Test3.pdf", ExportFormat:=wdExportFormatPDF _
        , OpenAfterExport:=False, OptimizeFor:=wdExportOptimizeForPrint, Range:= _
        wdExportAllDocument, From:=1, To:=1, Item:=wdExportDocumentContent, _
        IncludeDocProps:=False, KeepIRM:=False, CreateBookmarks:= _
        wdExportCreateHeadingBookmarks, DocStructureTags:=True, _
        BitmapMissingFonts:=False, UseISO19005_1:=False
End Sub


Posted By: gkaiseril
Date Posted: 12 Apr 2016 at 5:56pm
Many programs like MS Word, Apache OpenOffice.org, Libre Office, InDesign, etc can author the document and convert the document to a PDF. MS Word has its own converter but Acrobat can add a much better converter to MS Word and adds the ability to create PDF forms from the produced PDF. NitroPDF can also create forms within a PDF.

Apache OpenOffice.org and Libre Office can both create forms within their word processors and export to the PDF the field fields but cannot edit or add scripts to the forms.


Posted By: Webbzo
Date Posted: 09 Oct 2016 at 5:39am
Hi, I do this all the time. I have used many software to do this over the time, but now all I use is http://www.openoffice.org/ - Open Office .

It's free and allows you to simply copy and paste what ever you are needing within the document. Then there is a simply button (Create PDF). And that's it. It simply creates a PDF version.

Some helpful tutorials can be found here:

http://www.youtube.com/watch?v=VE9jdA5T9SM - How To Use Open Office To Create PDF-Files

https://www.webbzo.com/product/create-secure-pdf-file-video/ - Create Secure PDF File Video


I hope this has helped.



-------------
http://www.webbzo.com/ - Webbzo.com is a place where you can download over 20,000 digital products. All members get unlimited access to all our http://www.webbzo.com/ - PLR products .


Posted By: Edit Scanned Doc
Date Posted: 06 Nov 2016 at 12:46pm
Convert Text file into JPG and create a pdf file using both jpg's using photoshop!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 - http://www.webwizforums.com
Copyright ©2001-2017 Web Wiz Ltd. - https://www.webwiz.net