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

Printer control in smartform

Former Member
0 Likes
588

I'm trying to use a command in a smartform to set a printer control. What I do is:

- I choose the node containing the text I want to alter. In this case it's the MAIN window.

- I right-click on it and I select create->flow logic->command

- In the general properties tab, in the input field for printer control, I choose some control.

- I print (I'm using LOCL printer).

The text remains unchanged. What I'm getting wrong?

Thank you in advance.

3 REPLIES 3
Read only

Kanagaraja_L
Active Contributor
0 Likes
552

If you defined the Printer control in TCODE SPAD then you can use the following Coding before the Text to be displayed

PRINT-CONTROL <Printer control Name>.
<TEXT>

Kanagaraja L

Read only

0 Likes
552

Can I insert commands like that in a smartform? I've tried and I get an error...

As far as I know the way to insert commands is adding a command node, and so far I haven't succeeded to put that to work.

Any thoughts?

Thanks.

Read only

0 Likes
552

Hi,

You need to check the exporting parameters of smartform calling function module.

In smartform you can't write printer control command.

Thanks.