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

SAP Script print preview and logo

Former Member
0 Likes
1,348

In my SAP Script, when I do print preview I can see all

the data on the screen that will be printed on paper. Once I include the logo in the SAP script using the "/: Include XXXXXXX" command, the print preview displays the logo but stops displaying some other data which it displayed before logo was included.

However, when I print, I can print all the data including the logo. Does anyone know why inclusion of logo on the SAP Script prevents some of the data from displaying on the print preview screen.

8 REPLIES 8
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,101

You logo window is too big. Make the window that your logo resides in smaller, like 2 inches by 2 inches. What is happening is that your window with your logo in it, is over top of the rest of the form.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
1,101

Are you using the same device for print preview as well as actual print . The size / placing of text etc depends on the device which is used to format the output .

Cheers.

Read only

0 Likes
1,101

Sanjay : Yes, I am using the same output device for print preview and actual print.

Rich: My logo window is not too big. It is 3 cm x 3 cm

Read only

0 Likes
1,101

HI Vinay,

Can you tell us how big is the logo?

Ravi

Read only

0 Likes
1,101

Vinay-

This may sound funny but I have faced this before and I think its the way the objects are rendered on the screen.

Try renaming your window containing the logo to 'A..something' so that it gets pushed up to the Top in the list of page windows you have . The windows are displayed in the alphabetic order (exception Main window) and since your logo window appears first, it will get rendered first.

Again, there is no logical reasoning for this except that it worked for me once. Try it out if you are keen to solve this issue and keep us posted.

KK

Read only

Former Member
0 Likes
1,101

Hi Vinay,

Why dont you up your logo through SE78.

In SE78>graphics->bmp...there you need to give the path thats it.

I hope it will work.

Thanks.

Read only

Former Member
0 Likes
1,101

Sanjay, Rich, Ravi, KK, Deepak :

Thank you all for your help. I found the problem and the solution also. The logo itself was very big. That was why it masked the rest of text in print preview. Because of its white background it was difficult to make out that the white part too was part of the logo. We had the logo trimmed to show only the text part and uploaded it again. It works now.

Vinay

Read only

0 Likes
1,101

Yes, I think that is what I meant to say in the above post. Sorry for the confusion. I actually had the same problem before. I really should have put a little more time into your question. Could have saved you some time. Again, my apologies.

Glad that you worked it out.

Regards,

Rich Heilman