cancel
Showing results for 
Search instead for 
Did you mean: 

Sapscript - Printing multiple labels in same page

Former Member
0 Kudos

Dear Abapers,

I need print mutiple labels in same page with Sapscript,

I create ten Main windows in my page, from Main0 at Main9,

five lines and two columns.

When I print up to one, it is printed in diferent pages.

I need print all in the same page. What can I do ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Have you assigned all the main windows to the same page?

Regards,

Satish

Former Member
0 Kudos

Hi Satish, I have assigned all in main window.

I have ten main windows in same page, I created two columns and five lines.

I folow the pass Edit->Window->Create->Label, and the Sapscript editor create the copies of Main window.

When I send print, the pogram print windows in diferent pages.

Former Member
0 Kudos

in the print program are you calling the write_form for same page??

check if your other labels are exceeding the given space...if so try to resize your windows...then it might not overflow to next page...

Answers (1)

Answers (1)

Former Member
0 Kudos

For knowled to every body:

I solved my problem creating all windows instances in same page, in sapscript editor, in graphic mode, I choose Process->Window->Create->Labels. The sapscript editor created various copies of MAIN WINDOW.

In my program I called the function WRITE_FORM into the loop structure with DO command, how many times the user set to print labels.

The labels was printed according with number of windows it needed.

Thanks to all.

Message was edited by: Alipio Machado

Alipio Machado