Questions tagged [htmldoc]
26 questions
6
votes
1 answer
Repeat thead on each page via htmldoc
I'm trying to figure out how to get a set of table headers to repeat on each page of output from htmldoc. I plugged in the CSS way (below) to see if that would work, but I don't believe htmldoc does much of anything with CSS.
The basic question is:…

Jack M.
- 30,350
- 7
- 55
- 67
3
votes
0 answers
how to install htmldoc on wamp
I want to install htmldoc on wamp. My environnment is apache 2.2, php5.3, windows XP.
I followed the instructions on htmldoc website but it does not work, I think I missed something that is obvious and therefore not said in the doc.
I followed…

mariek
- 426
- 4
- 13
3
votes
1 answer
htmldoc ignoring LC_TIME for date format
I'm running the following Perl code to create a PDF file.
{
local $ENV{LC_TIME} = 'de_DE.utf8';
system qw(htmldoc --quiet --webpage -t pdf --jpeg --no-link --header .D. --footer .D/ --outfile), "$filename.pdf", $filename;
}
It works on my…

seepheart
- 33
- 3
2
votes
1 answer
bad conversion from html to pdf with htmldoc
I'm trying to convert HTML to PDF using htmldoc, but even basic HTML does not convert properly, I have this HTML:
pdf…

boobiq
- 2,984
- 2
- 20
- 27
2
votes
1 answer
PDF export from a Model method using render_to_string
I need to implement a _to_pdf method on my ProjectBill model which generates a PDF of my bill at this place:
/public/xls/bills/project_#{project.number}_bill_#{bill.number}.pdf
My application is using HTMLDoc for generating PDF. I am using Rails…

MrYoshiji
- 54,334
- 13
- 124
- 117
1
vote
1 answer
How to convert html to pdf using shell script
I have written html in shell script and saving that output to output.html and i want convert that output.html to output.pdf and to output.json how to do that?
# |
![]()
ajay juneja
1
vote
0 answers
Export the html to word with headers and footers and images (base64 encoded)I need to export the content of html to word file along with headers and footers and also images.I have used the googoose.js code it works but this is not exporting images,which are base64 images and exporting normal images
![]()
rch
1
vote
2 answers
How to reference a static variable in a HTMLDOC content in PHPHow can I use a
templateize::$subject
in a
$html = <<
![]()
Pentium10
1
vote
2 answers
HTMLDOC does not execute from PHPI am trying to create a PDF from an HTML file from a PHP page (Apache, LAMP) Wierd thing is, when I execute the script from the command line, it works and creates the PDF as expected. However when I browse to the page in my browser, it does…
![]()
Alex Russell
1
vote
1 answer
HTMLDOC - aligning text to bottom of pageI have an html page being generated which creates some dynamic content, gets converted to ps, and sent out via snailmail.
The length of the document depends on how many items are in the dynamically generated list near the beginning of the page. The…
![]()
user1030489
1
vote
1 answer
HTML to PDF content spill over to next pageI am using HTMLdoc to generate PDF out of html but I am facing issue while generating PDF.when the page split happens in the PDF, some of the content will get distributed across the page and we don't have control over that.
lets say you have table…
![]()
Lohith MV
1
vote
1 answer
HTML DOC --logoimageI am trying to put different header and footer images while creating a pdf doc. The problem is i can not insert two different images using --logoimage command. I have tried different ways but have failed. The document which gets created picks up the…
![]()
Ahad Ali
0
votes
2 answers
Convert html to pdf on the fly using Python and HTMLDOCI built a Django application for a client about a year ago. He has now resold the application to some super secret government agency that they won't even tell me the name of.
Part of the application dynamically generates PDF files using the python…
![]()
Nick Hagianis
0
votes
2 answers
Get elements from JSON array to display as a textSo i am trying to get a first_name from JSON object which has array of elements by iterating through it, for example if i type 'Ron' it will display as a text but for some reason I can't get display it as a text unless i send in a respond this…
![]()
Montes
0
votes
1 answer
What is the HTMLDocument function?I have noticed that if you write a program like this:
console.log(document);
It shows [object HTMLDocument].
Then, if you do this:
console.log(HTMLDocument);
it shows this:
function HTMLDocument() {
[native code]
}
So, I am wondering what the…
![]()
JavaCakes
|
---|