473,385 Members | 1,642 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

plz help me how to convert php(or)html to pdf

Hi

i used fpdf class for html to pdf converter.

I generated pdf but it shows without style sheet implementation and
gif images are not show in generated PDF

how to solve gif imge error and style sheet not applicable error...

Please help me...

Thank u...

with regards,
S.Rajkumar..

Aug 7 '08 #1
4 1359
start here http://www.fpdf.org/en/tutorial/index.php

I'm a bit more familiar with ZendPdf so I won't be much use here. If
it's anything like ZendPdf, you'll have to extend it to stylize i.e.
write a few functions or extend ZendPdf with more methods.

I'll see if I can dig up my code for wordwrap and centering text, mid
you it's for ZendPdf but could be modified.
Aug 7 '08 #2
When you can get shell access you can also use xsl-fo to generate PDF
files.
Aug 7 '08 #3
NC
On Aug 7, 12:11 am, Raj Kumar <rajkumar.sa...@gmail.comwrote:
>
i used fpdf class for html to pdf converter.

I generated pdf but it shows without style sheet implementation and
gif images are not show in generated PDF
Check out dompdf:

http://www.digitaljunkies.ca/dompdf/

Cheers,
NC
Aug 7 '08 #4
On Aug 8, 2:33 am, NC <n...@iname.comwrote:
On Aug 7, 12:11 am, Raj Kumar <rajkumar.sa...@gmail.comwrote:
i used fpdf class for html to pdf converter.
I generated pdf but it shows without style sheet implementation and
gif images are not show in generated PDF

Check out dompdf:

http://www.digitaljunkies.ca/dompdf/

Cheers,
NC
Thank u very much for ur reply...

i will try this....
Aug 8 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

60
by: English Teacher | last post by:
Which would be more useful to learn, PHP or COLDFUSION? I know Coldfusion is popular in the work force. Is PHP? Thanks!
21
by: warstar | last post by:
Hello all, I'm in a bit of a problem I'm given a project making an online shopping system for a professional barbershop. But I'm with a small problem in witch language to make the system. My...
10
by: Jon jones | last post by:
I am wondering as broad as it is which language would be better to build a project in PHP or Perl. I don't have any experience of either, just some VB,Fox,C++ and Java.So really I am asking for...
4
by: Lukasz Indyk | last post by:
i want to convert html to image (format of the image does not matter). is it possible in python? or mayby it is possible to convert html first to the postscript, and then postscript to image?
6
by: Els | last post by:
If I use <? include "file.html"; ?> in the html of my document, do I _have_ to change the extension of that document to .php, or would it still work and be valid if I let it remain .html? --...
1
by: oleg_orel | last post by:
I need to access web sites using my scripts written in Perl. I use lynx and elinks to access web pages. It works fine, unless the pages has some Javascript code. Most Javascript stuff is working...
1
by: eastcoastguyz | last post by:
I know that with a web site which is simply .html web pages, it is easy for a bot to spider it and follow links. What about those web sites written in .php or Javascript? How does its content get...
2
by: John | last post by:
Hello, Sorry if this is posted in the wrong area. I have an html file that has a contact form at the bottom. I didn't write the html file, but it appears that I'm missing something to...
1
by: Raj Kumar | last post by:
Hi i used fpdf class for html to pdf converter. I generated pdf but it shows without style sheet implementation and gif images are not show in generated PDF how to solve gif imge error...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.