It works fine, but the output is cut off at bytes. What is the exact version of CR - In the designer, go to Help About and let me know. Someone marked the answer as answered, which means I cannot award points, but you both deserved it. Not what you're looking for?
|Published (Last):||26 June 2015|
|PDF File Size:||6.28 Mb|
|ePub File Size:||6.21 Mb|
|Price:||Free* [*Free Regsitration Required]|
Hi All, I want to export my crystal report to pdf using vb6. I am using following code. RPT"" frmTsmBill. Earlier we used to export into word using crptWinWord but now i want it in pdf. How can I do it? I use the tool "cutepdfwriter" tool for this Installed it will behave as a printer inside windows.
Choosing this printer will print everything you wish in to a pdf file. It is a free tool and installable even as a domain printer. By far the most easy solution to use. Maintainable and usable for every doc or picture , or what ever , to be printed in a pdf file.
Thank you very much for your reply. Can I get any code reference using cutepdfwriter and vb6? Following is my code line which sets Printer frmTsmBill. The solution I gave is to prevent unneeded code inside progs Since printers are not timeless and mostly maintained by admins, they change names en locations once a while, in which case your program would not work anymore.
So I would like to suggest to let the prog just give a printscreen and let the user send it to the installed pdf writer, in this case the CutePDFWriter printer. With ReportObject??????????? End With????? With objExportOptions??????????? End With??? Export False??? End Sub??? OpenReport ReportFileName, 1??????? End Sub. DeviceName Rep. Port 'Rep. Thank you very much for your code. It was very useful to me.
Now I am able to convert crystal report to PDF. Thank you once again to you and all who replied to my thread Tech Sign In Page. Forgot Password? Don't have an account? Sign up. I am using following code frmTsmBill. Please please help me. Thanks in advance. Regards, Priya. Good morning Prya I use the tool "cutepdfwriter" tool for this Installed it will behave as a printer inside windows. With Kind regards Irineas Ren? February 19, AM. Something went wrong on our end. Please try again later.
Hi Irineas, Thank you very much for your reply. DeviceName How should i use CutePdf in this case? Hi Prya, The solution I gave is to prevent unneeded code inside progs Since printers are not timeless and mostly maintained by admins, they change names en locations once a while, in which case your program would not work anymore.
With kind regards Irineas Developer Crystal-Reports. Syed Ibrahim. Rajasekar Sivaguruvel. February 20, PM. February 23, PM. February 25, AM. Hi preemm, Thank you very much for your code. February 26, AM. Murali nair. Sign In to Post a Comment. Sign In. Hide Comments View Comments.
Looking for more? Search the archive of solutions and how-to's. Ask a new question to a community of peers. How to Change the Value of?
Weekly Email from Excel. Can Access Launch Other Programs?
Subscribe to RSS
A Developer. An Eweek. I've got no error while running the crystal report. Recordset rs1. OpenReport App.
Exporting a Crystal Report to PDF
Export to a Test File
Need to download code? View our list of code downloads. Register Now. View Unanswered Topics. Password Reminder Password Register. February 3rd, , AM.