How control ABAP list printout to A5 landscape ?
Dear experts,
Report code:
REPORT zXXXXXXX LINE-COUNT 29 LINE-SIZE 150
NO STANDARD PAGE HEADING.
write: ..........................
I hope printout format is A5 landscape.I already have created format type A5 landscape Z001 and created in Device type CNSAPWIN by SPAD.
Printer initialization:
(# SAPWIN indicatior makes it possible to send via berkeley protocol
\e%SAPWIN%
change WinCharSet to 134
\eW134;
set font name(SimSun)
\eFSimSun;
set orientation(LANDSCAPE)
\ePL
set font size(12.0points)
\eS160X
set vertical spacing(6.5LPI)
\el6.5;
set horizontal spacing(12.0CPI)
\ec18.7;
set top/left margin(1.0cm/1.5cm)
\eMT567;
\eML10;)
But test printout format is A4 landscape.
Could you help me?
Thanks and regards,
Collysun.
Message was edited by: collysun
hi collysun,
After clicking PRINT button, we get some print parameters to be filled. In those parameters, we need to set FORMAT field for getting landscape format.
For portrait, it is by default X_65_132.
Based on the line-size and line-count mentioned in report, while printing, format which is almost matching the requirement is automatically selected.
SPAD is tcode for checking the print formats.
Regards,
Sailaja.
Dont forget to reward points, if the answer helps u.
Similar Messages
-
How to edit font of printer depend on size of abap list report.
Hi all,
How to edit Format type"X_65_255" of HP Laser printer when print out the same preview in abap list?
Example:
I want print as below:
Title of abap list: AAAAAAAAAAAA --> size 15
body of abap list:
colum1 column2 columm3 ---> size 10
s1 cccc bbbb -
> size 10
I need it whenever you find time out of your busy schedule.. Please help me .. Thank you so much.
Edited by: kishan P on Oct 13, 2010 12:02 PMHi,
I have to set font type on matrix printer.
Can You please explain how did you find
\e(s0p24h15v0s0b16602T
for
select arial 24 cpi 15 point normal
As I can see, all the escapes defined in "Printer initialization" are in
\e\0xqw\0xer0x\tz
form, where qw, er, tz are hexa decimal interpretation of escapes from printer manual.
I am confused where did You find annotation such as
\e(s0p24h15v0s3b16602T
Thank you, cheers.
p.s. - if You want me to open another subject with this question so I can express my gratitude, please let me know.
p.s. - in SPAD > Device Type, Print Control tab, we have
SF005 | 1B6B001B4D121B57001B461B35
and I know the
"1B"
stands for
\e
but then at "6b........" I am lost... -
How to debug Abap List in New Debugger?
Hi All
How can we debug the ABAP list in the new debugger? I know that it can be done by switching to old debugger.
Or
Did SAP by any chance missed this option?
Regards,
RupeshYou can just look for this variable (SAPMSSY0)%_LIST
it is an internal table of the current list; double_click on it and you will get a look at the contents of the table
slide your horizontal scroll bar to the right till you get the field LINE . Here we go !
18.08.2011 Progr. ZIPPO_FOR_ALL_SERVICE 1#1########`
##########R
##########R
LH 0400 DE FRANKFURT FRA US NEW YORK JFK 6.162,0000 KM ##########R
LH 0400 DE FRANKFURT FRA US NEW YORK JFK 6.162,0000 KM ##########R
LH 0401 US NEW YORK JFK DE FRANKFURT FRA 6.162,0000 KM ##########R
LH 0401 US NEW YORK JFK DE FRANKFURT FRA 6.162,0000 KM ##########R
Edited by: luciano puppo on Aug 18, 2011 11:36 AM -
How can I control the list of cipher suites offered in the SSL Client Hello message?
I want to limit my browser to negotiating strong cipher suites. I'd like to forbid DES, MD5 and RC4.Set the related SSL3 prefs to false on the about:config page (Filter: security.ssl3.).
*http://kb.mozillazine.org/about:config -
Query on ABAP List Viewer and Table Control?
Hi all,
I was trying to solve the exercises in these areas....but was unable to do as some of the concepts were not clear to me as I'm new to this field.
So Can any one help me out in giving me the Notes or attachments on the ABAP List Viewer(A.L.V.) and Table Control.
My ID: [email protected]
Waiting for a reply...
A New Entrant in ABAP.
Message was edited by:
saikumar bHi saikumar,
I just start to work with Abap too. All links i Know:
http://www.erpgenie.com/abap/controls/alvgrid.htm
http://www.abapfans.hpg.ig.com.br/links.htm
http://abap4.tripod.com/index..html
http://paginas.terra.com.br/educacao/abap/
http://www.sdn.sap.com/
http://www.sap-img.com/
http://www.planetsap.com/Tips_and_Tricks.htm
http://www.abap4.com.br/
http://www.erpgenie.com/sap/abap/index.htm
Good lucky -
how do I uninstall iTunes 12.0 and revert back to version 11.4, version 12.0 takes away the control of lists etc and I want it back
Hi,
Can you please expand on your issue? As far as I can see all the previous functions of 11 are in 12 albeit shown differently. Using get info to edit date is still possible, again it looks and feels different.
JIm -
Print preview in abap list format (OMLV) - Need preview in graphical format
Dear All
I am facing a problem with the print preview. (transaction code OMLV)
When i am clicking on print preview button the system is displaying the output in a ABAP list format.
and also the printout shows only the ABAP content.
Pl. advise on how to view the print preview in a graphical format and not in the ABAP list format and pl. let me know the setting to print the spool in the graphical format.
Thanks,
MaxxHi,
this problem is not only related to warehouse. even the print preview spool for GR/GI slip in t-code SP01 shows as ABAP list and not as graphical screen.
my question is why does the system shows the print preview for spool as an ABAP list instead of graphical view.
pl. advise
Thanks,
Maxx -
Printing a simple abap-list in panel-format (DIN A4)
Hallo Ladies and Gentlemen,
i have a simple abap-list. when i print it, the list will be printed in landscape-format. how can i change it? i have to print it in panel-format.
Thanks a lot,
MarcelHi Marcel,
I think you have to click on the "Full Administration" button t see the option for "Page Formats"...
Also go to transaction SPAD,
in Devices / Servers tab press Output devices button
Double click on the device type of your printer
Press button Formats
and here you get a list of all formats for your printer
Regards,
Abhy -
Hi ,
I want to know how to change font size in ABAP list report.
I want to enlarge the font size.
I have tried print control but it doesn't work.
I have also tried line size and line count
but it can only reduce the font size .
Thanks.
JohnHi Kong,
Try with following example:
REPORT ZFONT NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.
NEW-PAGE PRINT ON.
PRINT-CONTROL FUNCTION 'SF000'.
WRITE: / 'This is CPI 20'.
PRINT-CONTROL FUNCTION 'SF020'.
WRITE: / 'This is CPI 6'.
PRINT-CONTROL FUNCTION 'SF008'.
WRITE: / 'This is CPI 12'.
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'.
End of print-control
NEW-PAGE PRINT OFF.
End of Program
thnks
Anurodh -
Hi expert ,
How to edit font and size in ABAP list ?
Currently, I'm writing code as below but not effect in my ABAP list.
PRINT-CONTROL SIZE 50 COLOR BLUE FONT 20 LPI 10.
WRITE: / ' test font and size'.
pls help me . Thank you so much all.
Edited by: kishan P on Oct 12, 2010 3:32 PMTry with this copied from SAP IMG website
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 Program -
Printing ABAP list in portrate format
Hi,
In one of requirement I wanted to print a report
in portate format on A4 size paper. Report has been created with use of write statement only.
When I checked print properties it shows only standard some page format(all are landscape).I even tried by creating custom portate format for ABAP list.
Please anybody suggest the way to take printout of ABAP list in portrate format.
Thanks in advance,
Amit RHi Amit,
check the line count and line size of your repor. And try with the line size = 80 and line count = 0. Then while printing the page format will be determined based on these variable to print the report.
If the report length is lange then you cannot print in the portate format.
Hope this will help you.
Regards
Satya. -
Abap Lists - Printing - defining font and CPI and applying to printed text
Hi,
I am trying to define some forms for matrix printing. I should change the font type, and CPI.
We will print ABAP Lists.
I see my fonts (courier, 100, 12CPI, Prnt.Ctrl SF005) are defined in SE73.
In SPAD - device type (choose spec. one) u2013 Print Controls (tab) I can see SF005, marked u201EDirectu201C column, as well as u201EHexadecimalu201C. Control Character Sequence is 1B6B001B4D121B57001B461B35.
I can see 31 more SFxxx Print controls here.
How do I apply specific Print Controls (SF005) from this list to a printed document? (I assume this is the list of available prnt.ctrls that can be used for printing, but how do I "select" specific ones and apply them to document print?)
How do I choose u201ECOL0N: Color off, normal fontu201D (intensified OFF u2013 I heard that sap print in bold by default)?
Thanks in advance,
cheers,
Nenad
P.s. u2013 in printer settings the default font is Coourier 10, 12CPI, draft output. If I change this settings on printer directly, no effect is applied on printed documents... Printing from ECC 6.0
Edited by: Nenad Nikolic on Oct 26, 2010 4:49 PM - details...hi again,
more info:
In Formats (Z_fakt1) - Formats (tab): u201EPrinter initializationu201C, I can see some predefined settings, but it is copied from some IBM printer, and I wonder is it correct. There is nothing about font type:
#reset
\e\0x40
select US-ASCII character set
\e\0x52\0x00
set line spacing 6 LPI
\e\0x32
set page length to 12 inch (=72 lines at 6 LPI)
\e\0x43\0x48
cancel bottom margin
\e\0x4F
set left margin to 0
\e\0x6C\0x00
select draft quality
\e\0x78\0x00
select non-proportional spacing
\e\0x70\0x00
cancel condensed printing
\0x12
disable double-width printing
\e\0x57\0x00
select 10 CPI
\e\0x50
Result here is: 11CPI. Bold. Looks like "Times New Roman"
The exact copy from IBM printer is used for another format (Z_fakt2), nothing is different except:
select 12 CPI
\e\0x4D
Result here is: 10CPI. Bold. I am under BIG impression that the font type is different. But it is possible the font looks different just due to a size difference. Looks like "Courier New"
In both cases I print predefined text with same output device, same device type.
When I set 15CPI (0x67) u2013 I still get 10CPI, just the font looks more plain, more "draft" then before - like once in DOS. I am certain that these font type is definitely different then before (for example, here "W" have parallel endings). These fonts are even more suitable for these reports...
Shouldn't the fonts be SMALLER and more of them in 1 inch (15 characters per inch) now then 10CPI (10 character per inch - less characters to fill 1 inch)??
If I set 1CPI - shouldn't there be just 1 big character on 24,5mm?
When I delete all entry (except # reset \e\0x40) from "Printer initialization" for one Format, the print output looks exact as before deleting (and saving)?!
I would like to set Courier font, (really 12CPI), plain text, no bold.
Where should I set this options?
Thanks and sorry for long input, but the more info you have, the more insight ou have in my problem...
Cheers,
N
Edited by: Nenad Nikolic on Oct 26, 2010 5:30 PM - update -
Printing A3 page format using ABAP List from SAP is a problem...
Hi Experts,
I am trying to print a standard output (ABAP List) A3 page size from SAP.
I used SWIN, SAPWIN, I9HP4 device types, but none of them worked.
I created page format type ZYEVMIYE 290MM 420MM and the page format L120, W200. In order to make it usable with page size is A3. Unfortunately this did not work either.
The behaviour of the problem is when I tried to print with the device types that mentioned above then printer indicator comes to an error. And nothing comes out from the printer.
Just to be on the safe side I made a test from windows self test, it resulted success with A3 page size format. So from this point of the view I got a thought that somehow SAP (selected device types) is not able to send correct signal to Printer for page size A3, because on the printer information screen displays load Tray2 for A4 this is showing that SAP sends Printer a signal for page format A4.
I need help on how to make SAP (selected device type) send a correct signal to Printer in order to printout A3 page size format.
Quick reply will much be appreciated.Hi,
At last i got a Solution to my Question.
The Problem is that in my SAP-Code they have been translated the PDF into 255 string.But i am retreiving using 132 string.So, i resolved in this way.
<b>For Each dr As DataRow In ds.Tables(0).Rows
Dim dataline As String = dr(0)
If dataline.Length < 255 Then
dataline = dataline.PadRight(255, " ")
End If
sb.Append(dataline)
Next.</b>
May be this Thread is useful to Others.
Regards,
Rajender. -
ALV list followed by ABAP list
Hi,
I have created an ALV list using REUSE_ALV_LIST_DISPLAY with checkbox.
After processing the checkbox selection in ALV list, I would like to display my results in the normal ABAP list. How can i use the usual TOP-OF-PAGE and END-OF-PAGE in the ABAP list?Use the event TOP-OF-PAGE DURING LINE-SELECTION to display the heading in the secondary list.
The system triggers this event for each detail list. If you want to create different page headers for
different list levels, you must program the processing block of this event accordingly, for example
by using system fields such as SY-LSIND or SY-PFKEY in control statements (IF, CASE).
As on the basic list, the page header of a detail list remains displayed even when you scroll
vertically.
top-of-page at line-selection.
case sy-lsind.
when 1.
write:/ 'Heading for first list'.
when 2.
write:/ 'Heading for second list'.
when 3.
write:/ 'Heading for third list'.
endcase. -
Is it possible to control the font size in ABAP classical list output, If so how can we handle it?
Currently the print output of the ABAP list appears to be unreadable.
Is the same possible with ALV reports as well?check this sample program.
DD_STYLE_TABLE
and check ur SAP setting also .
in SAP Screen there is ICON(TV icon) , click this ->New Visual Design->Forn Size.
Regards
Prabhu
Maybe you are looking for
-
XML SAX parser that support LexicalHandler
Hello, I'm looking for an XML SAX parser that support a LexicalHandler. I have xml files that are not well formed, ie: (&, <, >, etc...) characters within tags and I need to ignore them. Anyone have a link to some opensource library ?? Thanks, Samir
-
Problem with clob_write under client 9.2.0.6: UnsatisfiedLinkError
Hi all, I'm running Oracle client 9.2.0.4 on Windows XP and Java 1.4.1_3. Writing or reading clob's works pretty well. As i tried to update to Oracle client 9.2.0.6, i got the error Communication failed: java.lang.UnsatisfiedLinkError: clob_write whe
-
I am trying to connect my HP Officejet 6500a to my Acer 3503WLMi laptop.
I am running Windows XP and think it may work with ePrint. I can,t find where to go to get the app for ePrint? I,m not very switched on when it comes to this sort of thing. Somebody PLEASE help me
-
How do I rotate photos in photoshop elements
how do I rotate photos in photoshop elements? These show as rotated in the organizer, but revert to unrotated when sent to Elements.
-
Dear Sir, I created a jar file for a wsdl url and then did import java class file, placed the jar file in the classpath and also set the pat of the jar file in the forms/server/default.env file. In the forms the when i call the Stored proc of the web