on 11-25-2006 3:06 AM
Hi frnds,
i want to print 1 tp 100 in sapscript in a single page in a
vertical manner
1 6
2 7
3 8
. .
. .
how will i do it
regards,
karthik
You can create multiple MAIN windows and line them up horizontally. e.g. if you want to have five rows, create five MAIN windows in page window. You can number them and all act as Main but print program accesses from the smaller number.
I used this technique when I developed label printing form. The program can be very simple.
Cheers,
Akio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
good
while designing the sapscript you can design your page with vertical printing, and use PROTECT AND ENDPROTECT statement to print the data into a single page.
for vertical->
Print-control Y1
... Text to print vertical
Print-control Y2
Y1 informs the printer to print the following text vertically and Y2 informs the printer to return to horizontal printing. You'll have to look for the specific print sequences in the documentation of your printer type.
thanks
mrutyun^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this..
Hi,
Print program
-
DATA: V_NEW TYPE XFELD.
DATA: V_LINES TYPE INT4.
LOOP AT ITAB.
AT FIRST.
V_NEW = 'X'.
ENDAT.
V_LINES = SY-TABIX MOD 10.
IF V_LINES = 0.
V_NEW = 'X'.
ENDIF.
CALL FUNCTION 'WRITE_FORM'...
ENDLOOP.
Sapscript form
-
/: IF V_NEW = 'X'
Print the data in a new line for every 4 values..
/ ITAB-DATA
/: ELSE.
/* Print it in the same line
= ,,ITAB-DATA
/: ENDIF
The above logic will work for printing 10 records in a line...
Thanks,
Naren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.