Application Development 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: 

Set smartforms output to Windows default

luis_rod
Participant
0 Kudos
181

Hi all,

I'm having some problems trying to set a SmartForm's output to the user's Windows default printer? I have tried the following code:

  output_options-tddest = 'LOCL'.       
  CALL FUNCTION fmname
    EXPORTING
      output_options     = output_options
(rest of function goes here).

My problem is that, with those parameters, I get the LP01 print device. If I try with "Local" I get a "Local Epson" printer (not my windows default).

Any ideas?

Thanks in advance,

Luis.

1 REPLY 1

luis_rod
Participant
0 Kudos
107

Ok. My mistake. The Local printer was ill defined in our development system . I'm closing the case.

My apologies to all.

Luis.