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.
Mike

However, 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

Similar Messages

  • Printing ABAP list in fontsize

    Hi,
    Could we set perticular font-size for printing ABAP list ?
    Regards,
    Amit R

    Hi 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 Address Book as list on custom size paper

    Help! I'm trying to print my address book onto custom sized paper. I select the addresses I want to print, click 'Print', then in the dialogue box, select 'Lists' as my Style. I can then chose from assorted paper sizes, none of which are right. Does anyone know if there is a way to add a custom paper size?
    Many thanks in advance!

    Hi,
    I afraid the printer does not support using a custom paper sizes.
    An alternative driver as the C310 is likely to fail as a such is not supported by the firmware.
    You may find the printer specification below, as you may see any custom media size paper is not listed as supported within the Paper-handling specifications, I afraid a such is not supported for your printer:
    http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=c03312222&tmp_track_link=ot_faqs/top_issues/en_u​...
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • 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.

  • Printing report list output in A4 paper

    Hi!
    Is it possible to fit the list output of a report having a line-size of 240 into an A4 paper ?...when I was trying to print the output is being cut. Some columns at the right were not printed since all columns do not fit on the paper even on landscape. The system defaults format is X_65_255 which has 65 rows and 255 lines. How can I make it fit an A4 paper?
    Thanks in advance!

    Hi Mervin,
    To make printing possible on A4 paper you'll need to define a new output format.
    For this use transaction SPAD.
    Press the button "Full Administration" (F7).
    Select the tab "Device Types".
    Press the button "Page formats".
    Set the screen in Change Mode (press Change button or F8).
    Press the Create button (Shift+F1).
    Give a name (starting with Z, like Z_LAND).
    Select Orientation "Landscape".
    Set papersize width/unit to 255 CH
    Set papersize height/unit to 65 LN
    Save your work.
    Go back to tha SPAD tabpages.
    Press the button "Format Types".
    Set the screen in Change Mode (press Change button or F8).
    Press the Create button (Shift+F1).
    Enter in the screen a format name (starting with Z or Y).
    Set the format type to type L (Format type for ABAP lists).
    Set the page format to your created format (like Z_LAND).
    Enter the number of lines that can be printed on A4 (e.g. 65)
    Enter the number characters (columns) that can be printed on one row on A4 (e.g. 255).
    Give a comprehensive comment.
    Save your work.
    Go back to tha SPAD tabpages.
    Select tab "Devices / servers".
    Press the button "Output devices".
    Select your printer.
    Set the screen in Change Mode (press Change button or F8).
    Go to tabpage "Tray info".
    Choose the right tray for your selected printer and fill in the previously created page format.
    Save your work.
    Leave transaction SPAD.
    This format can be used to print your reports.
    Remove your own printerdefault (Via menu System --> User profile --> Own data, tabpage Defaults).
    When printing a dialog appears where you now can choose the modified printer (with modified page settings).
    As you can see, this is more of a job the the admin guys.
    As a remark: The default page formax X_65_255 should print 255 columns on paper (landscape). Most likely a small character set is used for this. The character size can also be modified (in the same transaction) to fit an entire row.
    Hope this gives you a clue where you can influence the way lists are printed.
    Regards,
    Rob.

  • 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,
    Steevan

    Hi,
    Check this below link
    http://www.sap-img.com/basis/how-can-i-print-a3-format-in-sap.htm
    Cheers!!
    VEnk@

  • How do I get my printer to work with odd size paper.

     I'm trying to print a retun address on an envelope 5 3/4" x 4 3/8" and apparently I need to have a paper setting in my printer match the paper size in Word.

    Maryannebrabander,
    Your comment " ... It was printing great until I did this upgrade." brought to mind a thought:
    If you're ever in the SIlicon Valley area of California, specifically Mountain View, CA, I strongly recommend a visit to the Computer History Museum there.  This page from the Museum website shows a Calcomp plotter advertisement from 1969:
    http://www.computerhistory.org/revolution/mainframe-computers/7/161/689
    My question to you is should the iPhone be able to print to the Calcomp plotter?  If not, exactly how old would you have a printer (or plotter) be before you dropped support for it?  If you ever do drop support, then that would occur at some discrete time - one day it would work, then something would be updated and it would no longer work.

  • Printing some text on A4 size paper

    Hi friends, I am trying to print a simple text on my printer using java, I have included the code for printing in an action event of
    a button as follows:
    private void sim_printActionPerformed(java.awt.event.ActionEvent evt) {
    PrintJob pjob = getToolkit().getPrintJob(this,"ppk",(Properties)null);
    Graphics pg = pjob.getGraphics();
    Font times = new Font("arial",Font.PLAIN,12);
    pjob.getPageDimension();
    pg.setFont(times);
    FontMetrics tm = pg.getFontMetrics(times);
    pg.drawString("Hello World",20,20);
    pg.dispose();
    pjob.end();
    it works well for the first time when i click the button, when i repeat once again I receive a list of null pointer exceptions and there are no further printouts. Please tell me how to get print copies whenever I click the button at any time. Also suggest me some more examples if any, My aim is only to print the data entered by the user in the text boxes.
    thanks in advance.
    Message was edited by:
    prasad_khode
    Message was edited by:
    prasad_khode

    After trying variuos things I wrote another program to understand the problem, Now the program is as follows
    package sample;
    import java.awt.*;
    import java.awt.print.*;
    public class SamplePrint implements Printable {
    static public void main(String args[]) {
    PrinterJob pjob = PrinterJob.getPrinterJob();
    Book book = new Book();
    book.append(new SamplePrint(), new PageFormat());
    pjob.setPageable(book);
    boolean if_print = pjob.printDialog();
    if (if_print) {
    try {
    pjob.print();
    } catch (PrinterException e) {
    System.err.println("Printing error: " + e);
    public int print(Graphics g, PageFormat format, int pageIndex) {
    g.drawString("Hello world",100,100);
    return Printable.PAGE_EXISTS;
    The program works fine only once that is first time after starting the system and I get the required output on the paper. But while executing the same program once again the exception is raised, that is as follows.
    �Printing Error: java.awt.print.PrinterException: Printer is not accepting job.�.
    If I want another print copy I have to restart the PC and the same thing continues. The following information might help you on which I am experimeting.
    OS: Win XP.
    Jdk1.5
    Printer: HP Deskjet 3940.
    Any help is greatly appreciated.

  • Printer won't recognize custom size paper

    i have a Photosmart Premium C309g that was working fine up until recently. it will not recognize a custom sheet paper that is 3.75" x 9.00. i was able to print 50 wedding invitations for my daughter and when i had to print 25 more the printer does not recognize the paper, i keep getting an error that reads out of paper. if i put a full sheet in the printer it will print. i have also had this issue with trying to print response cards that are 4.00 x 3.75". I have reloaded the HP drivers for this printer, i have bought a new Windows office program and still nothing works. Any ideas would be helpful.

    Welcome to the forum! Check out this document which goes in-depth on troubleshooting paper feeding issues: 'Out of Paper' Error Message Displays and the Product Does Not Pick Up or Feed Paper
    Best of luck!
    -SeanS
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • 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.

  • 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 PM

    O.K., we use margin settings according SAP Note 21738 and all works fine.

  • Duplex printing of abap list

    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.

  • How to print both letter and legal size docs at same time with two trays

    I have an HP Laser Jet P2055dn printer. How can I print both letter and legal docs at same time?

    Not quite sure what you mean by "print both letter and legal docs at same time".
    If you mean that sometimes you want to print a document on Letter size paper, and at other times you want to print a different document on Legal sized paper, then all that is neccessary is to ensure that:
    The printer knows what Paper Size (e.g. Letter or Legal) is present in each tray; on many LaserJet devices, the size is detected automaticaly by sensors in each tray (except for the drop-down tray), but some devices may require that you set the size via front panel menus, or (for network models) via the Embedded Web Server equivalent.
    You may also need to specify what Paper Type (e.g. Plain or Letterhead) is present in each tray, in order to distinguish between two or more trays which have the same paper size loaded.
    Within your appllcation / print preferences, ensure that you select the required combination of size and type for the document.
    But if you mean how do you print a document with some pages on one size of paper, and other pages on a different size, this may only be possible with bespoke applications and/or printer drivers.

Maybe you are looking for