PDA

View Full Version : ساخت پرینتر مجازی با دلفی



Mask
یک شنبه 26 شهریور 1391, 12:46 عصر
با سلام
از دوستانی که در این رابطه اطلاعاتی دارند ، تقاضای کمک دارم.
بنده میخام یه پرینتر مجازی بنویسم که در لیست پرینترها قرار بگیره و هر سندی رو که بهش دادم فقط به Pdf تبدیل کنه و در محل مشخصی ذخیره کنه.
علت استفاده نکردن از پرینترهای مجازی آماده اینه که بنا به نیازم باید مدیریت پرینتر دست خودم باشه.
پیشاپیش ممنون از راهنماییتون.

mohsen24000
یک شنبه 26 شهریور 1391, 13:26 عصر
کامپوننتهای زیادی برای تبدیل اسناد به pdf وجود داره و لزوما نیازی به پرینتر مجازی نیست!
برای مثال:
EMS Advanced Data Export VCL

Advanced Data Export VCL is a component suite for Borland Delphi and C++‎‎‎‎‎ Builder that allows you to save your data in the most popular data formats for the future viewing, modification, printing or web publication. You can export data into MS Access, MS Excel, MS Word (RTF), Open XML Format, Open Document Format (ODF), HTML, XML, PDF, TXT, DBF, CSV and more! There will be no need to waste your time on tiresome data conversion - Advanced Data Export will do the task quickly and will give the result in the desired format.

eDocEngine RegPro

eDocEngine VCL is a comprehensive e-document creation component suite for Delphi™ and C++‎‎‎‎‎Builder®. eDocEngine can create documents in clipboard, PDF, RTF, HTML, XHTML, EXCEL, TEXT, CSV, Quattro Pro, LOTUS 1-2-3, DIF, SYLK, TIFF, PNG, SVG (XML-based vector graphics), JPEG, GIF, BMP, EMF and WMF formats. eDocEngine ships with ready-to-use Report-Export interfaces that tightly integrate with popular Delphi reporting tools such as ReportBuilder, FastReport, Rave, QuickReport, and Ace Reporter. Using eDocEngine Report-Export interfaces, you can directly export reports to PDF and other formats without having to write any code.


TExtraDevices
Welcome to TExtraDevices! Once installed, you can easily export your reports
to Lotus, Quattro, Excel, Bitmap, JPEG, HTML, XHTML, PDF, TIF, RTF and Dot
Matrix formats.

The devices have been developed to be as simple to use as possible. For
most reports and devices no report modifications are necessary. Just drop
one component on the main form and all reports in your project will have
the new formats available.

Features:
No external libraries or dll's needed
No runtime license fees
Full source is included with registered version
Drop one component on your main form and every report in your project has the ability to export!
Export reports to HTML, XHTML, RTF, PDF, XLS, BMP, JPEG, TIFF, WMF, WQ1, WK1 & Dot Matrix
Send reports directly to memory streams (Great for web apps!)
Select which report objects to export to each device
Control which formats are available at design/runtime

Mask
یک شنبه 26 شهریور 1391, 13:45 عصر
ممنون دوست من.
اینارو بلدم.
من که نمیخام از برنامه خودم چیزی رو تبدیل به pdf کنم.
من میخام مثلا کاربر خواست یه فایل ورد پرینت بگیره از پرینتر من استفاده کنه.
یا یه صفحه وب یا هر چیز دیگه ای.

MohsenB
یک شنبه 26 شهریور 1391, 13:53 عصر
سلام

امیدوارم این بتونه کمکنون کنه :
http://www.colorpilot.com/emfprinterpilot.html

موفق باشید

Mask
یک شنبه 26 شهریور 1391, 22:18 عصر
ممنون داداشم.
اینم قبلا دیده بودم. فوق العادست دقیقا همونیه که من میخام. اما 2 تا مشکل داشت واسه همینه که نتونستم ازش استفاده کنم و بیخیالش شدم.
مشکل اولش اینه که نسخه ای که تو سایتش گزاشته تریاله و وسط صفحه فایل pdf آرمشو میندازه و نتونستم نسخه فولش رو از جایی گیر بیارم.
مشکل بعدیش اینه که سمپلهاشو دیدم اما نتونستم چیزی ازش سر در بیارم و باهاش کار بکنم.
ممنون میشم در مورد همین برنامه بیشتر توضیح بدید. آیا خودتون تا حالا ازش استفاده کردید؟
اگه بشه باهاش کار کرد بهترین گزینست.
ممنون از وقتی که گزاشتید.