<?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>Question Re: How to set Default Printer in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/how-to-set-default-printer/qaa-p/14041569#M4906529</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A class="" href="https://community.sap.com/t5/user/viewprofilepage/user-id/642487" target="_self"&gt;&lt;SPAN class=""&gt;ramco1917&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;As DI API does not appear to have the Printer Setting functionality,&amp;nbsp;there is a workaround that will require some manual work to set the desired printer in the layout (rpt) file itself.&lt;/P&gt;&lt;P&gt;These are the steps to apply the workaround:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Export the layout from Report and Layout Manager saving it as an rpt file.&lt;/LI&gt;&lt;LI&gt;Open the rpt file in Crystal Reports, change the printer in the File&amp;nbsp;→ Page Setup dialog and save the file.&lt;/LI&gt;&lt;LI&gt;Import the rpt file in Report and Layout Manager.&lt;/LI&gt;&lt;LI&gt;Repeat the steps above to each layout that will be sent via DI API to a non-default printer.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Kindly help to test the above mentioned steps and share whether it helps for your cause or not.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Kind regards,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;ANKIT CHAUHAN&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;SAP Business One Support&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Mar 2025 04:46:46 GMT</pubDate>
    <dc:creator>ANKIT_CHAUHAN</dc:creator>
    <dc:date>2025-03-12T04:46:46Z</dc:date>
    <item>
      <title>How to set Default Printer</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-set-default-printer/qaq-p/14040848</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp; In below code is it possible to set default printer &amp;amp; path of Pdf file to be saved&lt;/P&gt;&lt;P&gt;oCmpSrv = oCompany.GetCompanyService();&lt;BR /&gt;oReportLayoutService = (ReportLayoutsService)oCmpSrv.GetBusinessService(SAPbobsCOM.ServiceTypes.ReportLayoutsService);&lt;BR /&gt;oPrintParam = (ReportLayoutPrintParams)oReportLayoutService.GetDataInterface(SAPbobsCOM.ReportLayoutsServiceDataInterfaces.rlsdiReportLayoutPrintParams);&lt;BR /&gt;oPrintParam.LayoutCode = "INV20005";&lt;BR /&gt;oPrintParam.DocEntry = 34681;&lt;BR /&gt;&lt;BR /&gt;oReportLayoutService.Print(oPrintParam);&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 15:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-set-default-printer/qaq-p/14040848</guid>
      <dc:creator>ramco1917</dc:creator>
      <dc:date>2025-03-11T15:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Default Printer</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-set-default-printer/qaa-p/14041569#M4906529</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A class="" href="https://community.sap.com/t5/user/viewprofilepage/user-id/642487" target="_self"&gt;&lt;SPAN class=""&gt;ramco1917&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;As DI API does not appear to have the Printer Setting functionality,&amp;nbsp;there is a workaround that will require some manual work to set the desired printer in the layout (rpt) file itself.&lt;/P&gt;&lt;P&gt;These are the steps to apply the workaround:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Export the layout from Report and Layout Manager saving it as an rpt file.&lt;/LI&gt;&lt;LI&gt;Open the rpt file in Crystal Reports, change the printer in the File&amp;nbsp;→ Page Setup dialog and save the file.&lt;/LI&gt;&lt;LI&gt;Import the rpt file in Report and Layout Manager.&lt;/LI&gt;&lt;LI&gt;Repeat the steps above to each layout that will be sent via DI API to a non-default printer.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Kindly help to test the above mentioned steps and share whether it helps for your cause or not.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Kind regards,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;ANKIT CHAUHAN&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;SAP Business One Support&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 04:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-set-default-printer/qaa-p/14041569#M4906529</guid>
      <dc:creator>ANKIT_CHAUHAN</dc:creator>
      <dc:date>2025-03-12T04:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Default Printer</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-set-default-printer/qaa-p/14046336#M4906999</link>
      <description>&lt;P&gt;Hi Ankit&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; My requirement is when click on Custom Button Default Layout should be sent as an attachment to the Customer.&lt;/P&gt;&lt;P&gt;With the above code it asks for the file to be saved which i don't want.&lt;/P&gt;&lt;P&gt;Is there any other work around. If possible can u share some code.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 16 Mar 2025 14:08:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-set-default-printer/qaa-p/14046336#M4906999</guid>
      <dc:creator>ramco1917</dc:creator>
      <dc:date>2025-03-16T14:08:26Z</dc:date>
    </item>
  </channel>
</rss>

