cancel
Showing results for 
Search instead for 
Did you mean: 

To change the printer name

Former Member
0 Kudos

Hi,

I have a requirement to change the printer name when the user tries to send the invoice with the same o/p type second time also.How to change the printer name?

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member196280
Active Contributor
0 Kudos

We have a field in NAST table which tells us whether the copy is printed for the first time or more then once. Read the value basing on the output type (i.e., Message type in nast table)

Now in your driver program & modify the parameter OPTIONS that are passed to function module OPEN_FORM, goto Option and pass your printer name according to your requirement.

Ex: if <print> = 1.

<printer name> = 'XXX'.

if <print> GT 1.

<printer name> = 'YYY'

Close the thread once your question is answered.

Rgds,

SaiRam

Former Member
0 Kudos

Hi

When calling smartform, check nast table whether there is a processed output type present already for the document type, in such cases pass the print parameters by changing printe parameters to the required printer during call of smartform

BR

Lavanya

Former Member
0 Kudos

Hi,

Also you can use VF31 transaction to send to a different printer with the processing mode as 2.

Regards,

Ram

Former Member
0 Kudos

Click on the "Print Options" button

from the dialog box appears after clicking on billing document->Issue Output to

Thanks

Ganesh