Application Development 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: 

PRINT-CONTROL SIZE / PRINT-CONTROL FUNTKION 'SIXXX'

0 Kudos

Hello all,

there is a normal ABAP report that writes with the WRITE command on a form (sheet of paper) .

Now I should make the font smaller on a special block of this form (an address field).

I think I can only use the command PRINT-CONTROL in this case. I tried it with PRINT-CONTROL SIZE xy and PRINT-CONTROL FUNCTION 'SIXXX', but nothing happened.

In the ABAP docu they say that PRINT-CONTROL can only be used together with NEW-PAGE PRINT ON or SUBMIT TO SAP-SPOOL . But it didn't work at all.

A small example:

write: / 'Before print-control.'.

PRINT-CONTROL SIZE 2.

write: / 'After print-control size 2.'.

PRINT-CONTROL FUNCTION 'SI008'.

write: / 'After print-control function SI008'.

Also I use NEW-PAGE PRINT ON nothing happens.

Please, what can I do?

After a long time searching in the internet I didn't found an adequate solution. Can you help me?

5 REPLIES 5

0 Kudos

Anybody with an idea out there?

0 Kudos

If you need different font sizes in the same spool request, I don't know of any solution other than SAPScript or Smartforms.

Rob

0 Kudos

Ok, just a last question:

if i can't change the font size in ABAP, for what is there the PRINT-CONTROL SIZE and PRINT-CONTROL FUNCTION 'SIxxx' respectively?

Thanks for your answer!

Greetings,

KleinerEisbaer

0 Kudos

Somebody who knows something about this PRINT-CONTROL?

What is it good for?