cancel
Showing results for 
Search instead for 
Did you mean: 

Printing problem in Script

Former Member
0 Kudos

I have copied Page1 as Page2 in script. I gave command like this in page1 main window

/: IF &PAGE& = '1'

/: NEW-PAGE PAGE2

/: ENDIF

But its printing page1 properly, for page2 main window values are not printing.

I would like to print page1 same as page2 also.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

The data will be printed only when internal table has data to be printed in the next page.

If you want to print the same data in the next page you dont need to create page2 instead fill the internal table twice with same data.

Or let me know your requirement

Reward popintys if useful.

Regards,

Nageswar

Former Member
0 Kudos

when I give print, it has to print 2 copies from TRAY1 and TRAY2 . I have assigned page1 for Tray1 and Page2 for Tray2 in script itself .Both Tray has different kind of paper. pls suggest me how to print?

Former Member
0 Kudos

why do you need to give for two printers?

Regards,

Nageswar

Former Member
0 Kudos

This is actualy for check printing. Tray1 has check paper.Tray2 has Normal bond sheet. one for customer and one for client refernce.

Former Member
0 Kudos

But you cant set two page formats .

You have adjust your printer accordigly.

Regards,

Nageswar

Former Member
0 Kudos

We have the same issue. A print request has 2 pages, 1st page is the actual cheque and the 2 page has details in it.

1st page should print from Tray1 (cheque) and

2nd page should print from Tray2 (details).

Please let me know the solution . Thanks.

Ravi

former_member196280
Active Contributor
0 Kudos

Change the condition like this, it will solve your problem

/: IF &PAGE& = '2'

/: NEW-PAGE PAGE2

/: ENDIF

OR

GOTO next page attributes of page 1 and give next page as PAGE2

Close thread once your question is answered.

Regards,

SaiRam

Former Member
0 Kudos

Hi Ram,

Its printing only one page..I would like to print 2 pages.