‎2005 Aug 03 12:36 PM
‎2005 Aug 03 1:06 PM
Hello Yoshi,
You should be a bit more specific: What do you want to print Smartform, Sapscript, ABAP-list.....
Kind regards,
John.
‎2005 Aug 03 2:35 PM
Hi,
John, I did check the tables and it seems to be ok. BTW I'm starting to think it's not the way to go, I don't want it to be printer-specific.
Joseph, Your lovely example did print a lot of "Hello"s, unfortunately they all are in same size.
If you have any other ideas about printing reports with deferent letter sizes please let me know.
Thank You.
‎2005 Aug 03 1:09 PM
It's an ABAP list. I want it to be printed with large letters and/or bold font.
I'm using print-control but it's not helping.
Thanks.
‎2005 Aug 03 1:26 PM
Hi Yoshi,
Did you check tables TSP03 and T022D for the specific printer and font code? Only if an entry is available in both tables the PRINT-CONTROL will work, otherwise it is ignored completely.
Kind regards,
John.
‎2005 Aug 03 1:42 PM
U can use colors and background.
But i dont think u can change the font in an abap list.
‎2005 Aug 03 1:56 PM
hi yossi,
try this report and let me know what happened:
DATA: it_prnt LIKE t022d OCCURS 0 WITH HEADER LINE.
SELECT * INTO CORRESPONDING FIELDS OF TABLE it_prnt
FROM t022d
WHERE typ = 'ZHPLJ4PS'.
NEW-PAGE PRINT ON .
LOOP AT it_prnt.
PRINT-CONTROL FUNCTION: 'COL3H' LINE 1,
'COL1V' line 2,
'COLN6' line 3,
'COLN6' line 4,
'COL3H' line 5.
PRINT-CONTROL FUNCTION: 'COL3H'.
WRITE: / 'Hello', it_prnt-prctl.
PRINT-CONTROL FUNCTION: 'COL1V'.
WRITE: / 'Hello', it_prnt-prctl.
PRINT-CONTROL FUNCTION: 'COLN6'.
WRITE: / 'Hello', it_prnt-prctl.
WRITE: / 'Hello', it_prnt-prctl.
PRINT-CONTROL FUNCTION: 'COL3H'.
WRITE: / 'Hello', it_prnt-prctl.
ENDLOOP.
<b>NEW-PAGE PRINT OFF.</b>
Message was edited by: joseph fryda
‎2005 Sep 24 9:51 AM
HI joseph,
please give me a solution.
i developed a layout, which is a pre stationary work, i hav formatted boxes in the papers provided to me and the data from layout should print on the correct positions on paper.
one text field which is of lenght 40 is crossing the box provided to me. I want to change only its font size to smaller so that it can print properly.
how can i do that.hope u understod my probs..
please tell me im in very much need of this req.
waiting for reply
Kumar
‎2005 Sep 24 2:49 PM
Hi Yossi,
I have also tried the above program but i did not worked.
I have read from somewhere that these print control commands dont work in SAP 4.7 . They will work in previous releases of 4.7 but not in this.
I dont know how to do it ?
If anybody know plese share it and I hope whatever the solution will be but it will not be printer specific.
Thanks and regards
Gurpreet Singh