<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Default print settings through abap program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-print-settings-through-abap-program/m-p/3785254#M910681</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do by SU01 tcode...in this tcode you have default settings..check this one...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dara.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2008 05:51:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-07T05:51:42Z</dc:date>
    <item>
      <title>Default print settings through abap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-print-settings-through-abap-program/m-p/3785253#M910680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me can we give the default print settings through ABAP program. if it possible please tell me the procedure or FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;RP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 05:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-print-settings-through-abap-program/m-p/3785253#M910680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T05:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Default print settings through abap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-print-settings-through-abap-program/m-p/3785254#M910681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do by SU01 tcode...in this tcode you have default settings..check this one...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dara.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 05:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-print-settings-through-abap-program/m-p/3785254#M910681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T05:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Default print settings through abap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-print-settings-through-abap-program/m-p/3785255#M910682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is difficult to set each and evry user , i want to set default setting at program level so those who want to display those can print easily&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 06:20:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-print-settings-through-abap-program/m-p/3785255#M910682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T06:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Default print settings through abap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-print-settings-through-abap-program/m-p/3785256#M910683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through this structures .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITCPO&lt;/P&gt;&lt;P&gt; Control parameter for output formatting&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ITCPP&lt;/P&gt;&lt;P&gt; Return parameter from output formatting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Go through the following Documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Controlling Print Output&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the function modules PRINT_TEXT and OPEN_FORM, you can set output formatting and print control using the parameter OPTIONS. The data you pass to this parameter must have the structure ITCPO. The fields of this structure come from the areas SAPscript, the spool, and SAPcomm. Some of these fields can be changed by the user on the selection screen, if you requested it using the parameter DIALOG with the above function modules. The print program evaluates these changes using the corresponding fields of the parameter RESULT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDPAGESLCT&lt;/P&gt;&lt;P&gt; SAPscript: select print page&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDPREVIEW&lt;/P&gt;&lt;P&gt; SAPscript: show print view&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDNOPREV&lt;/P&gt;&lt;P&gt; SAPscript: disable print view&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDNOPRINT&lt;/P&gt;&lt;P&gt; SAPscript: disable printing from within print view&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDTITLE&lt;/P&gt;&lt;P&gt; SAPscript: text for tiltle line in the output selection screen&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDPROGRAM&lt;/P&gt;&lt;P&gt; SAPscript: program name for replacing symbols&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDTEST&lt;/P&gt;&lt;P&gt; SAPscript: test printout&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDIEXIT&lt;/P&gt;&lt;P&gt; SAPscript: return immediately after printing&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDGETOTF&lt;/P&gt;&lt;P&gt; SAPscript: return OTF table, no print output&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDSCRNPOS&lt;/P&gt;&lt;P&gt; SAPscript: display position of OTF on screen&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;TDDEST&lt;/P&gt;&lt;P&gt; Spool: name of the output device&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDPRINTE&lt;/P&gt;&lt;P&gt; Spool: name of the device type&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDCOPIES&lt;/P&gt;&lt;P&gt; Spool: number of copies&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDNEWID&lt;/P&gt;&lt;P&gt; Spool: new request&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDIMMED&lt;/P&gt;&lt;P&gt; Spool: print request immediately&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDDELETE&lt;/P&gt;&lt;P&gt; Spool: delete request after printing&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDLIFETIME&lt;/P&gt;&lt;P&gt; Spool: retention time of the request&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDDATASET&lt;/P&gt;&lt;P&gt; Spool: identification of the request&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDSUFFIX1&lt;/P&gt;&lt;P&gt; Spool: suffix 1 of the request&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDSUFFIX2&lt;/P&gt;&lt;P&gt; Spool: suffix 2 of the request &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDAUTORITY&lt;/P&gt;&lt;P&gt; Spool: authorization for a request&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDARMOD&lt;/P&gt;&lt;P&gt; Spool: archiving mode&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDCOVER&lt;/P&gt;&lt;P&gt; Spool: print cover page&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDCOVTITLE&lt;/P&gt;&lt;P&gt; Spool: cover page: title text&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDRECEIVER&lt;/P&gt;&lt;P&gt; Spool: cover page: recipient name&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDDIVISION&lt;/P&gt;&lt;P&gt; Spool: cover page: division name&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;TDSCHEDULE&lt;/P&gt;&lt;P&gt; SAPcomm: type of scheduled send time&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDSENDDATE&lt;/P&gt;&lt;P&gt; SAPcomm: requested send date&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDSENDTIME&lt;/P&gt;&lt;P&gt; SAPcomm: requested send time&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDTELELAND&lt;/P&gt;&lt;P&gt; SAPcomm: country key of recipient country&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TDTELENUM&lt;/P&gt;&lt;P&gt; SAPcomm: telecommunications partner&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDPAGESLCT: SAPscript: select print page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field contains the page specifications of the pages to be printed. You can specify individual pages, page intervals, and a combination of both. If the field is empty, the system prints all pages. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The page numbers refer to the physical pages of the SAPscript printout, not to the logical page numbering of the form. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt; only page 4&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;2-5&lt;/P&gt;&lt;P&gt; pages 2 to 5, included&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;20&lt;/P&gt;&lt;P&gt; from beginning to page 20, included&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;3-&lt;/P&gt;&lt;P&gt; from page 3 to end&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To combine these variants, separate the different specifications with commas:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4,8-10,15- &lt;/P&gt;&lt;P&gt;prints the pages 4, 8 to 10, and then from page 15 to the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the values proposed in this field on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDPREVIEW: SAPscript: print view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field determines whether SAPscript shall create a print view. You can then see on the screen exactly what the printout will look like later. In background processing, the system does not interpret this field. It always creates a spool request. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;X&amp;#146;&lt;/P&gt;&lt;P&gt; print view wanted&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145; &amp;#145;&lt;/P&gt;&lt;P&gt; no print view wanted&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDNOPREV: SAPscript: disable print view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the print selection screen, the user can choose to display the print view of the SAPscript output on the screen. If you want to disable this function, use field TDNOPREV. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible values: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;X&amp;#146;&lt;/P&gt;&lt;P&gt; disable print view function&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145; &amp;#145;&lt;/P&gt;&lt;P&gt; allow print view function&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDNOPRINT: SAPscript: disable printing from within print view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this field to determine whether the user is allowed to start the printing process from within the print view of a SAPscript text. If, for example, the application program shall control print output independent of any user entries, activate this field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible values: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;X&amp;#146;&lt;/P&gt;&lt;P&gt; printing from within print view disabled&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145; &amp;#145;&lt;/P&gt;&lt;P&gt; Printing from within print view allowed&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDTITLE: SAPscript: text for title line of print selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The text in this field is displayed in the title line of the print selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDPROGRAM: SAPscript: program name for replacing symbols&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To replace program symbols, SAPscript must know in which active program to find the work areas for the corresponding values. If no program is specified in this field, the system looks in the program that was called first (program name from SY-CPROG); otherwise in the data area of the program specified here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program name is valid during the entire print process. With form printing, however, you can specify a new program name when calling the function module START_FORM. This new program name is then valid until the next END_FORM. Afterwards, the system uses the program name specified in TDPROGRAM again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPscript accesses the table fields of this program using a dynamic ASSIGN with the program name specified here. If no program name is entered or if the program has not been loaded yet, the system treats the symbol as text symbol. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDTEST: SAPscript: test printout&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this field to format a text for printing in a test mode. This means that the system does not replace the symbols in the text with their current values. Instead, it represents all output positions of a symbol value using 'X'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible values: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;X&amp;#146;&lt;/P&gt;&lt;P&gt; format text in test mode&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145; &amp;#145;&lt;/P&gt;&lt;P&gt; format text as usual&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDIEXIT: SAPscript: return immediately after printing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this parameter to determine whether to return to the application program immediately after printing the text from within the print view. Usually, the system remains in the print view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Returning to the application program may be necessary, if a text is to be printed only once or if the print view is no longer needed after printing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible values: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;X&amp;#146;&lt;/P&gt;&lt;P&gt; leave print view immediately after printing&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145; &amp;#145;&lt;/P&gt;&lt;P&gt; remain in print view after printing&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDGETOTF: SAPscript: return the OTF table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you enter &amp;#145;X&amp;#146; in this field, the SAPscript composer produces the print format as usual, but does not pass it to the spool or print view. Instead, it passes the OTF format created to the calling program for further processing, using the table parameter OTFDATA of the function modules PRINT_TEXT and CLOSE_FORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible values: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;X&amp;#146;&lt;/P&gt;&lt;P&gt; return output format&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145; &amp;#145;&lt;/P&gt;&lt;P&gt; pass output format to spool or print view&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDDEST: Spool: name of the output device&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specify the name of the device on which you want to output the formatted SAPscript text. If you enter &amp;#145;*&amp;#146; or leave the field empty, the system uses the default value specific in the user master record of the active user. If, in this case, no printer is specified in the user master record, the system displays the print selection screen, even if you wanted to suppress the dialog when calling the function modules PRINT_TEXT or OPEN_FORM (parameter DIALOG).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the value proposed on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDPRINTER: Spool: name of the device type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually, this field is empty. On the selection screen, the user can choose among all existing printers. However, if you want to ensure that the text is output on printers of a certain type only, you can specify the device type in this field. On the selection screen, the system then offers only the printers of this type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The device type you specify must be defined in table TSP0A. To find these types out, use the spool administration (transaction SPAD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDCOPIES: Spool: number of copies&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specify how often you want the spool to print a text. &amp;#145;1&amp;#146; means that the entire text is printed once (default). If you specify '2', the system prints all pages twice. SAPscript internally replaces the value '0' with &amp;#145;1&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create more than one copy, the sequence of the printed pages is 1-2-3..., 1-2-3... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDNEWID: Spool: new spool request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This field determines whether to append the current spool request to an existing request with the same attributes or whether to create a new request. To append a request to another, the values of the fields Name, Output device, Number of copies and the Formatting mode must be the same, and the existing spool request must still be active. This is no longer the case, if a spool request is released to printing. If the system does not find a matching spool request, it always creates a new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;X&amp;#146;&lt;/P&gt;&lt;P&gt; create a new spool request&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145; &amp;#145;&lt;/P&gt;&lt;P&gt; find a matching spool request for appending&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDIMMED: Spool: print request immediately&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this field to determine whether to send the print request to the output device immediately after completing it. Otherwise, you must use the spool print control (transaction SP01) to release the print request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;X&amp;#146;&lt;/P&gt;&lt;P&gt; print request immediately after completing it&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145; &amp;#145;&lt;/P&gt;&lt;P&gt; keep request in spool after completing it&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDDELETE: Spool: delete request after printing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this field to determine whether to delete the spool request immediately after printing it on the output device or whether to keep it for the spool retention period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;X&amp;#146;&lt;/P&gt;&lt;P&gt; delete immediately after printing&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145; &amp;#145;&lt;/P&gt;&lt;P&gt; delete after retention time has expired&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDLIFETIME: Spool. retention time of the request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This field determines for how many days the system keeps a request in the spool before deleting it. If the field is empty, SAPscript inserts the default value '8'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDDATASET: Spool: identification of the request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field is the first component of the three-part identification of the spool request (including also the fields TDSUFFIX1 and TDSUFFIX2). There is no naming convention for the identification. If your application uses a certain convention, see the corresponding application documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the field is empty, SAPscript enters the value SCRIPT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDSUFFIX1: Spool: suffix 1 of the request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second part of the identification of the spool request. See also the description of field TDDATASET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the field is empty, SAPscript enters the output destination (TDDEST). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDSUFFIX2: Spool: suffix 2 of the request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Third part of the identification of the spool request. See also the description of field TDDATASET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the field is empty, SAPscript enters the name of the user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDAUTORITY: Spool: authorization for request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This field defines an authorization value for the spool request. Only users with the specified authorization can display or print the contents of the spool request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The spool print control (transaction SP01) checks whether the authorization object S_SPO_ACT (spool actions) of the user contains the specified value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDARMOD: Spool: archiving mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this field to determine whether only to print a request or whether to store it in the optical archive as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;1&amp;#146;&lt;/P&gt;&lt;P&gt; only print request (default)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145;2&amp;#146;&lt;/P&gt;&lt;P&gt; only archive request&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145;3&amp;#146;&lt;/P&gt;&lt;P&gt; print and archive request&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDCOVER: Spool: print cover page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This field determines whether the printout includes a cover page containing information such as recipient name, division name, format used, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;X&amp;#146;&lt;/P&gt;&lt;P&gt; print cover page&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145; &amp;#145;&lt;/P&gt;&lt;P&gt; suppress cover page&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145;D&amp;#146;&lt;/P&gt;&lt;P&gt; print cover page depending on the setting of the respective output device.&lt;/P&gt;&lt;P&gt;(see definition of the device in the spool administration (transaction SPAD), in the column output devices)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDCOVTITLE: Spool: cover page: title text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This field contains a text describing the spool request. It appears on the cover page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDRECEIVER: Spool: cover page: recipient name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can specify the name of the user who receives the spool request. The system prints this name on the cover page. The default value is the name of the current user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDDIVISION: Spool: cover page: division name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This field contains the name of the division to which the user belongs. The system prints this name on the cover page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDSCHEDULE: SAPcomm: type of scheduled send time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this field to determine whether to send a spool request via the SAP communication interface immediately or whether to wait for the night.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;IMM&amp;#146;&lt;/P&gt;&lt;P&gt; send request immediately&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145;NIG&amp;#145;&lt;/P&gt;&lt;P&gt; send request during the night&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the field is empty, the system uses the default value &amp;#145;IMM&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDSENDDATE: SAPcomm: requested send date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this field, enter the date on which to send the print request via the SAP communication interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDSENDTIME: SAPcomm: requested send time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this field, enter the time at which to send the print request via the SAP communication interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDTELELAND: SAPcomm: country key for recipient country&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the country key specified in this field, the SAP communication interface determines the country-specific area code and uses it as prefix to the telephone number of the telecommunications partner specified in field TDTELENUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TDTELENUM: SAPcomm: number of telecommunications partner&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this field, enter the number of the desired telecommunications partner is the way it is dialed in the recipient country. The system automatically includes the area code which you specify in the field TDTELELAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To switch off automatic number check and prefixing with the area code, start the number in this field with '&amp;amp;'. In this case, you must specify the entire number, including area code, but without operator call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The telephone number must be of a certain format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TELEFAX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allows only digits and the characters &amp;#145; ( &amp;#145;, &amp;#145; ) &amp;#146;, &amp;#145; / &amp;#146;, &amp;#145; - &amp;#146;, and &amp;#145; . ' as well as blanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TELEX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allows only digits, the letters A to Z, and blanks. The number must have the following structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nnn...n aaaa..a ccc &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'n'&lt;/P&gt;&lt;P&gt; digits that form the numeric part of the telex identification &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145;a'&lt;/P&gt;&lt;P&gt; letters that for the alphanumeric part of the telex identification&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;#145;ccc&amp;#146;&lt;/P&gt;&lt;P&gt; consists of one, two, or three letters and corresponds to the country key&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TELETEX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allows only digits and the letter A to Z. The number must have the following structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nnn...n=aaaa..a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#145;n'&lt;/P&gt;&lt;P&gt; digits thst form the numeric part of the teletex identification&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;'a'&lt;/P&gt;&lt;P&gt; etters that form the alphanumeric part of the teletex identification&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change the proposed value on the print selection screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 06:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-print-settings-through-abap-program/m-p/3785256#M910683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T06:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Default print settings through abap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-print-settings-through-abap-program/m-p/3785257#M910684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;&lt;SPAN __default_attr="sylfaen" __jive_macro_name="font"&gt;&lt;SPAN __default_attr="15" __jive_macro_name="size"&gt;You can check self documented FM: &lt;STRONG&gt;SET_PRINT_PARAMETERS&lt;/STRONG&gt;
&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN __default_attr="maroon" __jive_macro_name="color"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 06:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-print-settings-through-abap-program/m-p/3785257#M910684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T06:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Default print settings through abap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-print-settings-through-abap-program/m-p/3785258#M910685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to do default settings through ABAP for scripts or smartforms...then use ITCPO structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ITCPO structure in Scirpts is used to set characterstics to Output interface to the scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can give values to print parameters like no of copies to print, Spool request, Print preview option, type of device specificatin etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will use this structure in the OPEN_FORM function module for the parameter OPTIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Different variants can be defined for the output via the parameter OPTIONS. The structure is described in table ITCPO. Some of the fields contained in this structure can be changed by the user via the print dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dara.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 06:33:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-print-settings-through-abap-program/m-p/3785258#M910685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T06:33:06Z</dc:date>
    </item>
  </channel>
</rss>

