Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

send data from internal table to printer

Former Member
0 Likes
592

Hi

I have data in binary format in an internal table and I want to send this data to printer. Please let me know how this can be done.

Thank you

3 REPLIES 3
Read only

andreas_mann3
Active Contributor
0 Likes
476

Hi,

here's a sample:

 NEW-PAGE NO-TITLE
           PRINT ON  LINE-COUNT '65'
                     LINE-SIZE  '80'
                     IMMEDIATELY 'X'
                     KEEP IN SPOOL ' '
                     LAYOUT 'X_65_80'.
       SET BLANK LINES ON.
           WRITE:  / SY-DATUM, SY-UZEIT, 30 TEXT-H01, 79 SY-PAGNO.
           SKIP 2.
           WRITE: / HEADER1.
           SKIP.
           WRITE: / TEXT-H02.
           ULINE.
           WRITE: / 'Vortrag', 58 RF42B-UMSAV CURRENCY RF42B-RTCUR.
       LOOP AT ZEILE .
         WRITE:  / ZEILE.

       ENDLOOP.
       SET BLANK LINES OFF.
  NEW-PAGE PRINT OFF.

A.

Read only

0 Likes
476

just select the table in se16n and print the output. you can even change the layout and define a selection.

Read only

Former Member
0 Likes
476

Hi

Thanks for your reply.

What I need to do is, I have PDF file data in an internal table. I have to either print this or append to a SAPscript.

I converted PDF format to BIN format and wondering how can I send this to printer.

If you can guide on this or appending this data to Script that will be really helpful.

Thanks