Converting html document to PDF

  • Context: HTML/CSS 
  • Thread starter Thread starter member 392791
  • Start date Start date
  • Tags Tags
    Html Pdf
Click For Summary

Discussion Overview

The discussion revolves around methods for converting an HTML document of an unofficial transcript into a PDF format. Participants explore various tools and techniques, including virtual printer drivers and online converters, while addressing errors encountered during the conversion process.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Exploratory

Main Points Raised

  • One participant seeks a free method to convert an HTML file of their unofficial transcript to PDF, mentioning errors with online converters.
  • Another participant suggests using Linotronic 330 as a printer to create a Post Script file and then convert it using a web-based Ghostscript converter.
  • Some participants report that using various free converters results in blank outputs.
  • A participant recommends using PrimoPDF as a virtual printer option from Firefox for conversion.
  • Another participant mentions successfully converting the HTML to a DOCX format but struggles with converting to PDF.
  • Several participants discuss the functionality of virtual printer drivers, noting that they can save print jobs as PDF files without needing a physical printer.
  • One participant expresses frustration with PrimoPDF, stating it does not convert the document correctly and shows only a logo without content.
  • Another participant highlights that combining multiple documents into one PDF may require a professional version of PrimoPDF, while PDFCreator can support this feature.

Areas of Agreement / Disagreement

Participants express a range of experiences with different PDF conversion methods, indicating that there is no consensus on a single effective solution. Some methods work for certain users while failing for others, leading to ongoing exploration of alternatives.

Contextual Notes

Participants mention various tools and methods, but the effectiveness of these solutions appears to depend on individual setups and specific document formats. There are references to potential limitations of certain software and the need for specific configurations.

Who May Find This Useful

Individuals seeking to convert HTML documents to PDF, particularly those dealing with academic transcripts or similar documents, may find the shared experiences and suggestions relevant.

member 392791
Hello,

I am trying to convert a .html file of my unofficial transcript so I can send it to REU programs because I am trying to get into an REU this summer. I've tried using the website converters and I always get an error. Is there any way to conver this for free?

Or, can I PM it to somebody and they could convert it for me? That would be very nice. Thanks!
 
Technology news on Phys.org
What kind of error do you get?

What I did in the past was I added Linotronic 330 v52.3 as a printer, printed Post Script to file and used some web based ghostscript converter.
 
Not sure depends on which free converter I use. They just come up blank
 
I use PrimoPDF for the final conversion step. What are you viewing the HTML with?
 
firefox html document
 
Okay, so if you download and install the free verion of PrimoPDF, it should show up as a printer option when you got to print from Firefox. Try printing from Firefox to the PrimoPDF printer, and see how that turns out.
 
It still comes up blank. I have now been able to turn the .html to a .docx, but not .html to .pdf or .docx to .pdf
 
I'll PM you my e-mail address if you want me to give it a shot.
 
Please do
 
  • #10
Try what I told you earlier. Install a printer driver I have mentioned in such a way that it will allow printing to file. Print your page to the file. Convert this file to pdf using some web service - for example ps2pdf.com. See if their FAQ doesn't help: http://www.ps2pdf.com/faq.htm
 
  • #11
I don't have a printer on this computer
 
  • #12
Woopydalan said:
I don't have a printer on this computer

It only looks like a printer. You "print" the webpage to the PDF "printer" and it prompts you for a save location. Presto chango, PDF "copy" of the webpage, with layout preserved (this also means you can use Print Preview beforehand to adjust margins and what not).

I've never used Primo PDF, but the completely free PDFcreator is what I use most of the time (the only caveat is that you have to change the paper size from A4 to letter, presuming you're an American):
http://www.pdfforge.org/pdfcreator
 
  • #13
Woopydalan said:
I don't have a printer on this computer

As MATLABdude wrote it is not a physical printer, but a virtual device that pretends to be a printer and allows you to save to a file all the commands that would be sent to printer. Later you can either copy a content of the file to the physical printer port (and print it on paper) and use it for any other purpose - like conversion to pdf. Just to convert to pdf you need to prepare a file pretending you are using a postrcript printer, and the Linotronic driver is considered a standard. Or at least it was considered a standard when I needed to convert document to pdf.
 
  • #14
Borek said:
Just to convert to pdf you need to prepare a file pretending you are using a postrcript printer, and the Linotronic driver is considered a standard. Or at least it was considered a standard when I needed to convert document to pdf.

You are a bit out date there. There are several free virtual printer drivers for Windows that produce a PDF in one step. For example CutePDF, PDF995, PrimoPDF, etc, etc. Actually they are all pretty much the same except for the graphics of the user interface, because they they all use the same open-source Ghostscript software to do the work!

What you describe still works, but it's mroe complicated than it needs to be.

AFAIK on Macs this functionality is part of the OS - just use the "create PDF" option instead of "print".

Just be careful when you install them - don't get suckered into paying for a "pro" version that does a lot of other stuff you don't need, and untick the boxes that install search engine toolbars etc. The three I mentioned above are all reputable (non-malware) products, but their authors don't live on fresh air, hence the sales pitch to get you to pay them!
 
  • #15
AlephZero said:
You are a bit out date there. There are several free virtual printer drivers for Windows that produce a PDF in one step.

I know there are virtual printer drivers that produce pdfs directly, but - as you mentioned - they require adding a printer driver that is not built in into Windows. Procedure I described doesn't require that and can be done on any Windows machine without downloading anything.
 
  • #16
I used primoPDF and it wouldn't convert the document. It shows the banner on the top of the website like the logo, but none of the information, and I have no idea how that PDF creator program works, looks not very easy

The website you gave Borek said ''Input file doesn't appear to be a Postscript compatible file''
 
Last edited by a moderator:
  • #17
Woopydalan said:
I used primoPDF and it wouldn't convert the document. It shows the banner on the top of the website like the logo, but none of the information, and I have no idea how that PDF creator program works, looks not very easy

The website you gave Borek said ''Input file doesn't appear to be a Postscript compatible file''

View your transcript in Firefox. Go to the File menu (or Firefox menu) and select "Print...". A window will come up to allow you to set your print options. The first option should be "Printer Name:" with a drop-down list of "printers" to choose from, even if no physical printer is attached. What choices are listed on this menu?
 
  • #18
Microsoft XPS writer, PDFCreator, PrimoPDF. PDF Creator gives an error, PrimoPDF doesn't work either, and I had been using Microsoft XPS writer before all this stuff happened
 
  • #19
OMG it worked! WOohoo! The primo worked jk hehe

I have a transcript from 2 different colleges, is there a way to combine both onto the same PDF?
 
  • #20
Woopydalan said:
OMG it worked! WOohoo! The primo worked jk hehe

I have a transcript from 2 different colleges, is there a way to combine both onto the same PDF?

It looks like you need the professional version of PrimoPDF to combine documents. PDFCreator supports combining two documents, though: http://www.pdfforge.org/content/combine-documents .
 
Last edited by a moderator:
  • #21
Combining Documents using PDFCreator:
http://www.pdfforge.org/content/combine-documents

So open and print both transcripts in Adobe or FoxIt Reader. But philosophically, and assuming you're sending an e-mail to someone, why join both transcripts rather than having two clearly delineated transcripts from two different institutions?
 
Last edited by a moderator:

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K