Skip to Content

How to print the smartforms to the windows local printer from WD4A

Hi Experts,

How to print the Smartforms to the windows local printer (LOCL) from Webdynpro for ABAP, where the application runs within SAPGUI.

I created a T-code for the application which runs within SAPGUI. And why its not finding the windows local printer in webdynpro application, where it does prints in SE38 custom program.

And this application does not require to show the pdf preview, as it is created in ZPL code especially for Zebra Printer.

Your help is highly appreciated.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Jul 13, 2009 at 05:06 PM

    When a WDA is running within the SAPGUI - it is still actually running within a web browser. The SAPGUI is just hosting the Web Browser in place. This means you have the same technical limitations with regards to interaction with the desktop. It is not possible to connect to LOCL from a Web Dynpro application because there is not connection to the SAPGUI/Desktop.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 06, 2009 at 07:19 PM

    Hey Thomas,

    I think we are experiencing a similar issue.

    We are using SAP GUI 7.10 and are trying to print cheques with smartforms using locl

    We need LOCL working as it is the preferred method for SmartForm printouts like the pay statement. For groups like Payroll, they will want this to work. Not using LOCL will make printing out of manual pay statements look bad.

    How should this be configured? and is it as simple as assigning LOCL to the users' default printer option?

    OR do they need to direct the pay statements to a particular printer... Just a bit confused

    Please advise


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Thomas Jung

      Hi Thomas,

      I am facing the same issue while printing from WDA. It is stuck in spool .

      Can you please explain little more about to solve the same issue. Is it possible anyhow to print directly from WDA or we have to print it manualy from spool only ??

      Please help.

      Thanks & Regards