cancel
Showing results for 
Search instead for 
Did you mean: 

problem in printing rpr file(.net development)

Former Member
0 Kudos

Dear All,

I have got a emergent problem from my customer.

<Eviroment>

 CrystalReport10.5.37

 VisualStudion2008(C#)

<issue>

When print the rpt,only 20 can be printed but the total is 59.

<details>

The preview is OK.We can see all the pages by preview.

I thought maybe the print memory is too small for printing so many pictures(for 1 report page, there are 3 blob feilds).

What do you think?

Please just help me.

The print method used is below

private void BouhantouKanriDaichoForm_KeyDown( object sender, KeyEventArgs e )

{

if ( e.Control

&& e.KeyCode.Equals( Keys.P ) )

{

crystalReportViewer1.PrintReport();

}

else if ( e.KeyCode.Equals( Keys.Escape ) )

{

this.Close();

}

else if ( e.Control )

{

tmpControl = true;

return;

}

}

Thanks,

Jeff.^^

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

What CR files are you referencing in your app?

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Former Member
0 Kudos

Hi Ludek ,

Thanks for your reply.

I can not open http://twitter.com/SAPCRNetSup, may be it is forbidden in china.^^

What do you mean CR files?

There is no subreport here,just one rpt file but print 100 times for 100 records from sqlserver . And each record has got 3 bolb objects.

I donot know why the number of blob object can affect the number of page that it can print.

For example, if I delete all the blob object ,the rpt print will be OK.(all page can be printed)

Best,jeff

former_member183750
Active Contributor
0 Kudos

Hello Jeff:

First, thank you for the email. Normally, we do not look at the any email material submitted - unless there is a phone case created. E.g.; there are priorities that dictate how to provide help.

In any case, not being able to read Chinese, the XLS and PDF were of not much use to me. However, the .cs file and what you have said in this forum thread, I suspect your issue is that you are not destroying the report objects once you are done with them. However, to provide more help I need to know the files referenced in your project. This means I need to know if you are referencing craxddrt.dll or craxdrt.dll or the crystaldecisions assemblies (e.g.; crystaldecisions.crystalReports.engine.dll, etc.).

Ludek

Former Member
0 Kudos

Hi Ludek,

Thanks for your reply.The files you mentioned have been used.

I think there is no mistake on referencing.(common10win_jp.zip)

So what I am is thinking is whether it relates to the print job limit?

What do you think?

Thanks,

Jeff.

former_member183750
Active Contributor
0 Kudos

Sorry Jeff, but I think language is an issue here. We're not communicating / understanding each other. You may want to try the Japanese forum:

http://forums.sdn.sap.com/index.jspa?categoryID=1#50

See if they can provide more clarity.

Ludek

Answers (0)