<?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: How to define a default printer to a program without hardcoding? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-a-default-printer-to-a-program-without-hardcoding/m-p/895433#M54161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Komal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I know that I could define the default printer name in ITCPO-TDDEST in the calling program.&lt;/P&gt;&lt;P&gt;This hardcode method is what I don't want to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you tell me more about the way that you suggested for selecting the printer name from table TSP03? Or there are other ways to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Mar 2005 15:17:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-03-19T15:17:18Z</dc:date>
    <item>
      <title>How to define a default printer to a program without hardcoding?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-a-default-printer-to-a-program-without-hardcoding/m-p/895431#M54159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program linked with Sapscript.&lt;/P&gt;&lt;P&gt;And I want the default printer for all the ppl using this program to be ABC and they are allowed to change any other printer they like. &lt;/P&gt;&lt;P&gt;How can I do that without hardcoding the default printer name in the calling program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Mar 2005 06:40:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-a-default-printer-to-a-program-without-hardcoding/m-p/895431#M54159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-19T06:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a default printer to a program without hardcoding?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-a-default-printer-to-a-program-without-hardcoding/m-p/895432#M54160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Macy,&lt;/P&gt;&lt;P&gt;you can pass default printer name for a SapScript by passing print parameters in function OPEN_FORM. in function OPEN_FORM one input parameter is OPTIONS where you can pass structure ITCPO. you can definr default printer name in ITCPO-TDDEST. if you don't want to hardcode printer name then you can select it from table TSP03.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Komal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Mar 2005 08:40:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-a-default-printer-to-a-program-without-hardcoding/m-p/895432#M54160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-19T08:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a default printer to a program without hardcoding?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-a-default-printer-to-a-program-without-hardcoding/m-p/895433#M54161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Komal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I know that I could define the default printer name in ITCPO-TDDEST in the calling program.&lt;/P&gt;&lt;P&gt;This hardcode method is what I don't want to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you tell me more about the way that you suggested for selecting the printer name from table TSP03? Or there are other ways to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Mar 2005 15:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-a-default-printer-to-a-program-without-hardcoding/m-p/895433#M54161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-19T15:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a default printer to a program without hardcoding?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-a-default-printer-to-a-program-without-hardcoding/m-p/895434#M54162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Macy,&lt;/P&gt;&lt;P&gt;From TSP03 table you can select printers in your program based on application server, access method etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Komal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2005 04:37:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-a-default-printer-to-a-program-without-hardcoding/m-p/895434#M54162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-21T04:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a default printer to a program without hardcoding?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-a-default-printer-to-a-program-without-hardcoding/m-p/895435#M54163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Macy,&lt;/P&gt;&lt;P&gt;You could also take the printer name from the user's profile (if it has been filled in). The user's default printer is held in table USR01 field SPLD. You can read this table using BNAME = sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Paul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2005 12:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-a-default-printer-to-a-program-without-hardcoding/m-p/895435#M54163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-23T12:49:40Z</dc:date>
    </item>
  </channel>
</rss>

