<?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 how to set printer settings in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-printer-settings/m-p/3746805#M901474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created report for purchase register.&lt;/P&gt;&lt;P&gt;i am taking print this on epson printer.&lt;/P&gt;&lt;P&gt;i have created my own page size as below&lt;/P&gt;&lt;P&gt;width is 40 cms and height is 30 cms.&lt;/P&gt;&lt;P&gt;how can i assign above width and height for my printer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Apr 2008 07:31:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-30T07:31:28Z</dc:date>
    <item>
      <title>how to set printer settings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-printer-settings/m-p/3746805#M901474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created report for purchase register.&lt;/P&gt;&lt;P&gt;i am taking print this on epson printer.&lt;/P&gt;&lt;P&gt;i have created my own page size as below&lt;/P&gt;&lt;P&gt;width is 40 cms and height is 30 cms.&lt;/P&gt;&lt;P&gt;how can i assign above width and height for my printer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 07:31:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-printer-settings/m-p/3746805#M901474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T07:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to set printer settings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-printer-settings/m-p/3746806#M901475</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;Please check below strutures, It will help you to solve ur problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ssfctrlop&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ssfcompop&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ssfcompin.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: gt_control TYPE ssfctrlop,
      gt_output  TYPE ssfcompop,
      gs_input TYPE ssfcompin.
 
  gs_input-device = 'PRINTER'.
  gs_input-tdpreview = 'X'.
  gs_input-tddest = 'LP01'.
  gs_input-dialog = ' '.
  CALL FUNCTION 'SSF_OPEN'
       EXPORTING
            input         = gs_input
            user_settings = 'X'
       EXCEPTIONS
            error         = 1
            OTHERS        = 2.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
*  gt_output-tdnewid = 'X'.
*  gt_output-tddest = 'LP01'.
 
  gt_control-preview = 'X'.
  gt_control-no_dialog = 'X'.
  gt_control-no_open   = 'X'.
  gt_control-no_close  = 'X'.
 
  CALL FUNCTION gv_func_name
       EXPORTING
            order              = pa_order
            control_parameters = gt_control
            output_options     = gt_output
            user_settings      = space
       EXCEPTIONS
            formatting_error   = 1
            internal_error     = 2
            send_error         = 3
            user_canceled      = 4
            OTHERS             = 5.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    WRITE: 'Sy-subrc:',sy-subrc,
           'Error occurred while calling smart form FM!'.
  ENDIF.
 
  CALL FUNCTION 'SSF_CLOSE'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anversha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 07:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-printer-settings/m-p/3746806#M901475</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2008-04-30T07:42:47Z</dc:date>
    </item>
  </channel>
</rss>

