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 R
Hi 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.
Similar Messages
-
Printing ABAP list in fontsize
Hi,
Could we set perticular font-size for printing ABAP list ?
Regards,
Amit RHi Amit
Check the link below , it will be useful to u.
http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a95e351ea11d189570000e829fbbd/content.htm
http://www.oce.com/NR/rdonlyres/eihvvkydvfbuf4txsdbwcufqggviov54zgwkxx4yaxlozj5ajs4bcijjakhg3x573vznycykih2bop3yxtklzumddue/SAPimplementation.pdf
The FORMAT statement and associated COL<xx> print controls supersede color setting with PRINT-CONTROL and CO00<n>.
The R/3 standard includes these COL<xx> print controls:
COL0H: Color off, font intensified
COL0N: Color off, normal font
COL0V: Color off, inverse font
COL1H: Title color, font intensified
COL1N: Title color, normal font
COL1V: Title color, inverse font
COL2H: Standard color, font intensified
COL2N: Standard color, normal font
COL2V: Standard color, inverse font
COL3H: Total color, font intensified
COL3N: Total color, normal font
COL3V: Total color, inverse font
COL4H: Key color, font intensified
COL4N: Key color, normal font
COL4V: Key color, inverse font
COL5H: Positive color, intensified font
COL5N: Positive color, normal font
COL5V: Positive color, inverse font
COL6H: Negative color, font intensified
COL6N: Negative color, normal font
COL6V: Negative color, inverse font
COL7H: Group color, font intensified
COL7N: Group color, normal font
COL7V: Group color, inverse font
Message was edited by: sreekanth reddy -
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 -
Trying to print ABAP List in Unix
I am new to SAP and I am trying to print using unix as my host spooler. I am printing to a Xerox machine connected to a print server. I am just trying to print the test ABAP list you get when you go into SPAD and select Utilities/ouput devices then select ABAP List. When I print this I get nothing but ABCD and a bunch of numbers. I am trying to figure if the ABAP list is supposed to be that way or if something is wrong with my driver.
Hello Rodney,
What device type did you specify in the SPAD Output Device definition? You need to make sure you select a device type which is compatible with the printer. If the printer supports postscript printer language, then you need to select the 'Post2' or 'postscpt' device types. If the printer support PCL, then test with 'hplj4' device type. Most likely the currently selected device type is not compatible with the printer and therefore creates a print file which the printer cannot interpret.
Regards,
Nathan -
Printing ABAP List(Report output - SE38) in A3 format
I have a requirement to print the ABAP report in A3 page format. I am using LP01 printer and in in SPAD transcation I Changed the Tab "Output Attributes"
Paper tray = "Paper tray 3" and Tab "Tray Info" Tray 3 = "DINA3" still the report gets print in A4 page format.
Even i tried by changing the lize size and line count...still .... it prints in A4 format only.
Could you let me know what exactly I need to in order to print my report output in A3 Page format.
Waiting for your reply.
Thanks in Advance,
SteevanHi,
Check this below link
http://www.sap-img.com/basis/how-can-i-print-a3-format-in-sap.htm
Cheers!!
VEnk@ -
Print ABAP List to Ledger size paper
Having a problem getting ALV to print to Ledger.
I've create a Page format ZLEDGER (11x17)
a Format Type ZLEDGERALV
Assigned this to my Device Type., and copied the Actions for 65x255 Format
I assigned my Device Type to an OUtput type where I;ve set my default paper tray to Tray 4, and Assigned ZLEDGER to Tray 4.
When I attempt to print, the printer asks for "Letter" on on Tray 4.
Any ideas.
MikeHowever, I've tried this before, and it did not work.. the only time I was able to get the the command &l6A recognized is if I put it in the First Page file.
enter PJL mode and switch to PCL language
\e%-12345X@PJL\r\n
Set Paper size 11x17
#\e&l6A
#\i<HPLJ4:ZLEDGER:SETUP>
#=================
Support Devices
imagePASS S1
#=================
Staple
#=================
Upper left in Portrait and Upper Right in Landscape(default)
#@PJL COMMENT CANPJL SET STAPLE = ONEUPLEFT\r\n
Upper right in Portrait and Lower Right in Landscape
#@PJL COMMENT CANPJL SET STAPLE = ONEUPRIGHT\r\n
Lower left in Portrait and Upper Left in Landscape
@PJL COMMENT CANPJL SET STAPLE = ONELOWLEFT\r\n
Lower right in Portrait and Lower Left in Landscape
#@PJL COMMENT CANPJL SET STAPLE = ONELOWRIGHT\r\n
Two left in Portrait and Two Top in Landscape
#@PJL COMMENT CANPJL SET STAPLE = TWOLEFT\r\n
Two right in Portrait and Two bottom in Landscape
#@PJL COMMENT CANPJL SET STAPLE = TWORIGHT\r\n
#=================
Hole Punch
#=================
Left in Portrait and Top in Landscape
#@PJL COMMENT CANPJL SET PUNCH = LEFT\r\n
Top in Portrait and Right in Landscape
#@PJL COMMENT CANPJL SET PUNCH = TOP\r\n
#================
Output Bin
#================
Upper tray
#@PJL COMMENT CANPJL SET OUTPUTBIN = FINISHER1\r\n
Lower tray
#@PJL COMMENT CANPJL SET OUTPUTBIN = FINISHER2\r\n
#===============end
@PJL ENTER LANGUAGE=PCL\r\n
\e&l6A
reset
\eE
Landscape mode
\e&l1O
ECMA-94 Latin 1 character set
\e(0N
Skip perforation region on
\e&l1L
set vertical spacing
#\e&l7.8C
set top margin
\e&l1E
set line spacing
\e&l8D
set bottom margin
\e&l65F
Define 2 macros: Macro 1 will select Normal font
Macro 2 will select Bold font
Start of MACRO 1:
\e&f1y0X
select pitch 12, height 8
\e(s0p12h8v0s0b3T
set horizontal spacing
\e&k12H
End of MACRO 1:
\e&f1y1X
Start of MACRO 2:
\e&f2y0X
select pitch 12, height 8
\e(s0p12h8v0s3b3T
set horizontal spacing
\e&k12H
End of MACRO 2:
\e&f2y1X
Execute Macro 1 to set normal font:
\e&f1Y\e&f2X
Macros for drawing of frames.
\e&f470y0X\e(10U\e&k5H\xC5\e(0N\e&k5H\e&f470y1X
\e&f460y0X\e(10U\e&k5H\xC4\e(0N\e&k5H\e&f460y1X
\e&f461y0X\e(10U\e&k5H\xB3\e(0N\e&k5H\e&f461y1X
\e&f462y0X\e(10U\e&k5H\xDA\e(0N\e&k5H\e&f462y1X
\e&f463y0X\e(10U\e&k5H\xBF\e(0N\e&k5H\e&f463y1X
\e&f464y0X\e(10U\e&k5H\xC0\e(0N\e&k5H\e&f464y1X
\e&f465y0X\e(10U\e&k5H\xD9\e(0N\e&k5H\e&f465y1X
\e&f466y0X\e(10U\e&k5H\xC3\e(0N\e&k5H\e&f466y1X
\e&f467y0X\e(10U\e&k5H\xB4\e(0N\e&k5H\e&f467y1X
\e&f468y0X\e(10U\e&k5H\xC2\e(0N\e&k5H\e&f468y1X
\e&f469y0X\e(10U\e&k5H\xC1\e(0N\e&k5H\e&f469y1X
#<RSPO0060 - end of gene -
ABAP list printing on device I2SWIN
Hello,
we have defined output device (printer) with device type I2SWIN for printing on users frontend computers via SAPlpd. Settings of I2SWIN device type is default:
SAPlpd/SAPWIN driver 3.0
Do not use printer driver for ABAP list print
Character set 1406 Printer I2SWIN ISO 8859-2 (MS Windows Latin-2)
We can print ABAP lists on this device. We define formats and set margins and orientation in this formats. But these settings are ignored during printing. If we change in I2SWIN setting Printer driver to "Printer driver for SWIN printing using SAPLP/Windows", then margins are accepted and printed, but there are wrong characters in print output (not in requested code page).
Could anybody help us how to set print to accept margins in ABAP lists and also have print output with good code page.
Thank you
Vaclav Jonas
Edited by: Vaclav Jonas on Apr 24, 2008 3:02 PMO.K., we use margin settings according SAP Note 21738 and all works fine.
-
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 -
Hi,
we are trying to printing some abap lists on both sides. ich have found some information about duplex printing of sapscript / smart forms, but nothing about printing of abap lists.
Ich habe changed attribute printmode ( transaction SPAD ) of printer to Duplex mode, and print parameter DUPPRINT of the user is changed too ( Function UPDATE_DEFAULT_PRINTPARAMS DB-Table TPRI_DEF ).
But still could not able to print. Thanks in advance for your help.
Regards,
Sumiya.You can print ABAP lists in duplex, if your printer supports duplex printing and uses one of the following device types:
-> Device types for PCL-5 printers:
HP4550
HP8550
HP9000
HPLJ1100
HPLJ8000
HPLJ4000
BRHL
-> Device type for Prescribe II printers: KYOFS170
-> Device type for PostScript Level 2 printers: POST2
To be able to use both the simplex and duplex modes of your printer for list printing, you should create two different device definitions. For information about the procedure for doing this, see Creating Output Devices (http://help.sap.com/saphelp_webas620/helpdata/en/7e/36e4c4023411d399b70000e83dd9fc/content.htm).
On the Output attributes tab for the device definition, specify the desired Print mode.
Above extract is from help.sap.com.
Please reqard points if helpful.
Good Luck. -
ABAP list report wont print on Z device type with Z format
Our developer have created a report which outputs data in ABAP list format and the standard format would not fit. We have since created a custom format and copied a device type in to custom device type. So we now have a custom format and custom device type. However when we print, it spools correctly and shows as green but the report wont print. The only thing that gets printed is
"Sort criteria AscdgDescndSubtotalGRAND TOTAL : X X PROJ" "
The abap list format is Z_100_500. Basically the report has 450 columns and hence we created this format.
I am not sure what this means. I have been advised by SAP to follow instruction on note 17895 - Adapting print list formats for customers however i cant fully comprehend point 5 of the note and I believe this is why it wont print. Has anyone adapted ABAP list using this note. Can you please let me know how i should go about printer initialisation mentioned in the noted.
We have checked everything however dont seem to get around the issue. Any ideas will be appreciatedNo comments
-
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 -
Print preview in abap list format
Dear All
I am facing a problem with the print preview.
When i am clicking on print preview button the system is displaying the output in a abap list format.
but when i m taking the print it is coming correctly.
The out put format is different in the print preview where as when i am taking the output it is coming correctly.
Pls help me out on this.Please check this answered link:
Invoice print preview defaults to ABAP List View -
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. -
ABAP List Output Printing Error
Hi All,
I am facing a problem while printing the ABAP List Output. First Page is printing fine and from the second page its not printing. Where as in Standard reports everything is printing OK.
Thanks in Advance.
Best regards,
Shahid MalayilHello Shahid,
For list printing: Add to affected reports with NEW-PAGE PRINT ON LAYOUT/ SUBMIT... TO SAP-SPOOL LAYOUT (print at list generation). For printing from list display, adjust REPORT width specification to force selection of the format and move format to SAP namespace (name "X....").
May be this can help you.
Cheers
Mudassir. -
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...
Maybe you are looking for
-
Can you see a image in the Get Info Window?
After upgrading to Mt LIon and while using CS6, I can't see image previews in the Get Info window. Can't see images in the upper left corner of the get info window, so I can't make a selection and then do a copy- paste like I could do before I upgra
-
How to read XL file from FTP server
Hi all, I have a requirement like to read file from FTP server using path ftp: 10.212......\DTR\DTR_ Accounted_Out and again save other file in same location , to doing this RFC connection is required? give a procedure or program to do this require
-
PO from SRM to External Suppliers
Hi, We want to implement the follow scenario : Send a PO from SRM in XML format to an external supplier using XI 3.0 , but the cuestion is whether XI has and predefinied scenario for this task , if not ,what is the recomenndaion to implement??? , we
-
I need some help designing my new screen in jsp sample data: The user logs in and he has to select the following details and click submit. For each child, three menu items should be selected for BF, Lunch and Dinner Also, for each option, whether it
-
Turning off Google Toolbar install prompt
I have packaged Shockwave player into an msi. But I keep getting the Google Toolbar install prompt anytime it is run for the first time on a new PC. Please how to I turn this off. Thanks Kofi