Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sapscript text positionning

Former Member
0 Likes
575

Dear all,

Related to Sapscipts :

Like the command line "Box" (here below), does an instruction exists to specify a position for a text.

/: BOX XPOS '2' CM YPOS '5' CM FRAME 10 TW WIDTH '7.5' CM HEIGHT '0' CM

If not, is it possible to specify a text for the box (by this way we have the text value displayed inside the box drawned) ?

<i>I'am dreaming ?</i>

Already thank's

Nico

4 REPLIES 4
Read only

Former Member
0 Likes
553

Hi,

The texts are displayed based on the paragraph formats.

Svetlin

Read only

0 Likes
553

Hi,

Specify the text first using the paragraph formats by using the default paragraph or creating a new paragraph element. The draw the box using the BOX command.

Regards

Abhishek

Read only

Former Member
0 Likes
553

hi,

BOX WIDTH 182 MM HEIGHT 135 MM FRAME 15 TW

BOX WIDTH 182 MM HEIGHT 6 MM FRAME 15 TW INTENSITY 12

POSITION XORIGIN '0.00' MM YORIGIN '6.00' MM

POSITION XORIGIN '+7.00' CH YORIGIN '-6.00' MM

BOX WIDTH 0 CH HEIGHT 135 MM FRAME 15 TW

POSITION XORIGIN '28.00' CH YORIGIN '0.00' MM

,,CANTIDAD/QTY.,,DESCRIPCION/DESCRIPTION,,

then it will come automically under the box

cheers,

sasi

Read only

Former Member
0 Likes
553

Hi,

As per my knowledge there is no command like what you said as we do for frames.

For Text's in X co-ordinates we must define the Tabs for align the text to fit in the box.

And in Y co-ordinates we can use the Super-script and Sub-script options when defigning the Character format.

Code as follows:

/: <K>LINE ITEM</>.......

K is character format.

CHEERS