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

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

From: Daniel B.
Sent on: Friday, September 17, 2010 8:59 PM
Jeg har selv brugt http://www.fpdf.org/ til at konvertere html til pdf'er

Mvh
Daniel

Den 17/09/2010 kl. 20.51 skrev "Johan B?ckstr?m" <[address removed]>:

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]

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