<?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: Problem with Script Printout Alignment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-script-printout-alignment/m-p/10563945#M1858529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the alignment of text in printed output depends on the font used. There are fixed-width fonts (like COURIER) where every char (including SPACE) has same width. &lt;/P&gt;&lt;P&gt;And there are proportionally spaced fonts (HELVE, TIMES) where chars have different widths. So SAPscript must calculate alignment (if you want e.g. centered or block-aligned formatting) depending on the actual font used (this is determined by the used pritner+device type).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The active font is selected in your form&amp;nbsp; (or a style if you are using one).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the debugger you cannot see if text is properly "aligned" when using a proportional font.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want table-like layout in SCR (like text in two columns), you cannot use spaces between columns when a prop. font is used, you should use tabulator moves (,, in the form) to align. For this, define tab positions in a paragraph definition in your form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt; Alex&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Sep 2014 15:25:24 GMT</pubDate>
    <dc:creator>alexander_bolloni</dc:creator>
    <dc:date>2014-09-02T15:25:24Z</dc:date>
    <item>
      <title>Problem with Script Printout Alignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-script-printout-alignment/m-p/10563944#M1858528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Long text. in the long text I have maintained some static text ( text in Table format. long text has vertical and horzontal lines.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked in print priview of long text, the alignment is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have called this long text in One Script Via Include statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in print priview of the script, this long text is not printed properly. i.e. Alignment is missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have debugged the Script, In debugging the long text is seeing good in alignment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in print priview of the script is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Suggest me how to get correct the alignment in Script Print Priview.&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>Tue, 02 Sep 2014 08:19:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-script-printout-alignment/m-p/10563944#M1858528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-02T08:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Script Printout Alignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-script-printout-alignment/m-p/10563945#M1858529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the alignment of text in printed output depends on the font used. There are fixed-width fonts (like COURIER) where every char (including SPACE) has same width. &lt;/P&gt;&lt;P&gt;And there are proportionally spaced fonts (HELVE, TIMES) where chars have different widths. So SAPscript must calculate alignment (if you want e.g. centered or block-aligned formatting) depending on the actual font used (this is determined by the used pritner+device type).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The active font is selected in your form&amp;nbsp; (or a style if you are using one).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the debugger you cannot see if text is properly "aligned" when using a proportional font.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want table-like layout in SCR (like text in two columns), you cannot use spaces between columns when a prop. font is used, you should use tabulator moves (,, in the form) to align. For this, define tab positions in a paragraph definition in your form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt; Alex&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 15:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-script-printout-alignment/m-p/10563945#M1858529</guid>
      <dc:creator>alexander_bolloni</dc:creator>
      <dc:date>2014-09-02T15:25:24Z</dc:date>
    </item>
  </channel>
</rss>

