How can codejock report be sent to printer ?

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
unixkd
Posts: 565
Joined: Thu Feb 11, 2010 1:39 pm

How can codejock report be sent to printer ?

#1 Post by unixkd »

Hi all

How can codejock report be sent to printer ?

Thanks

Joseph

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: How can codejock report be sent to printer ?

#2 Post by rdonnay »

What kind of report are you talking about?
The eXpress train is coming - and it has more cars.

User avatar
unixkd
Posts: 565
Joined: Thu Feb 11, 2010 1:39 pm

Re: How can codejock report be sent to printer ?

#3 Post 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

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: How can codejock report be sent to printer ?

#4 Post by rdonnay »

Try this:

Code: Select all

oReport:printReport(0)
The eXpress train is coming - and it has more cars.

User avatar
unixkd
Posts: 565
Joined: Thu Feb 11, 2010 1:39 pm

Re: How can codejock report be sent to printer ?

#5 Post 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

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: How can codejock report be sent to printer ?

#6 Post by rdonnay »

This might work:

Code: Select all

oReport:printOptions:formatString := 'My Report Title'
The eXpress train is coming - and it has more cars.

User avatar
unixkd
Posts: 565
Joined: Thu Feb 11, 2010 1:39 pm

Re: How can codejock report be sent to printer ?

#7 Post by unixkd »

Hi Roger,

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

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

Joe

User avatar
unixkd
Posts: 565
Joined: Thu Feb 11, 2010 1:39 pm

Re: How can codejock report be sent to printer ?

#8 Post 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

User avatar
unixkd
Posts: 565
Joined: Thu Feb 11, 2010 1:39 pm

Re: How can codejock report be sent to printer ?

#9 Post 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
Attachments
ReportSample_18674.zip
CJ Report Sample
(1.32 MiB) Downloaded 670 times

Post Reply