hi everyone i'm using vb6 and crystal 8.0. i'm beginer of crystal rport 8. my problem is how to set the papersize, paperorientation, papermargin, printerdriver and prntername in visual basic using crystal report v8.0 and ofcourse to get the reportsource :)...? i really really really appreciate your help.. thanks a lot in advance. :)
AtzOpen report. Goto File--> Printer Setup and set the properties.
Madhivanan|||i downloaded some sample code about crystal report 8... "SimpleReport"
when i load the file the error message will appear "Error during load. "C:\SimpleReport\CrystalReport1.log' for details'" second error will appear "CrystalReport1.dsr could not be loaded"
this is the top code in the program :
*******************START HERE******************
Option Explicit
Dim m_Report As New CrystalReport1 ' Create a new instance of the Crystal Report
Dim m_RS As New ADOR.Recordset ' Create and ADO record set
*******************END HERE******************
when i run the my program there is an error message "Compile error: User-defined type not defined" and it will hight light the m_Report As New CrystalReport1...
actually when i copy this code from someone then when i rewrite the sentence "Dim m_Report As New" there is CrystalReport1 options.. how can i solve this program? thanks
Showing posts with label crystal. Show all posts
Showing posts with label crystal. Show all posts
Tuesday, March 20, 2012
Friday, March 9, 2012
Problem with report-printer
In the vb program, whenever user click on a button, the crystal report should open in preview mode. But, it throws an error saying 'could not get the printer information'. Machine on which program runs has the default printer set on it. I am using crystal report version 7. How can this be resolved?Set the Printer again and see
Problem with report.papersize when printing in crystal report
Hi, i have a problem with report.papersize when printing in crystal report.
at first i'm using crpaperfolio value for used with printer that has default folio setting..
but yesterday the printer was replaced by printer which don't have default folio setting..so when i print the result is not good (not full)...
i already change the report.papersize property value with crdefaultpapersize but it still the same (not good), but if i change the value to crPaperLegal then the result is good.
my question is how to make my report papersize to be dynamic and doesn't have to change the papersize property manually?? like my problem above.(folio -> legal).
thanks alot.please, any suggestion or information are needed..
thanks.
at first i'm using crpaperfolio value for used with printer that has default folio setting..
but yesterday the printer was replaced by printer which don't have default folio setting..so when i print the result is not good (not full)...
i already change the report.papersize property value with crdefaultpapersize but it still the same (not good), but if i change the value to crPaperLegal then the result is good.
my question is how to make my report papersize to be dynamic and doesn't have to change the papersize property manually?? like my problem above.(folio -> legal).
thanks alot.please, any suggestion or information are needed..
thanks.
Saturday, February 25, 2012
Problem with Printing of Crystal Report
Hello
I have an application which uses crystal reports.
Only the runtime dll's are shipped with the application in order to design and also print.
I'm unable to print the report .I guess some mandatory runtime dll's are missed
to ship with the application.
Can anyone help me out in listing all the runtime dll's used for crystal report printing? I use Crystal report 9.0 version dll's.
If I install crystal reportDesigner, then the print option works.
Regards
PallCrystal Reports 8.5 comes with a file called runtime.hlp that lists all the runtime files needed and (I believe) their dependencies. Maybe version 9 has something similar?
I use InstallShield to create my Setups. There's a download for InstallShield that will add all the MergeModules for Crystal Reports. (A MergeModule is a collection of system files and their dependecies.) You just check off the ones you need and it takes care of installing all the dependency files.|||Open your crystal reports in EDIT mode and open the printer / printing options. Uncheck the NoPrint option.
This problem is with CR 8.0.
I have an application which uses crystal reports.
Only the runtime dll's are shipped with the application in order to design and also print.
I'm unable to print the report .I guess some mandatory runtime dll's are missed
to ship with the application.
Can anyone help me out in listing all the runtime dll's used for crystal report printing? I use Crystal report 9.0 version dll's.
If I install crystal reportDesigner, then the print option works.
Regards
PallCrystal Reports 8.5 comes with a file called runtime.hlp that lists all the runtime files needed and (I believe) their dependencies. Maybe version 9 has something similar?
I use InstallShield to create my Setups. There's a download for InstallShield that will add all the MergeModules for Crystal Reports. (A MergeModule is a collection of system files and their dependecies.) You just check off the ones you need and it takes care of installing all the dependency files.|||Open your crystal reports in EDIT mode and open the printer / printing options. Uncheck the NoPrint option.
This problem is with CR 8.0.
Problem with printing bank bills
Hi everybody,
I have done a Crystal Report document with the heigth of a bank bill, with the option of printing in a continuous paper in a matrix printer.
Then I create a PDF document, but when I print them, at the end of each page of the PDF document, i have a blank. And this blank is what moves the next bills to another position and here it is the problem. I don't know why is this blank.
I have search in internet but i don't know what to do. I have done all in c# language.
Is there anyone who has printed bank bills with c#? Any ideas?
Thanks.Try Suppressing footers if data is not there to display.
I have done a Crystal Report document with the heigth of a bank bill, with the option of printing in a continuous paper in a matrix printer.
Then I create a PDF document, but when I print them, at the end of each page of the PDF document, i have a blank. And this blank is what moves the next bills to another position and here it is the problem. I don't know why is this blank.
I have search in internet but i don't know what to do. I have done all in c# language.
Is there anyone who has printed bank bills with c#? Any ideas?
Thanks.Try Suppressing footers if data is not there to display.
Subscribe to:
Posts (Atom)