Skip to Content
author's profile photo Former Member
Former Member

Form Printing

Hi,

I have requirement as follows: Print two different forms, one is SAP script and other one is Smartform

to different printers with one driver program ?

Can I print as per the above case ? If yes, how ?

Thanks...A

Moderator message: please use more descriptive subject lines from now on.

Edited by: Thomas Zloch on Oct 26, 2010 9:52 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2010 at 08:28 AM

    1. yes

    2. make a print program, get your data, call sap-script using FM OPEN_FORM, when returned call SMARTFORM.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2010 at 11:13 AM

    Dear,

    Its very easy....You can define printer properties for forms individually....

    Use another SAP printer:

    itcpo-tdimmed = 'X'.

    itcpo-tdnewid = 'X'.

    itcpo-tddelete = ' '.

    itcpo-tdcopies = '1'.

    itcpo-tdlifetime = '1'.

    itcpo-tdprogram = sy-repid.

    *itcpo-tddest = 'LOCL'.

    itcpo-tddest = <SAP PRINTER>.

    itcpo-tdpreview = ' '.

    itcpo-tdsenddate = sy-datum.

    itcpo-tdsendtime = ' '.

    CALL FUNCTION 'OPEN_FORM'

    EXPORTING

    device = 'PRINTER'

    dialog = ' '

    form = 'ZTRAVELER'

    language = sy-langu

    OPTIONS = itcpo.

    ENDIF.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2010 at 05:16 AM

    Problem solved.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.