Printing Spool output

Hi All,
i'm printing a form in background job.
i've passed the print parameters with submit for immediate printing from spool.
but the output is created in the spool with status 'Frontend Unavailable'.
the default printer 'LOCL' has also been configured and connected to the system.
there are multiple application servers.
kindly help resolving the issue.
regards
Prabhu

Look at <a href="https://websmp209.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700002591492002E">Frontend Printing on Local Printers</a> f more information on the use of local printers.
Regards

Similar Messages

  • 'Send Print Request' button can send paystub output to R/3 print spool:

    Hi
    Portal Experts
    Current state of the SAP environment  on ECC 5.0 and EP 6  SP17
    'Send Print Request' button can send paystub output to R/3 print spool:
    When I clicked on ‘send print request’, I expected a printout to my default printer but didn’t get one.   If the dialog user has the 'print immediate' option turned off, their paystub will spool up in R/3. When a user clicks on the printer ICON within Adobe, they get to choose their printer and know that it will go straight to the printer.  This could be confusing to R/3 dialog users.
    Any solution,How to change the option from spool to print immediate.
    Thanks
    Vanteru

    Facing the same problem.
    Please let me know if you have found a solution.

  • Printer spooler is not generated while output command

    Dear All,
    I am facing problem in  where the printer is installed in that system .when the user is giving print the
    Printer spooler is not generated while output command successfully  coming in sap
    Please suggest how to sol
    Regard
    Kumar

    Hello,
    Not very strong with Linux, but i think that, maybe you need to set a graphic emulator to compile ?
    Francois

  • Datamax label print - no paper output - print spool ok

    hi
    we are trying to configure a label printer (Datamax I 4208), we've followed this document http://www.datamaxcorp.com/_assets/library/pdf/sap_91803.pdf and note 894444
    print spool orders are marked as completed but there's no paper output
    printer is configured on a tcp/ip address
    sapsprint is installed and service active
    what else are we missing is there to check?
    thanks in advance

    Hi Maria
    We are trying to print Datamax i4208.
    Here is my Configuration
    The app.server is on AIX
    The Device types we tried:
                   <h5> The LB_DMX LB_DMX as Device Type: LINE PRINTER DRIVER II.
                   The ASCIIPRI </h5>
    1. Printed through LOCL (Front-End Access Method)    -  We do not have SAPPrint/saplpd on our PCs
    2. Printed through a Windows Printer Server (U: Access Method) - The Winddows server has SAPPrint
    3. Printed Locally (L: Access Method): Using the JetDirec setup
    All these 3 methods are not working.... I am a Baiss person.... Would you please give some tips

  • Error during print request output. l_rc = 1

    Hi ,
    I have a request to create on ouput device which can copy the spool request to desired location in application server. Our server is not connected to any physical server and is windows NT.
    I am tring to create ACCESS TYPE 'L' with host printer name '__default'.
    I am using control set to copy file at desired location on server
    COPY &F <path for file to be copied>&T
    File is being copied to desired location but its returing error message "Error during print request output. l_rc = 1"
    Complete log is below:
          SAP spool error log                                                                   
          =====================                                                                               
    Print request processing log                                                                               
    The host spool is reporting errors                                                                               
    Message from host spool:                                                                               
    1 file(s) copied.                                                                 
    End of message                                                                               
    Command used: COPY E:\usr\sap\D06\DVEBMGS00\data\000002934300001.D06 E:\interface\D06\                                                                               
    Errors occurred processing this print request                                                                               
    Error during print request output. l_rc = 1                                                 
    There may be no printout                                                                               
    Most important attributes of spool request                                                                               
    Request number 29343                                                                               
    Request name SCRIPT ZRAJ BASISADMIN                                                         
    Client 220                                                                               
    Owner BASISADMIN                                                                            
    Request attributes                                                                          
    Time created   2008102906203900                                                             
    Remaining life  +00008000000                                                                
    Dispo 1 (Go/Hold) G                                                                         
    Dispo 2 (Keep/Delete)     K                                                                 
    Dispo 3 (Indirect/Direct) D                                                                 
    Default output device ZRAJ                                                                  
    Default no. copies  1                                                                       
    Format X_PAPER                                                                               
    Main print request characteristics                                                                               
    Spool request number 29343                                                                  
    Print request number 1                                                                      
    Print request attributes                                                                    
    Time created   2008102906203900                                                             
    Output device ZRAJ                                                                          
    Format X_PAPER                                                                               
    Character converter active when first problem occurred                                                                               
    No information available                                                                               
    Pls help.
    Regards
    Raj Kiran

    If you have done a search with your subject line, you would have got the following [results.|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=%22errorduringprintrequestoutput.l_rc%3D1%22&cat=sdn_all]
    so do a search in SCN before posting your question.
    Regards
    Karthik D

  • Printing ZPL (Zebra) data to printer spooler without character conversion

    Hi all,
    We are printing shipping labels from UPS, with a process where we recive the ZPL label code directly from UPS, and we just need to pass the data to the printer to get the labels. We have already implemented this with Fedex and some custom labels, and it works perfectly. The problem with the UPS label data is that it contains non-printable characters (in the MaxiCode data field). When passed to the SAP printer spooler (see code example below), the data gets corrupted because SAP interprets these non-printable characters as printer control codes.
    I have verified this by saving the ZPL data to a local file, before printing it through the SAP spooler. I then print this raw data and compare the output with the labels printed from the spooler. The MaxiCode (the big 2D barcode) is different in these labels. UPS has also tested the labels, and rejected them because of incorrect data in the barcode.
    For printing, we are using printers defined as type "PLAIN", but I also tried using the "LZEB2" device type with the same result. The error we see in the spooler entry is this:
    Print ctrl S_0D_ is not defined for this printer. Page 1, line 2, col. 2201
    Print output may not be as intended
    The printer ctrl code differs, depending om the label. I have examined the spooler data in "raw" mode, and there is always an ASCII character 28 (hex 1C) in front of the characters that SAP think are control codes, and this is why I think these non-printable characters are the reason for the problems.
    This is the function module I use to print the ZPL data (and as stated above, this works fine for Fedex and custom labels). The ZPL data is converted to binary format before passed to the function module, but I also tried to send the data in text format with another FM, but the result is the same. I have experimented with the "codepage" parameter, and this one gives the least amount of errors, and some labels actually get through without errors. But still at least 50% of the labels gets corrupted, with log entries like above.
    CALL FUNCTION 'RSPO_SR_WRITE_BINARY'
          EXPORTING
            handle           = lv_spool_handle
            data             = lv_label_line_bin
            length           = lv_len
            codepage         = '2010'
          EXCEPTIONS
            handle_not_valid = 1
            operation_failed = 2
            OTHERS           = 3.
    Does anyone know if there is a way to send data to the spooler without character conversion or interpretation of printer control codes? Or is there any other smart way to get around this problem?
    /Leif

    I do a more direct output to the spooler, to avoid any issues with the WRITE statement and SAP's report output processing. At the same time, I insert line breaks so that the output is easy to debug in the spooler if needed. Also included is the code to to detect the escape code (ASCII #28) and to insert a control code ZZUPS in its place (you can skip this for Fedex). Here's a simplified example, but please note this is for a Unicode system, some minor changes is required in a non-Unicode system.
    CONSTANTS: lc_spcode TYPE c LENGTH 5 VALUE 'ZZUPS',
               lc_xlen TYPE i VALUE 5.
       DATA: lv_print_params TYPE pri_params,
             lv_spool_handle TYPE sy-tabix,
             lv_name TYPE tsp01-rq0name,
             lv_spool_id TYPE rspoid,
             lv_crlf(2) TYPE c,
             lv_lf TYPE c,
             lstr_label_data TYPE zship_label_data_s,
             lv_label_line TYPE char512,
             lv_label_line_bin TYPE x LENGTH 1024,
             lv_len TYPE i,
             ltab_label_data_255 TYPE TABLE OF char512,
             ltab_label_data TYPE TABLE OF x,
             lv_c1 TYPE i,
             lv_c2 TYPE i,
             lv_cnt1 TYPE i,
             lv_cnt2 TYPE i,
             lv_x(2) TYPE x.
       FIELD-SYMBOLS: <n> TYPE x.
       lv_crlf = cl_abap_char_utilities=>cr_lf.
       lv_lf = lv_crlf+1(1).
       lv_name = 'ZPLLBL'.
    CALL FUNCTION 'RSPO_SR_OPEN'
         EXPORTING
           dest                   = i_dest
           name                   = lv_name
           prio                   = '5'
           immediate_print        = 'X'
           titleline              = i_title
           receiver               = sy-uname
    *      lifetime               = '0'
           doctype                = ''
         IMPORTING
           handle                 = lv_spool_handle
           spoolid                = lv_spool_id
         EXCEPTIONS
           device_missing         = 1
           name_twice             = 2
           no_such_device         = 3
           operation_failed       = 4
           OTHERS                 = 5.
       IF sy-subrc <> 0.
         RAISE spool_open_failed.
       ENDIF.
    LOOP AT i_label_data INTO lstr_label_data.
         CLEAR ltab_label_data_255.
         SPLIT lstr_label_data-label_data AT lv_lf INTO TABLE ltab_label_data_255.
         LOOP AT ltab_label_data_255 INTO lv_label_line.
           IF lv_label_line NE ''.
             lv_len = STRLEN( lv_label_line ).
    *       Convert character to hex type
             lv_c1 = 0.
             lv_c2 = 0.
             DO lv_len TIMES.
               ASSIGN lv_label_line+lv_c1(1) TO <n> CASTING.
               MOVE <n> TO lv_x.
               IF lv_x = 28.
                 lv_cnt1 = 0.
                 lv_label_line_bin+lv_c2(1) = lv_x.
                 lv_c2 = lv_c2 + 1.
                 DO lc_xlen TIMES.
                   ASSIGN lc_spcode+lv_cnt1(1) TO <n> CASTING.
                   MOVE <n> TO lv_x.
                   lv_cnt2 = lv_c2 + lv_cnt1.
                   lv_label_line_bin+lv_c2(2) = lv_x.
                   lv_c2 = lv_c2 + 2.
                   lv_cnt1 = lv_cnt1 + 1.
                   lv_len = lv_len + 1.
                 ENDDO.
               ELSE.
                 lv_label_line_bin+lv_c2(2) = lv_x.
                 lv_c2 = lv_c2 + 2.
               ENDIF.
               lv_c1 = lv_c1 + 1.
             ENDDO.
    *       Print binary data to spool
             lv_len = lv_len * 2. "Unicode is 2 bytes per character
             CALL FUNCTION 'RSPO_SR_WRITE_BINARY'
               EXPORTING
                 handle                 = lv_spool_handle
                 data                   = lv_label_line_bin
                 LENGTH                 = lv_len
               EXCEPTIONS
                 handle_not_valid       = 1
                 operation_failed       = 2
                 OTHERS                 = 3.
             IF sy-subrc <> 0.
               RAISE spool_write_failed.
             ENDIF.
           ENDIF.
         ENDLOOP.
       ENDLOOP.
       CALL FUNCTION 'RSPO_SR_CLOSE'
         EXPORTING
           handle = lv_spool_handle.
       IF sy-subrc <> 0.
         RAISE spool_close_failed.
       ENDIF.

  • Not generating a spool output in the background job

    Hi Team,
    I have an alv report and If I schedule the program using SM36 transaction it is not generating the spool ouput.
    If I run the same program in background mode when we use se38 and select execute in background in program menu and it works successfully and generates alv grid list in the spool output.
    But, user wants to schedule the job in sm36 and check the same output in spool. Please advise why it is not generating.
    Note:I am using the cl_salv_table=>factory method to generate the output.
    Thanks in advance,
    Sunil Kumar.

    This is not really an ABAP question and you might want to ask your Basis admin for assistance. But I believe that spool will not be generated if you don't specify print parameters for a step. When you define the step in SM36, make sure to specify the print parameters.

  • Background job - Spool output screwed up.

    Hi Friends,
    i am running a report in background and i have 40 to 50 columns as a result the output of the back ground job spool output does not show in one lone but as soon as it reaches to the certain point it splits the line and shows one line as as two...
    what could be the problem?
    thank you,
    pasala.

    Check
    In your report
    -  [REPORT - list_options|http://help.sap.com/abapdocu_70/de/ABAPREPORT_LIST_OPTIONS.htm] [LINE-SIZE width|http://help.sap.com/abapdocu_70/de/ABAPREPORT_LIST_OPTIONS.htm#&ABAP_ADDITION_2@2@]
    - [NEW-PAGE|http://help.sap.com/abapdocu_70/en/ABAPNEW-PAGE.htm] [LINE-SIZE width |http://help.sap.com/abapdocu_70/en/ABAPNEW-PAGE_OPTIONS.htm#&ABAP_ADDITION_4@4@]
    In print parameter of the step/job
    - [SUBMIT - spool_options |http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_PRINT_PARAMETERS.htm] [SPOOL PARAMETERS pri_params|http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_PRINT_PARAMETERS.htm#&ABAP_ADDITION_1@1@] or [LINE-SIZE width |http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_LIST_OPTIONS.htm#&ABAP_ADDITION_1@1@]
    Also read [Printing Lists |http://help.sap.com/abapdocu_70/en/ABENPRINT.htm] and [SET_PRINT_PARAMETER|http://www.sdn.sap.com/irj/scn/advancedsearch?query=set_print_parameters] for LAYOUT and LINE_SIZE parameters.
    Regards,
    Raymond

  • How to setup a print spool  in UNIX

    Hi support, i am new to basis and to sdn..
      could you please help me with how to setup a print spool  in UNIX.
    Thank you
    Martin

    Message 1 :
    On UNIX:
    1.     Login as sidadm
    2.     Su - root
    3.     Execute "jetadmin" (or use u201Csamu201D if you are familiar with it).
    4.     Select option 1
    5.     Select option 3
    6.     Enter the IP address of the printer
    7.     Select option 1 again and assign an appropriate queue name
    8.     Follow the instructions to complete
    9.     "lpstat -t"  to confirm the printer is enabled
    10.     Setup on R3
    Message 2:
    On SAP
    1.     Transaction u201CSPADu201D
    2.     Switch to change mode
    3.     Chose Output Device
    4.     Select Printer you want to create/copy/change
    5.     To use or by pass DAZEL:
    1.     use Dazel:
    a.     Host Spool Access Method: E
    b.     Host Printer: 1_usbprint03_xxxxxx
    c.     Logical OMS: R3 SID Dazel LOMS
    2.     by pass Dazel:
    a.     Host Spool Access Method: L
    b.     Host Printer: (queue name on UNIX Spool)
    To test printing, try to print something (i.e. spool server list) and go to  Transaction u201CSP01u201D to change the result.

  • Spool output not appearing on one page

    Hello Experts,
    When program runs in foreground, I am getting correct output i.e. ALV blocks are displayed on one page only.
    But when running same program in background, I got output in spool and when looked at spool output that time I realized that the ALV blocks are getting printed on new page.
    So instead of displaying 4 pages it is displaying 8 pages in spool.
    I ran the same report on quality in FOreground as well as background and output appears to be correct.
    But not sure why it is giving distorted (printed on new pages) in SPOOL output.
    Appreciate your help.
    Thank you.
    Saurabh

    HI Saurabh,
    Check the Layout which you are passing which scheduling the job. It seems to be a different layout as compared to other system & hence the issue.
    Thanks,
    Best regards,
    Prashant

  • PRINT SPOOL TO NETWORK PRINTER

    Hello All,
      I am working on scheduling Mass Activity Jobs using CPS. I am currently trying to use CPS to run the SAP_ABAPRUN definition. I have a requirement to print the output of the spool to a local printer. I have imported the output devices and provided the print parameters with the necessary values to print locally. The report runs fine and produces the spool in SP01 but i get the following error in CPS and no output on the printer.
    Can someone please advise where is can find help with this error.
    BAPI exception while calling BAPI_XBP_JOB_READ_SINGLE_SPOOL: E XM 064 No authorization to execute the operation [, , , ]
    at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.ClientConnectionImpl.checkBapiReturnCode(ClientConnectionImpl.java:799)
    at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.ClientConnectionImpl.call(ClientConnectionImpl.java:602)
    at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection$4.doPerform

    Hi,
    The important part of the message is:
    BAPI exception while calling BAPI_XBP_JOB_READ_SINGLE_SPOOL: E XM 064 No authorization to execute the operation , , ,
    This means the RFC user used to connect to the SAP system does not have all the required privileges.
    The documentation contains all the required privileges for the RFC user in the section on how to prepare an SAP system for use with SAP CPS.
    Regards,
    Anton Goselink

  • Spool Output Error - last 2 lines of the list were dropped on spool output

    Hi,
    I am having problem of printing a report in ALV format. The last 2 lines were dropped on the spool output.  It was actually dropping the last 2 lines on every row break.
    This problem occurs ever since we did a support pack upgrade to SAPKH47030 and SAPKB62064.
    Please help.
    Thanks
    Giana

    Apply OSS note 1100728 which was corrected in SAPKB62065.
    Problem was caused by support pack SAPKB62063 and SAPKB62064.

  • Spool output to PDF

    We are currently scheduling some standard reports in jobs. We would like to convert the spool output to PDF. Is there a way to parameterize the network location such that I can use the same PDF print driver to print to different locations specified in the print specifications in the job ? Is there such a PDF print driver for Windows which would allow me to pass the print location instead of a pop-up ?
    Thanks
    Sridhar

    Hi,
    Use the FM convert_otfspooljob_2_pdf
    see this link for example Re: Download in PDF format
    "Do not use CONVERT_ABAPSPOOLJOB_2_PDF  for script or Smartforms
    Prabhudas

  • Issue in spool output

    Hi all,
    I have one issue in the spool output.
    In the spool output I see some strange results. At the first column the values COL1N, COL1H, COL0N, COL0H, COL2N .... were getting displayed at the first column in every row. Any one of the above values will be getting displayed in each row.
    After that some contents are getting displayed out of which some values got truncated in production.
    The sample out put is getting displayed like below.
    | COL1H | heading1      | heading2       |......
    | COL2N | row1 value1| row1 value 2| ....................
    This is the sample output where the other values (other than col1n, col1h) are coming from the program from internal table.
    After executing the similar job in production after three days it went fine.
    Kindly let me know what is the issue why did it happen so two days before like that.
    Thanks and Regards,
    M.K. Sanath Kumar.

    I can sense about printer settings - can you please check if anybody changed printer settings in those three days?

  • How to print the output of the screen in Dialog Programming

    Hi,
    Could anybody help how to print the output of a screen in the dialog programming. i can select 'Hard Copy' option in the 'Custumizing of Local Layout' Icon in the standard tool bar. but that prints the whole screen with the toolbar. i want to print only the output which is displayed on the screen. Please help..
    Regards,
    Swathi

    Hi Swathi,
        Ok. Do One thing. Go to menu bar and select Systems -> Own pool Request -> here you get the spool number. Select it and select the option "Print Directly" in tool bar.
    Thanks.

Maybe you are looking for