Page 1 of 1

How can codejock report be sent to printer ?

Posted: Sat May 04, 2013 7:42 am
by unixkd
Hi all

How can codejock report be sent to printer ?

Thanks

Joseph

Re: How can codejock report be sent to printer ?

Posted: Sun May 05, 2013 12:27 pm
by rdonnay
What kind of report are you talking about?

Re: How can codejock report be sent to printer ?

Posted: Mon May 06, 2013 7:00 am
by unixkd
Codejock.ReportControl

Your sample report is displayed in a grid on the screen, can the sam grid report be sent to printer ?

Thanks.

Joe

Re: How can codejock report be sent to printer ?

Posted: Mon May 06, 2013 7:11 am
by rdonnay
Try this:

Code: Select all

oReport:printReport(0)

Re: How can codejock report be sent to printer ?

Posted: Tue May 07, 2013 8:47 am
by unixkd
Thanks Roger.

It worked just fine.

Now I will like to place a report Title at the top of each page, can't find a way to do that.

Joe

Re: How can codejock report be sent to printer ?

Posted: Wed May 08, 2013 9:30 am
by rdonnay
This might work:

Code: Select all

oReport:printOptions:formatString := 'My Report Title'

Re: How can codejock report be sent to printer ?

Posted: Wed May 08, 2013 1:44 pm
by unixkd
Hi Roger,

Thanks. I modified your code as shown below and it works.

oReport:PrintOptions:Header:formatString := 'My Report Title'

Joe

Re: How can codejock report be sent to printer ?

Posted: Thu May 09, 2013 9:19 am
by unixkd
Hi Roger,

I need to Place the company logo (BMP/JPG) on the header of the report and in any row of the report.

Thanks.

Joe

Re: How can codejock report be sent to printer ?

Posted: Thu May 09, 2013 4:21 pm
by unixkd
Hi Roger,

I stumble on this codejock report control sample from codejock forum. It may be exactly what majority of members who are interested in report control may be looking for. If we can have this sample, it will be great.

Note that the sample is based on CJ version 15