addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrosseditemptyheartfacebookfolderfullheartglobegmailgoogleimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

Re: [php-360] Html til pdf og word

From: Johan B.
Sent on: Sunday, September 19, 2010 8:18 PM
Tak for di svar jeg f?et, jeg vil absolut kigger n?rmere p? wkhtmltopdf. Og wor er m?ske ikke meget at g?re ved, hvis der ikke er en open standard for docx som noglen har en php classe for.

/Johan

2010/9/19 Jacob Oettinger <[address removed]>
Hej igen

S? fik jeg testet lidt p? nyeste version af wkhtmltopdf og det ser ikke ud til der l?ngere er problemer med afstanden mellem bogstaver.?

Jacob

On Sep 19, 2010, at 17:04 , Jacob Oettinger wrote:

Hej
Vi har v?ret ret glade for dompdf, og er generelt imponeret over hvor god den er til at forst? html og css, n?r man t?nker p? at det er en html parser implementeret i php. Har ikke oplevet nogen problemer med st?rrelsen p? tekst, den g?r nogenlunde hvad den f?r besked p?.?Til geng?ld bruger den forholdsvis meget ram ved store dokumenter - og den er en smule langsom.

wkhtmltopdf (http://code.google.com/p/wkhtmltopdf/) ser meget lovende ud. Sidst jeg pr?vede den var der problemer med afstanden mellem bogstaver i tekst. Men n?r de f?r l?st det g?tter jeg p? det bliver et af de bedste html -> pdf biblioteker.

Jacob

On Sep 17, 2010, at 20:51 , Johan B?ckstr?m wrote:

Hej alle

Jeg s?ger en m?de at i php lave en pdf-side fra html og et word-dokument fra html.

Jeg har kigget p? nogle l?sninger bland andet f?ljende der laver en wordfil udt fra headers. Men det tar ikke css og bileder med i dokumentet.

header("Content-Type: application/vnd.ms-word");
header("Expires: 0");
eader("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("content-disposition: attachment;filename=MyDocument.doc");

N?r det g?lder pdf s? har jeg kigget p? flere bibloteker s?den som dompdf og tcpdf. Men jeg er ikke tilfreds med resultaten, der er stor forskel p? st?relsen p? teksten. Normal text bliver s? lille at men nesten kun ser en linie.

Er der noglen der har brugt nogle gode php-biblioteker eler nogle script i linux man kan sende datan til for at konvertere filer til pdf og word?

--
Mvh / Johan

Johan B?ckstr?m
Thomsons v?g 18
[masked] Malm?
SWEDEN
Phone: [masked]
www.front-it.com
www.johanbackstrom.se
www.citypolarna.se




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Johan B?ckstr?m ([address removed]) from The Copenhagen PHP Meetup Group.
To learn more about Johan B?ckstr?m, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Jacob Oettinger ([address removed]) from The Copenhagen PHP Meetup Group.
To learn more about Jacob Oettinger, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Jacob Oettinger ([address removed]) from The Copenhagen PHP Meetup Group.
To learn more about Jacob Oettinger, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]



--
Mvh / Johan

Johan B?ckstr?m
Thomsons v?g 18
213 73 Malm?
SWEDEN
Phone: [masked]
www.front-it.com
www.johanbackstrom.se
www.citypolarna.se

Our Sponsors

  • Eye4web

    Lokation + drinks & snacks

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy