Converting html to readable PDF
I am trying to open an attachment I received in an email it is an Html file an won't open how do I reads it in adobe
Adobe Reader cannot read HTML. If you have Acrobat on a Macintosh or Windows computer, you can do this.
Similar Messages
-
Help converting html/xhtml to pdf with bfo pdf lib or other tools?
Hi,
I need to convert from xhtml to pdf. I tried parsing it with xerces and crimson but wouldnt work. So the samples coming with big faceless pdf library dosent work. Is there any other method to convert html/xhtml to pdf - any libraries for direct conversion. BFO pdf report generator takes xml as i/p to convert to pdf.
Thanks for any helpLook here:
http://www.adobe.com/sea/products/server/pdfgenerator/ -
Bitmap image won't show after converting HTML file to pdf
I have a program which saves a technical report as a HTML file. I don't have another choice as to file type to save as. This program has a template which generates the report....and there are fields which are filled in...some text fields, and one is a company logo. Just to be clear the logo itself is not in the template, a holding place is there which points to the location of the logo on my drive. This is all set up by the program and can't be altered.
If I save the logo as a jpg, png or tiff file, the logo shows up in the final HTML report and if I use Adobe Professional (version 7.0 on Win XP) to create a pdf the image also shows up - a perfect replica of the report is created in pdf, making it convenient for printing and email.
If I save the logo as a bitmap file (which creates a higher resolution and sharper looking logo) the logo shows up in the initial HTML technical report, but when I convert this to pdf the file is not found, instead it shows as a small square red box with the error "Bad file image" or "unable to download image".
I can't understand why this would be the case as the logo is saved in the same location whether it is jpg, png, tiff or bmp. It just seems that the Adobe Pro doesn't know how to "find" the bitmap logo from the HTML template.
I did try converting the HTML document to Word but it threw the formatting out and when it was converted to pdf it cropped the page & I wasn't able to resolve this...maybe it can be done but it is a long way around in any case, particularly if steps then need to be taken to correct the formatting.
At the moment the document can be printed with success from the original format - then it's a matter of scanning the printed document in order to email. It can't be emailed directly because of the embedded information which is lost if then sent to the recipient's computer. However it would be nice if the doc could be converted to pdf which would then make it easier to transfer the file to a backup drive or for email. Any ideas? ThanksThanks for your response. Yes I did mean .bmp files.
The problem is not getting it to show in HTML - but Adobe then picking it up from there. I guess though if it is not a standard format for HTML then maybe Adobe has trouble recognising it if it is there. Also, it is possible for Adobe to convert .bmp files if they are inserted in the HTML file, but I have instead a template with the code for the location of the file rather than the graphic itself. I don't have this problem using the other file formats and getting them into pdf...it's just that the images aren't as sharp as the bmp. I have tried various formats and resolutions so if there isn't a way I can get the bmp from the HTML file into pdf I might just have to live with printing and scanning from the original. Thanks for your input, it confirms what I was thinking. I'll leave this unanswered for now in case someone else has further information. -
Hi experts,
I'm looking for a possibility to conbvert a Spool-request to PDF fomrat.
Following situation:
I have a Web Dynpro that creates a page with a few material details. I can now export this to Excel, but now the requeiremt is also to convert it to PDF.
We don't have ADS, so I can't use Adobe forms. First, I tried to create a Smartform and convert this to PDF which will work. But I have also a few pictures included which come from a Web Service (as JPG). After searchin a while I found a possibilty to convert them to TIF and insert them in SE78 automatically. But this takes to much time and as a result of insert them to SE78, the colors will change (only 256 colors).
Next idea was to generate a HTML-Mail out of my Smartform (regaring this blog /people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp) what works perfectly now.
So now I have a Spool in SOST which contains a HTML file. OK, looks great, all pictures are included, takes not much time - but how to convert this to PDF?
Anybody any ideas?Hi experts,
after searching the whole forum and internet, I don't find any solution.
Maybe the convertion from Spool to PDF is not possible...
OK, another idea:
I read that the wrong colors result from the different color depth (16/24 bit vs 256 colors). So my last idea is to convert the image before inserting into BDS (SE78), automatically done by SAP.
Is there any function/coding you know which can convert me a image from 24bit to 256 colors? If so, I can convert the image and then insert into BDS... -
How to convert HTML files to PDF files.
Hi,
I have an urgent requirement explained below:
I need to convert my HTML files to PDF file from JAVA program.
Please help me with your suggestions.
Your help is highly appreciated.
Thanks &Regards
RamavardhanTry FOP and XSL style sheets. Although RPWithey is
correct that there is nothing to magically change a
viewable HTML file to PDF you can convert a single
HTML file to XML and use FOP to create a PDF. You will
need to manage the transition though.
If you want to change a random HTML file into PDF
dynamically this would take quite a bit more work. You
might be able to use JTidy to convert the HTML to XML
and then FOP to get to PDF but it will likely not be
formatted the way you wish.That's true - FOP does do that, doesn't it. It must have to make certain assumptions about the appearance of the output. If the output from the stylesheet is an HTML file, you might be able to bypass that bit altogether. I haven't really looked at FOP, although I've read the overview. Check it out at http://xml.apache.org/fop/index.html.
RObin -
Converting HTML Forms to PDF - Field Names
When I use Adobe 8 to convert and HTML form to PDF all the field names in the resulting PDF have the crazy long names that are jumble of letters and numbers. So I always have to go back through and manually rename every field because I'm using another program to autopopulate the fields with data. Is there any way to get Acrobat to automatically name the fields in the PDF the same as they are named in the form either using the "name" or "id" properties of the HTML fields? I don't understand why this isn't the default behaviour to begin with.
The reason this is done is due to a fundamental difference between HTML forms and Acrobat forms. In HTML forms, fields with the same name do not necessarily share the same value, whereas in Acrobat forms they do.
In the conversion process, Acrobat gives each field a unique name, but also sets a field's mapping name to the name the field had in the original HTML form. This is so that if the PDF form is used to submit as "HTML", then the original field names will be used and any server process that is capable of dealing with the HTML form is capable of dealing with the resulting PDF form. So be aware that if you want to use your modified form to submit to a web server using the "HTML" format, the new field names that you set will not be used. What will be used are the hidden mapping names.
Unfortunately, I don't think there's anything you can do about any of this to make it work like you want.
George -
Hi,
I have some html table and data (reports) which are generated by JSP. I want to provide a button for exporting the report content to pdf. I found many tutorials in converting html data to excel. But I want it to be exported to PDF. How can i do it?
thanxYou can use libraries like:
iText, Actuate eSperadsheet Reporting engine to do the Job for you. -
Sliced Images are Broken after Converting HTML into a PDF
I am trying to create a PDF of a webpage and after Acrobat converts it, the page is broken apart in multiple pieces. I noticed that this is happening to images that are sliced. Does anyone know how to prevent this from happening?
Thanks!Just to clarify, I only want a PDF image of the web page -no functionality of it. The equivalent of a "print-screen" of the page without the IE window/toolbar etc. I need to have it in PDF format for printing purposes.
ASP code is also appearing in the PDF and I don't want this to occur.
Ver: Adobe Acrobat Professional
OS: WinXP Professional -
Is it allowed to convert html pages to pdf:s on a webserver?
Hi,
I read a web discussion some where on the web there somebody claimed it was not allowed to generate pdf files of html pages on a webserver. Is this correct?
If it is allowed my followup question is how you do it with C# and any of the Acrobat libs?
Best regardsThank you for the quick response.
Too bad I can't use Acrobat on a webserver. Among other things I had my hopes on using the full Adobe suits I bought earlier for this.
How do I proceed in that case?
Many sites that I shop at send me their invoice/receipt as a pdf and I think it is a greate feature/service they have there. Do you happen to know how they do (software that's used and so on) then they generate their pdf:s?
Best regards -
Hello Experts,
I need to convert the document type HTM to PDF then send it thru e-mail as attachment, is there any FM for this?
I'm looking at this FM CONVERT_ABAPSPOOLJOB_2_PDF, but i think it requires a spool id and the program is required to run in foreground. Any idea?
Thank you!Hi Jerome,
Click on below two links:
[How to convert HTML output to pdf output to save the file locally;
[Convert HTML File to PDF;
BR
Dep -
Convert html into tidy html to convert pdf using iText
hello.
I am try to convert html document into pdf.
first i tried iText it works properly. but it needs all the tags to be witten correctly.
when u try html not well formeted it gives an exception.
So is there any way to convert html to pdf.
or if not if not then way to convert html into properly taged HTML
so it s easy to convert it to html,
If you have any working example of Tidy.jar please send me.
Thanks..Hi,
I had a similar tasko to do i.e converting HTML to PDF.
Please follow the link to this site and download the trial code.
http://www.pd4ml.com
I was able to convert my HTML to PDF.
Have a look at it and let me know.
Regards,
Joe -
As part of the project we have to convert html documents to PDF or AFP. We tried with different tools like HTMLDOC and we are not able to get the perfect matching tool. Any help on finding the best tool for conversion of HTML to PDF or AFP will be appreciated.
My basic requirement is
1) The conversion process needs to be automated
2) the tool has to run on Linux.
3) Everything in the page (text, image etc) should be extracted in a single file
Background
A batch job which runs on Q&R cache servers to run every evening. The job has a list of 1500 symbols which iterates through and does an http get of the Stock Summary page for each ticker in the list. The next step is to launch HTMLDOC or another tool to convert to PDF, APF, or other format.
Regards,
Jags.I'm not sure it'll help you, but take a look at
http://xml.apache.org/fop/index.html
maybe you can go this way
XHTML->XML->FOP->PDF
??? -
Need help - CONVERTING HTML to PDF
A friend of mine has tasked me to research on a Java API that converts HTML files to PDF... Does anyone know about this?
I've been browsing the net for an hour now and i still haven't got a plausible solution to his problem... Can you guys help me with this?!? Any help would be greatly appreciated... Thanks... :)Done, I'd be glad to send
you the spanish MX properties
version, where can I send it
to you?great, please use email address [email protected], thanks
Strangely, many options that
work fine as standalone, appear
to be disabled now, options
like... in menu Edition: Undo,
Redo; in menu Format: Table, Link;
all the Table menu options.Undo and redo are active if there is something to undo or redo only. As well many table actions are only active when the caret is inside a table. See also the source code: class FrmMain contains almost all actions as inner classes (a design I changed in later applications). Each action class has a method 'update' which takes care of enabling or displaing an action depending on certain conditions.
HTH
Ulrich -
How to convert html to pdf using acrobat sdk 8.0?
hi
I am a beginner of acrobat sdk .
I want to know How to use acrobat sdk 8.0 to convert html to pdf?
herere some questions :
1:How to support navigation inside PDF file that generated using acrobat sdk 8.0? For example: theres catalog in the top of HTML file, customer hopes can navigate inside the PDF file just like navigating inside the HTML file.
2:How to support operating some controls in the PDF file that generated using acrobat sdk 8.0? For example: therere some drop down list and text box in HTML file, customer hopes can input text in the text box, click the drop down list to see available options in it just like in HTML file.
Thanks in advance for any help and suggestion.Hello,
I want a system to re-brand my 37 pages PDF for affiliates.
I want a php dynamic link in the PDF online in order to personalize automatically the PDF for each affiliate. I need to change 2 links each time. The affiliate ID and the Paypal email (payment button) in page 36.
Can you help?
Please let me know
Thank you
Alex
PS My system is online and i can give you the url if it helps. -
Problem with converting html to pdf using LiveCycle ES Java API
I am using this code to convert html to pdf.
* 1. adobe-generatepdf-client.jar
* 2. adobe-livecycle-client.jar
* 3. adobe-usermanager-client.jar
* 4. adobe-utilities.jar
* 5. wlclient.jar
import java.io.File;
import java.util.Properties;
import com.adobe.idp.Document;
import com.adobe.idp.dsc.clientsdk.ServiceClientFactory;
import com.adobe.idp.dsc.clientsdk.ServiceClientFactoryProperties;
import com.adobe.livecycle.generatepdf.client.GeneratePdfServiceClient;
import com.adobe.livecycle.generatepdf.client.HtmlToPdfResult;
public class ConvertHTML {
public static void main(String[] args)
try{
//Set connection properties required to invoke LiveCycle ES
Properties connectionProps = new Properties();
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "t3://localhost:7001");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,Service ClientFactoryProperties.DSC_EJB_PROTOCOL);
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "WebLogic");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
//Create a ServiceClientFactory instance
ServiceClientFactory factory = ServiceClientFactory.createInstance(connectionProps);
//Create a GeneratePdfServiceClient object
GeneratePdfServiceClient pdfGenClient = new GeneratePdfServiceClient(factory);
//Get an HTML document to convert to a PDF document a
String inputFileName = "http://www.adobe.com";
//String inputFileName = "C:\\Documents and Settings\\venkat\\Desktop\\Adobe.htm";
String securitySettings = "No Security";
String fileTypeSettings = "Standard";
System.out.println("one");
//Convert HTML content to a PDF document
HtmlToPdfResult result = pdfGenClient.htmlToPDF2(inputFileName, fileTypeSettings, securitySettings, null, null);
System.out.println("two");
//Get the newly created document
Document createdDocument = result.getCreatedDocument();
//Save the PDF document as a PDF file
createdDocument.copyToFile(new File("C:\\test.pdf"));
catch (Exception e) {
System.out.println("Error OCCURRED: " + e.getMessage());
e.printStackTrace();
I can able to compile this class but while running i am getting error like below.
Error OCCURRED: Internal error.
ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.doSend(EjbMessageDispatcher.java
:160)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat
cher.java:57)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.livecycle.generatepdf.client.GeneratePdfServiceClient.htmlToPDF2(GeneratePdfSer
viceClient.java:666)
at ConvertHTML.main(ConvertHTML.java:84)
Caused by: java.rmi.RemoteException: Remote EJBObject lookup failed for 'ejb/Invocation'; nested exc
eption is:
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initialise(EjbMessageDispatcher.
java:101)
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.doSend(EjbMessageDispatcher.java
:130)
... 4 more
Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(Unknown Source)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(Unknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.writeLock(Unknown Source)
at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendFragment(Unknown Source)
at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendMessage(Unknown Source)
at com.sun.corba.se.impl.encoding.CDROutputObject.finishSendingMessage(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.finishSendingRequest(Unknown Sour
ce)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete1(Unkno
wn Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(Unknow
n Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(Unknown Source)
at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)
at weblogic.corba.j2ee.naming.Utils.narrowContext(Utils.java:126)
at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFact
oryImpl.java:94)
at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFact
oryImpl.java:31)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initJndiContext(EjbMessageDispat
cher.java:213)
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.getJndiContext(EjbMessageDispatc
her.java:226)
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initialise(EjbMessageDispatcher.
java:87)
... 5 more
can u plz give me some way to do the convertion.Yes Sir.....Thanks for ur suggestion.....
But i didn't find exact solution..well..yes i found some but not exactly there were not in the way i required...I jus need to convert HTML to PDF using iText API for java.....I already used some classes in that like HTMLParser.....etc..
So Any thing else...Any one...Sure can help me in this................
Maybe you are looking for
-
How to navigate with the keyboard in album view?
Hello Is there a better way to navigate through the albums and then select/control tracks within an "open" Album in Album-View without using the mouse than what I am trying to describe below? iTunes is idle. switch to album view (shortcut to switch v
-
How to setup Compressor to create video from multiple sequences within FCP?
I am wondering how I can set compressor up to create videos from multiple sequences within FCP. When I click file -> export - > compressor for a sequence and go into the program, it doesn't allow me to go back into FCP. I just get a spinning beach ba
-
HT1386 I lost my music on iPod how do I sync from my iPad ugh?
Help!
-
Activation problem after Time Machine recovery
How can I get Adobe to re-authorize my recovered Photoshop (CS4) app? This isn't a re-installation, or an installation on a new computer. Only my same-as-always iMac that had a hard drive problem and needed a fresh recovered copy of Photoshop from ba
-
Verizon yahoo outgoing email server down?
two days now, can't send email. exact message from outlook is: Task - Sending' reported error (0x80042109) : 'Outlook cannot connect to your outgoing (SMTP) e-mail server. If you continue to receive this message, contact your server administrator o