2007 Jul 07 7:36 AM
Hi all
I have a Report and when i print the report am getting the output in a ver small font size.I need to increase the size of the Font in my print statment...Pleae help me...i Used the following two methods but its NOT WORKING
i) I used the customizing layout option but am not getting it.
ii) I used the following program but am getting the error "NEW-PAGE PRINT ON" should no longer be used to generate a print dialog box..
REPORT zprinttest NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.
NEW-PAGE PRINT ON.
PRINT-CONTROL FONT 1 LPI 6.
WRITE: / 'font 1 lpi 6'.
PRINT-CONTROL FONT 2 LPI 6.
WRITE: / 'font 2 lpi 6'.
PRINT-CONTROL FONT 3 LPI 6.
WRITE: / 'font 3 lpi 6'.
NEW-PAGE PRINT OFF.
Please help
Vijay
Hi all
I have a Report and when i print the report am getting the output in a ver small font size.I need to increase the size of the Font in my print statment...Pleae help me...i Used the following two methods but its NOT WORKING
i) I used the customizing layout option but am not getting it.
ii) I used the following program but am getting the error "NEW-PAGE PRINT ON" should no longer be used to generate a print dialog box..
REPORT zprinttest NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.
NEW-PAGE PRINT ON.
PRINT-CONTROL FONT 1 LPI 6.
WRITE: / 'font 1 lpi 6'.
PRINT-CONTROL FONT 2 LPI 6.
WRITE: / 'font 2 lpi 6'.
PRINT-CONTROL FONT 3 LPI 6.
WRITE: / 'font 3 lpi 6'.
NEW-PAGE PRINT OFF.
Please help
Vijay
2007 Jul 07 11:09 AM
Hi
Changing the fonts in Print using ABAP is not possible. as basic report output is a text editor.
By changing "Customizing of Local Layout" will only change in display screen and not in print.
One possible way to create a new printer formatr thry SPAD and use that format in while printing.
to know more details about SPAD
Using SPAD - SAP Spool Administration to print different paper size
The SAP spool system manages its own output devices. This includes mostly printers, but also fax and archiving devices. In order for you to use output devices defined in your operating system from the SAP System, you must define these devices in the SAP spool system.
Print to a dot matrix printer using computer paper with 66 lines
Define paper types
Formatting process Z_60_135
Page format DINA4
Orientation tick both Portrait and Orientation
Type in the comment and click save
Device initialization
Device type - OKI341
Formatting process Z_60_135 then click Execute
Double click Printer initilization
You must key the 66 lines hexadecimals for your printer. ( line no 9)
1 # oki341 x_paper
2 # reset
3 # \e\0x40
4 # select codepage multilingual 850
5 \e\0x52\0x1a
6 # disable skip perforation mode
7 \e\0x4f
8 # select 6 lpi
9 \e\0x32
10 # select page length 66 lines (66=hex $42)
11 \e\0x43\0x42
12 # select 10 cpi font
13 \e\0x60
CHECK THIS LINKS
http://help.sap.com/saphelp_nw04s/helpdata/en/df/abbb3f8e236d3fe10000000a114084/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/5a/4df93bad37f87ae10000000a114084/content.htm
http://www.geocities.com/SiliconValley/Grid/4858/sap/Basis/printprobs_solutions.htm
Reward all helpfull answers
Regards
Pavan
2007 Jul 07 10:15 PM
Hi
You can't change the FONT size in the reports output for sure
Reward points for useful Answers
Regards
Anji
2007 Jul 08 2:31 PM
Hi,
at the time of installation System admin(basis) people can configure the sap as per sap standards whatever the software provided. in Reporting might be is the small issue to do not change the font size but we can increase the lise feedings.
But normal laser printer doesnt support to increase your font size. you can use specialized industrial printers to increase while printing by selecting the properties.
points add helpful
sekhar
2007 Jul 09 4:56 AM
ii) getting the error "NEW-PAGE PRINT ON" should no longer be used to generate a print dialog box..
<b>it is not the error it is warning you can omitt it and activate ....</b>
see the example :
REPORT ZFONT NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.
* Start of print-control
NEW-PAGE PRINT ON.
PRINT-CONTROL FUNCTION 'SF000'.
WRITE: / 'This is CPI 20'.
SKIP.
PRINT-CONTROL FUNCTION 'SF020'.
WRITE: / 'This is CPI 6'.
SKIP.
PRINT-CONTROL FUNCTION 'SF008'.
WRITE: / 'This is CPI 12'.
* Depending on your SAP printer device, this may also work
PRINT-CONTROL FONT 1 LPI 6.
* you can try to change font and LPI numbers
WRITE: / 'font 1 lpi 6'.
PRINT-CONTROL FONT 2 LPI 6.
WRITE: / 'font 2 lpi 6'.
PRINT-CONTROL FONT 3 LPI 6.
WRITE: / 'font 3 lpi 6'.
* End of print-control
NEW-PAGE PRINT OFF.
*--- End of Programreward points if it is usefull
Girish
2007 Jul 09 4:26 PM
Hi,
Pls try using SE71 form painter and there's an option to increase or change character font and type for the tab character/paragraph.
Pls reward points.
Regards,
Ameet
2007 Aug 09 12:50 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |