Generating PDFs from marked TXTs

Hello,
I have around thousand TXT files, which use special syntax (kind of like Markdown text, but with hyperlinks and other stuff). I created a program, which converts them to a HTML+CSS website and it works great for online consultation. But for offline consultation I would like to generate a single PDF file from all those marked TXTs. Now, from what I gathered on the Internet, one (and possibly the best) solution would be:
1. LaTeX
but the LaTeX syntax is fairly complicated, so I wonder if Adobe provides some kind of facilities for my case. Another solution I thought of:
2. Convert my HTML+CSS website to PDF using Acrobat Pro
but I don't know if the result will look good and if the hyperlinks will be preserved. Another solution, which doesn't involve Acrobat Pro:
3. Control InDesign using a script to generate PDF
but the problem is that those TXT files have variable length (between 1 and 5 pages), and InDesign would require me to detect when a new page is needed.
In summary, which of the 3 methods above would you recommend me?

Thank you for your reply. I ended up using the method you recommended.
I changed the CSS so it ressembles a little more a printed format, then I mounted my website to a local address using "Apache HTTP Server", then I used Acrobat Pro to convert my website to PDF. This way no Internet connection is involved.

Similar Messages

  • JNDI error while generating pdf from crystal reports in java

    Hi, i want to generate PDF from crystal reports in java. I have the .PDF file with database configured into the report. Following details are available in report.
    1. Server Name      = testdb
    2. Database Name  = testdb
    3. User
    4. Password
    I am using CR XI.
    In CRConfig.xml i had given following details.
    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:oracle:thin:@192.218.216.102:1521://TESTDB</JDBCURL>
         <JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
         <JDBCUserName>user</JDBCUserName>
         <JNDIURL>password</JNDIURL>
         <JNDIConnectionFactory></JNDIConnectionFactory>
         <JNDIInitContext>/</JNDIInitContext>
         <JNDIUserName>testdb</JNDIUserName>
         <GenericJDBCDriver>
              <Default>
                   <ServerType>UNKNOWN</ServerType>
                   <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>Standard</LogonStyle>
              </Default>
         </GenericJDBCDriver>
    </JDBC>
    When i am calling from java as standalone, i am getting following error.
    JRCAgent1 detected an exception: Error finding JNDI name (testdb)
    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)      at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
    Can anyone let me know where is the problem?

    Actually, the question boils down to; does the framework support the fonts?
    I believe that my question re. this working in the designer was valid. The designer does not use the framework, so if it works there, it is either a framework issue or a runtime print engine issue.
    I believe if you use the code below, it will list fonts available to the framework:
    foreach(FontFamily ff in FontFamily.Families)
    System.Diagnostics.Debug.WriteLine(ff.Name);
    For more information see kbase [1198306 - Crystal Report displaying incorrect font in Microsoft Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333333303336%7D.do]
    Ludek

  • Generating PDF from Microsoft Word with C#

    Hello,
    We have created web-based system for a customer that stores/handles Microsoft word documents and provides these to users as PDF versions. Unfortunately some problems appear with our third-party component that generates PDF from Word. Our customer has previously used Adobe Acrobat X Pro to manually generate the PDF files and is confident that the output produced this way is valid. Despite searching and reading a lot I can't find any way to determine if (and how) it is possible to automate the process of generating a PDF file from a Microsoft word file using the Adobe engine. There is a lot of SDK documentation, how to control PDF rendering in winforms applications etc. etc. All I want to do is to load an Adobe Acrobat instance, feed it with a word document and save it as a PDF on disk. From a C# app (ASP.NET). Is that possible?
    Best regards
    Jan Hansen

    As mentioned, you can probably send the DOC file to the Adobe PDF printer to create the file. What I keep reading in your post is a legal issue. You keep mentioning being able to create the PDF on a server automatically. The server use of Acrobat is a violation of the EULA. If you are creting the files off-line for posting as has been done, there should not be a problem. However, having these created in an automated manner by the user may be an issue. Before you go much further, I would check with legal counsel about the use of Acrobat in the way you intend. If they indicate there is a problem, then your question is not needed.
    Back to the issue. Try just dropping a DOC file on the Adobe PDF printer icon (you may have to open the Start>Printers to do that. See if that creates the PDF. If so, you will just need to automate that process.

  • Gray box for logo generating pdf from fm book

    Greetings,
    I have a large FrameMaker book that I've generated pdfs from a million times. We cleaned up our logo, so I dropped it in and tried to generate the usual pdf. a gray box resulted for the logo only. all other artwork displayed fine. i tried scaling down the logo, changing formats, changing import methods, etc. all failed. however, generating a pdf from the book if I remove a few chapters gives me my logo. Am I running out of resources? I'm using tech comm suite 1.3 on vista. There are no clues in the acrobat log. show large images is turned on in the adobe reader.
    I used the obvious workaround: generated two pdfs, one with just the logo page and one with the rest of the book, then combined them. But this process is not practical long term. Any clues?

    A couple questions:
    What format is the new logo file?
    Given that it works with some component files, but not in the book... I'd guess that it may be a resource issue. How much RAM and free space do you have?
    And when you "dropped it in," does that mean imported into one file by reference, or copied in, or imported into a template that you used to update all files in the book..... or something else? And if it did update multiple files, did you double-check them to make sure the path to the graphic is correct?

  • Generating PDF from MSWord--IsTable of Content Updated?

    Hello,
    In generating PDF from MSWord document does the Adobe process call a method on the MSWord object to update the TOC field in the Word document during the generation process. Or is it assumed that the table of content in the Word document is always updated. If the table of content field is not current, field error message can appear in the Word document and the page number for
    the link can contain inaccurate values.
    Thank you,
    Jesse

    It is assumed the TOC is up to date.

  • Generating pdf from scanner

    generating pdf from scanner hp G3010: old windows xp file weight 40-50 K. Macbook pro with new mac os 10.7.2 minimum file weight 1,9 Mbyte with terrible resolution!!!! and no way to reduce.
    Nice change?

    It is assumed the TOC is up to date.

  • I am able to generate PDF from Framemaker file but not able to generate pdf from book in robohelp

    Hi,
    Using robo help i am able to generate pdf  from a single framemaker file.
    but when i am importing whole book then i am not able to make it.
    And also it is not showing any error on console
    It goes to hang like situation and i have to close it from task maneger.

    Ok, silly question - why are you bothering to try and create PDFs from RH when you've got FM? FM to PDF produces great results; RH to PDF involves having to go through Word - i.e. RH - Word - PDF = too much work IMHO.

  • How to generate PDF from template via REST query

    Hello. I'm newbie in Adobe LiveCycle, will appreciate any help.
    What we need: generate PDF from template, using different data.
    What we have: LiveCycle Designer and server with deployed Adobe LiveCycle ES 2.5 image.
    Looks like server works and listen 8080.
    In Livecycle Designer I can generate XML (XDP) from PDF, so I can change this XML in PHP/Python/Go script to fill template with data.
    I'm looking for some REST method, where I can give that XML (XDP) and recieve generated PDF in response.
    I've spent whole to for googling all these things, found a lot of docs, but all is very complicated there. Also, examples from just doesn't work - maybe I have to do something on server before calling REST API method.
    Please, push me into right direction

    Your best bet is to probably create an orchestration (or "process" in Adobe speak) that accepts two document parameters, calls LiveCycle Forms (or Output depending on whether you want to interactive or non-interactive PDF), and returns the resulting document variable.
    The orchestration will return a redirect that will point you to the document object.
    See Invoking LiveCycle using REST Requests, and Creating Your First LiveCycle ES4 Application.
    Rob

  • Generate PDF From Database

    Hi,
    I have a table in database. Table has a column. There is data of pathes of images into column. I cretaed a illustrator template and I want to generate PDF from this template with using table data in database. so, is it possible? illustrator created pdf per each image with using illustrator template.
    thanks,

    AI cannot conent directly to databases. It can only parse CSV/ XML data. You either need to export the stuff or create extensive scripts to connect to the life database using sockets.
    Mylenium

  • Generate PDF From Flex

    Hi All,
    I am doing a Reporting/Chart application in FLEX. we need to
    generate PDF from FLEX. Report data will be 5-10 pages, How we can
    do this? Please advise.
    Thanks
    Subhash

    Hi,
    thanks for your reply. I tried with alive pdf, but source
    code only AIR files. can we use this in web based flex?. How we can
    format the report like html code? I just see in alivepdf, its only
    linebyline display, not multiple columns? pls advise.
    thanks alot
    Subhash

  • How to generate PDF from XML output without XML publisher

    Hi,
    I am facing a problem while splitting the rdf generated XML output.
    Problem Description:
    I have a oracle invoice report which runs once every day (scheduled program). This report fetches me the invoices generated on that day and needs to be Mailed / Faxed to the customers.
    So i developed the report in such a way that it generates the output order by customers...since the output generated will be as one .out file in APPLCSF/out directory...the .out file needs to be splitted by customers, for which i have written a cursor which takes the data of the main query and submits that many requests as many as customers are there.....There is a possibility of having 1000 customers per day also. If that is the case then my main program will fire that many requests.
    Is there a different approach......any inputs are highly appreciated.
    Also, i am generating the output in XML format. Is there a way from which i can directly generate a PDF from that XML output rather using any other tool.
    Thanks & Regards,
    Lakshmi Kalyan Vara Prasad.

    Hi,
    with Reports Bursting and the defined "distributions" it's possible to have one report splittet to several parts with different receipients. Have a look at http://download-uk.oracle.com/docs/cd/B14504_01/dl/bi/B13673_01/pbr_dist.htm.
    With xsl-fo it's possible to create pdf out of xml ... that's what xml publisher is doing.
    Regards
    Rainer

  • Error while generating PDF from APEX through BI Publisher

    Hi,
    I am facing a problem which is intermittent.
    I am generating a pdf from APEX which has been developed using BI Publisher.
    I have linked the report to the APEX using report queries/report layouts in shared components.
    The pdf used to open without any problems previously.But currently,I am getting the following error
    *"An error exists on this page.Acrobat may not display the page correctly.Please contact the person who created the pdf document to correct the document."*
    Once the Bi Publisher Services is restarted,I am able to generate the pdf.Again After sometime the same error pops up.
    Has anybody faced the above error?
    Any solution for the same.
    Kindly reply.
    Thanks and Regards,
    K Tanna

    in the log file,following message was shown
    [050510_021134100][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
    [050510_021134126][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
    [050510_021134126][oracle.apps.xdo.template.FOProcessor][STATEMENT] End Memory: max=15744MB, total=237MB, free=121MB

  • Error message when generating PDF from PageMaker

    Hello, Unfortunately my client is still using PageMaker, despite the fact that it is no longer supported. Usually, I have no problem, but this is the error I have had today:
    %%[ Error: typecheck; OffendingCommand: get; ErrorInfo: CharOffsets fonts/TimesNewRomanPSMT%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    I'm on Vista, with Acrobat 8.1.3 and I'm printing to PDF from PageMaker 7. It seems to be a font problem, but I don't know how to solve it.
    Any help would be much appreciated! Thanks!

    Finally managed to get the first two of the 3 books (making up the full publication) printed by doing "Export". The third one, which has been causing all the trouble has started giving me the font message again:
    %%[ Error: typecheck; OffendingCommand: get; ErrorInfo: CharOffsets fonts/TimesNewRomanPSMT%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    I had ensured that the PDF box said "warn and continue".
    I also get a dialog box telling me that only even pages will be printed, although I have specified even/uneven in the print dialog, and that blank pages will not be printed, although I have checked the blank page box.
    Have tried to "Print" to PS and I have managed to generate a PS file with only a message telling me that Helvetica Neue could not be incorporated, which is fine. However, if I then try to create a PDF, I get the message above. Does this mean that my problem is with Distiller rather than in the file?
    I have never had this problem before, and am baffled.

  • Can't generate PDF from xdp and XML

    Hello,
    I'm new to livecycle and flashbuilder.
    I assigned as a task to send to a  livecycle server a xdp template and a XML file with the data in order to create the pdf.
    So far, I created a class with two methods that returns as a BLOB the strings of a xdp template and the XML data to populate the template.
    On the main application I'm calling the generatePDFOutput method from the OutputService and as far as I know I'm supposed to get a Blob which I can manipulate to save it as a PDF.
    What could be my error? or how should I approach this problem? I came here since I can't find some document that shows how to create pdf from a flex app using livecycle...
    I appreaciate your help.
    I attach below the code of the main class
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" creationComplete="initializeChannelSet();">
        <fx:Script>
            <![CDATA[
                import flash.sampler.Sample;
                import mx.messaging.ChannelSet;
                import mx.messaging.channels.AMFChannel;
                import mx.rpc.CallResponder;
                import mx.rpc.events.ResultEvent;
                import services.outputservice.OutputService;
                import valueObjects.BLOB;
                import valueObjects.OutputResult;
                import valueObjects.PDFOutputOptionsSpec;
                import valueObjects.RenderOptionsSpec;
                private var parentResourcePath:String="/";
                private var serverPort:String="192.168.3.46:8080";
                private function initializeChannelSet():void{
                    var cs:ChannelSet= new ChannelSet();
                    cs.addChannel(new AMFChannel("remoting-amf", "http://"+serverPort+"/remoting/messagebroker/amf"));
                    outputService.setCredentials("administrator","password");
                    outputService.channelSet=cs;
                protected function btn_clickHandler(event:MouseEvent):void
                var pdf:OutputService= new OutputService();
                var x:TestPDF= new TestPDF();
                var wsCall:CallResponder= new CallResponder();
                var out:PDFOutputOptionsSpec= new PDFOutputOptionsSpec();
                out.fileURI="D:\PDF_Output\test.pdf";
                var render:RenderOptionsSpec= new RenderOptionsSpec();
                wsCall.token=pdf.generatePDFOutput("PDF","Form.xdp","D:\\PDF_Output",out,render,TestPDF.D ata());
                var res:BLOB= wsCall.lastResult as BLOB;
                var result:ByteArray= new ByteArray();
                    result=res as ByteArray;
                var a:Number=2;
                protected function outputService_resultHandler(event:ResultEvent):void
                    // TODO Auto-generated method stub
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
            <mx:RemoteObject id="outputService" destination="OutputService" result="outputService_resultHandler(event);"/>
        </fx:Declarations>
        <s:Button id="btn" x="90" y="141" label="Button" click="btn_clickHandler(event)"/>
    </s:Application>

    build.xml file for Hibernate:
    <?xml version="1.0"?>
    <project name="Hibernate"
    default="schemaGenerator" basedir="C:\Hibernate">
    <property name="src.dir" value="src"/>
    <property name="classes.dir" value="classes"/>
    <property name="hibernate" value="hibernate-2.1"/>
    <property name="hibernate.mappings" value="mappings"/>
    <property name="jdbc" value="C:\oracle\product\10.1.0\Db_1\jdbc"/>
    <property name="hibernate.extensions" value="tools"/>
    <property name="hibernate.properties" value="properties"/>
    <path id="project.class.path">
    <pathelement location="${classes.dir}" />
    <fileset dir="${hibernate}">
    <include name="hibernate2.jar"/>
    </fileset>
    <fileset dir="${hibernate}/lib">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="${hibernate.extensions}/lib">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="${hibernate.extensions}">
    <include name="hibernate-tools.jar"/>
    </fileset>
    <fileset dir="${jdbc}/lib">
    <include name="classes12.jar"/>
    </fileset>
    </path>
    <target name="init"> <mkdir dir="${src.dir}"/>
    <mkdir dir="${classes.dir}"/>
    </target>
    <taskdef name="javaGen"
    classname="net.sf.hibernate.tool.hbm2java.Hbm2JavaTask"
    classpathref="project.class.path"/>
    <target name="javaGenerator" depends="init">
    <javaGen output="${src.dir}">
    <fileset dir="${hibernate.mappings}">
    <include name="Catalog.hbm.xml"/>
    </fileset>
    </javaGen>
    </target>
    <target name="compile" depends="javaGenerator">
    <javac srcdir="${src.dir}"
    destdir="${classes.dir}">
    <classpath refid="project.class.path"/></javac>
    </target>
    <taskdef name="schemaGen"
    classname="net.sf.hibernate.tool.hbm2ddl.SchemaExportTask"
    classpathref="project.class.path"/>
    <target name="schemaGenerator" depends="compile">
    <schemaGen properties="${hibernate.properties}/hibernate.properties" quiet="no">
    <fileset
    dir="${hibernate.mappings}">
    <include name="Catalog.hbm.xml"/>
    </fileset>
    </schemaGen>
    </target>
    </project>

  • Missing page numbers while generating PDF from Framemaker book

    FrameMaker 9 book files have the correct master page applied and page numbers appear right. However, when generating PDF, the page numbers including the footer is missing.
    I created another book file, yet same issue occurs.
    Also, tried generating separate PDF for each chapter, same issue occurs.
    I have installed Univers font from ATM, I'm using WIndows XP. The Footer tags are in Univers font. Could that be the reason?
    Please advise.

    Error7103 wrote:
    We have seen a similar problem when the page# was at the right edge of the header or footer frame, and the tab that put it there was too far to the right.
    This is an old problem. It comes from setting tab stop positions in paragraph formats with the cursor in the text frame on the TOC reference page. Nothing wrong with this, EXCEPT when the master page text frame has been made narrower than the reference page's text frame. One way to avoid the problem or to fix it, is to set tab stops in a paragraph in the body page text frame, so the width is correct. Another way is to set the tab stops accurately by number, rather than by eye. Visually, the reference page tab stop will look correct, but the generated TOC uses the master page text frame - if it's narrower than the reference frame, this problem occurs.
    I seem to remember that this might have been fixed in more recent FM releases, but I think that's a false recovered memory, because this is not a bug, just a discrepancy in measurement. There's no way to expect that the prototype paragraph format on the TOC reference page can know if a tab stop will be out-of-bounds on the generated TOC page.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

Maybe you are looking for

  • HP Advanced Photo Paper not listed in my printer profile in Photoshop Elements 7

    I have an HP 6310 Officejet printer and have successfully printed photos on (8" X 10") HP Premier Plus photo paper.  However, (4" X 6") HP Advanced Photo Paper does not appear in my Photoshop Elements list of papers for selection. Can you help?

  • What's New In After Effects CC

    I made a overview of some of the cool new features in After Effects CC What new features are you most excited about? The intergration with C4D looks amazing! Wonder how Andrew Kramer will kick it up a notch with Element 3D? Both are great plugins.

  • OMS generates tones of core files in OMS_HOME?

    Hi, We recently upgraded OMS to 10.2.0.4 and found that OMS has generated lot of core files where the file size is 0 bytes.Please let me know,what might could be the cause. Thanks, Regards, Vinoth

  • Why do my pages turn out black?

    I have attempted to print pages from my iweb.  They turn out black.  Any ideas on why?  And how to get good results in this process? Thanks, jg

  • RFx Response Required for All Items

    Hi Team Kindly we use SRM 7 EHP1 with business scenario ( Extend Classic Scenario ) IN Restricted RFx Item level there are checkbox ( RFx Response Required for All Items ) We use it but does not work I do not know why ? any help from you ?