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

saps cript question

Former Member
0 Likes
591

Hi folks,

I have a question related to updating the image file on the sapscript form. I have a new image file .tiff file that I updated using RSTXLDMC for the required text element. when I did the testing, ran the sap script the new image file did not show up on the print out.

The new file is of the same size and resolution,

The file path I gave was from the local drive.

Am I missing somethin here?

Any thoughts would be really helpful.

Thanks,

Sk

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
560

Hi,

do like this

To create a logo in SAP printouts just do the following

1. Save a Logo using Imaging, Paint shop Pro or Corel Draw as Tiff file.

2. Run program RSTXLDMC and enter the following parameters

Enter file name C:\COMPLOGO.TIF

UOM CM

Line width for text 132

Text name ZHEX-MACRO-COMPLOGO

Text ID ST

Text language = E

Number of Tiff gray levels (2,4,9) 2

3. Then Create a new window 'COMP' with attributes;

Window COMP description Company Logo

Left margin 7.00 CH window width 10.00 CH

Upper margin LN window height 8.00 LN

Finally in the text element, mention

/: INCLUDE 'ZHEX-MACRO-COMPLOGO' OBJECT TEXT ID ST LANGUAGE 'E'.

Please note that if object name is not indicated as 'ZHEX...’ the logo may not be printed!

You will not be able to see the logo in a test print. The same will be printed in actual printout.

reward if useful.

regards,

Anji

4 REPLIES 4
Read only

Former Member
0 Likes
561

Hi,

do like this

To create a logo in SAP printouts just do the following

1. Save a Logo using Imaging, Paint shop Pro or Corel Draw as Tiff file.

2. Run program RSTXLDMC and enter the following parameters

Enter file name C:\COMPLOGO.TIF

UOM CM

Line width for text 132

Text name ZHEX-MACRO-COMPLOGO

Text ID ST

Text language = E

Number of Tiff gray levels (2,4,9) 2

3. Then Create a new window 'COMP' with attributes;

Window COMP description Company Logo

Left margin 7.00 CH window width 10.00 CH

Upper margin LN window height 8.00 LN

Finally in the text element, mention

/: INCLUDE 'ZHEX-MACRO-COMPLOGO' OBJECT TEXT ID ST LANGUAGE 'E'.

Please note that if object name is not indicated as 'ZHEX...’ the logo may not be printed!

You will not be able to see the logo in a test print. The same will be printed in actual printout.

reward if useful.

regards,

Anji

Read only

Former Member
0 Likes
560

Hi,

Upload the Logo using RSTXLDMC, then in the script, Insert --> Graphics , then here give the name of the graphics and activate it

Regards

Sudheer

Read only

0 Likes
560

I shall get back to you on this and award the points.

Thanks

Sk

Read only

0 Likes
560

Thanks guys,

The problem was with the resolution of the image. Shall award points.