PDA

View Full Version : TCPDF



cybercoder
جمعه 26 مرداد 1386, 22:54 عصر
توسعه داده شده ufpdf امکانات جالبی مثل اضافه کردن تصویر logo‌بارکد و ... رو هم به شما می ده و حتی html‌رو خروجی می ده. متاسفانه مشکلش اینه که Direction‌رو درست انجام نمی ده مثل بقیه ولی alignment و ... همه درسته.
نیاز به فونت ufm‌خاصی هم نداره چون خودش کامل کلیه فونت های Unicode‌رو همراهش داره و مشکل Reverse‌شدن وا‍ژه های فارسی هم با همین پرو‍ژه Persian_log2vis آقای امیدخان متقی حل می شه.

اینم آدرس دانلودش
http://tcpdf.sourceforge.net

امیدوارم بدردتون بخوره

موفق باشید.

cybercoder
شنبه 11 آبان 1387, 09:32 صبح
نگارش جدیدش دو یا سه روز پیش release شد. در این نگارش کلیه مشکلات فارسی حل شده امکان RTL نیز فراهمه ، سایز فایل های خروجی معقوله ، نیاز به persian_log2vis دیگه نیست و ...
در مجموع TCPDF هم اکنون ایده آله

vahid4134
شنبه 11 آبان 1387, 16:48 عصر
بازم fribidi می خواد؟

cybercoder
یک شنبه 12 آبان 1387, 13:47 عصر
Main Features:

no external libraries are required;
supports all ISO page formats;
supports UTF-8 Unicode and Right-To-Left languages;
supports document encryption;
includes methods to publish some HTML code;
includes graphic and transformation methods;
includes bookmarks;
includes Javascript and forms support;
includes a method to print various barcode formats;
supports TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;
supports custom page formats, margins and units of measure;
includes methods for page header and footer management;
supports automatic page break;
supports automatic page numbering and page groups;
supports automatic line break and text justification;
supports JPEG and PNG images whitout GD library and all images supported by GD: GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM;
supports stroke and clipping mode for text;
supports clipping masks;
supports Grayscale, RGB, CMYK, Spot colors and transparency;
supports links and annotations;
supports page compression (requires zlib extension);
supports user rights management so Adobe Reader users can save filled-in copies of forms they complete.

delphi77
یک شنبه 12 آبان 1387, 16:15 عصر
و حتی html‌رو خروجی می ده.

من که چیزی ندیدم چطوری می شه؟

cybercoder
یک شنبه 12 آبان 1387, 17:10 عصر
http://www.tecnick.com/pagefiles/tcpdf/doc/com-tecnick-tcpdf/TCPDF.html#methodwriteHTML

delphi77
دوشنبه 13 آبان 1387, 10:00 صبح
ولی پارامتر های آن یک محتوای html ای را نیاز دارد و نه یک آدرس html

و آیا می شه یک صفحه Php را به آن داد یا خیر

vahid4134
دوشنبه 13 آبان 1387, 10:24 صبح
شما می تونید با file_get_content اطلاعات صفحه رو بگیرید و داخل یک متغیر بریزید و بعد استفاده کنید

delphi77
دوشنبه 13 آبان 1387, 12:09 عصر
file_get_content

این تابع دیگه چیه؟ جز توابع php یه؟ من نمی شناسمش!

musiox
دوشنبه 13 آبان 1387, 15:00 عصر
http://www.php.net/file_get_contents

delphi77
دوشنبه 13 آبان 1387, 15:37 عصر
دستت درد نکنه که جوابم را دادی

با جاوااسکریپت نمی شه سرو ته اش را هم اورد

من روی سیستمی که می خواهم این کار را بکنم آکروبات دارم

delphi77
دوشنبه 13 آبان 1387, 16:50 عصر
من از تابعی که نوشتید استفاده می کنم ولی ببین چه اروری می ده


Warning: file_get_contents(http://www.google.com) [function.file-get-contents]: failed to open stream: HTTP request failed! in D:\xampp\htdocs\html2pdf\exemples\exemple09.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\html2pdf\exemples\exemple09.php:49 ) in D:\xampp\htdocs\html2pdf\_fpdf\fpdf.php on line 1019
FPDF error: Some data has already been output, can't send PDF file