<?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 Changing LPI parameter value in SPAD - Format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-lpi-parameter-value-in-spad-format/m-p/9384146#M1734375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding the LPI (Lines Per Inch) parameter that can be parameterized for a Format associated with a Device Type using transaction SPAD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From a couple of forum searches I gathered that both the LPI parameter and the ‘Page Lines’ parameter are used to define the vertical height of the page. I also noticed that all the format/printer settings that were displayed in replies to other threads had the LPI parameter with the value 6, which is parameterized using the expression: \e\0x32. SAP documentation regarding Device Formats (&lt;A href="http://help.sap.com/saphelp_40b/helpdata/en/d9/4a95af51ea11d189570000e829fbbd/content.htm"&gt;http://help.sap.com/saphelp_40b/helpdata/en/d9/4a95af51ea11d189570000e829fbbd/content.htm&lt;/A&gt;) states that the value after the ‘x’ is in Hexadecimal numeration. Nevertheless, the number 32 has 50 as its decimal correspondent and not 6 as one would expect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, can anyone explain me what is the process behind the parameterization of the LPI parameter?&lt;/P&gt;&lt;P&gt;I would like to know that in order to change a 6 LPI parameter to 9 LPI parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Apr 2013 13:43:15 GMT</pubDate>
    <dc:creator>former_member764607</dc:creator>
    <dc:date>2013-04-04T13:43:15Z</dc:date>
    <item>
      <title>Changing LPI parameter value in SPAD - Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-lpi-parameter-value-in-spad-format/m-p/9384146#M1734375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding the LPI (Lines Per Inch) parameter that can be parameterized for a Format associated with a Device Type using transaction SPAD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From a couple of forum searches I gathered that both the LPI parameter and the ‘Page Lines’ parameter are used to define the vertical height of the page. I also noticed that all the format/printer settings that were displayed in replies to other threads had the LPI parameter with the value 6, which is parameterized using the expression: \e\0x32. SAP documentation regarding Device Formats (&lt;A href="http://help.sap.com/saphelp_40b/helpdata/en/d9/4a95af51ea11d189570000e829fbbd/content.htm"&gt;http://help.sap.com/saphelp_40b/helpdata/en/d9/4a95af51ea11d189570000e829fbbd/content.htm&lt;/A&gt;) states that the value after the ‘x’ is in Hexadecimal numeration. Nevertheless, the number 32 has 50 as its decimal correspondent and not 6 as one would expect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, can anyone explain me what is the process behind the parameterization of the LPI parameter?&lt;/P&gt;&lt;P&gt;I would like to know that in order to change a 6 LPI parameter to 9 LPI parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 13:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-lpi-parameter-value-in-spad-format/m-p/9384146#M1734375</guid>
      <dc:creator>former_member764607</dc:creator>
      <dc:date>2013-04-04T13:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Changing LPI parameter value in SPAD - Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-lpi-parameter-value-in-spad-format/m-p/9384147#M1734376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my understanding this is also related to page &lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;height, so &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background: none repeat scroll 0% 0% white;"&gt;\e\0x41\0x0C&lt;/SPAN&gt;&lt;SPAN style="background: none repeat scroll 0% 0% white;"&gt;\e\0x32 is concatenation of&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Set 6 LPI = &lt;SPAN style="background: none repeat scroll 0% 0% white;"&gt;\e\0x41\0x0C where x'0C' =&amp;nbsp; 12 = 72" / 6" where 72" is default height&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background: none repeat scroll 0% 0% white;"&gt;Start this line spacing \e\0x32&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So 9 LPI should be&amp;nbsp; &lt;SPAN style="background: none repeat scroll 0% 0% white;"&gt;\e\0x41\0x08&lt;/SPAN&gt;&lt;SPAN style="background: none repeat scroll 0% 0% white;"&gt;\e\0x32 ? (x08 = 8 = 72 / 9)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We can also force height with \e\0x43\0x48 set page height to x'48' = 72 lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there may be a better space at scn than &lt;A _jive_internal="true" href="https://answers.sap.com/community/abap"&gt;ABAP Development&lt;/A&gt; for this question, like &lt;A _jive_internal="true" href="https://answers.sap.com/community/output-management"&gt;Output Management&lt;/A&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 14:36:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-lpi-parameter-value-in-spad-format/m-p/9384147#M1734376</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-04-04T14:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Changing LPI parameter value in SPAD - Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-lpi-parameter-value-in-spad-format/m-p/9384148#M1734377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the fast reply Raymond. Your answer was very clear and allowed me to better understand the parameterization of LPI and Number of Lines parameters in SPAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although I’m still not capable of meeting my goal - defining a page with 4,222 inches height (more precisely 4 and 2/9 inches height). With your answer I thought that I would have to had, Number of Lines = 38 and LPI = 9, which would result in the desired 4,222 inches. I parameterized them as following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Number of Lines&lt;/P&gt;&lt;P&gt;\e\0x43\0x26&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# LPI = 9&lt;/P&gt;&lt;P&gt;\e\0x41\0x04\e\0x32&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I parameterized LPI using ‘04’ since is the hexadecimal number closer to 4,222)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me what I did wrong? I’m convinced that the error is related with the LPI parameter once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 21:40:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-lpi-parameter-value-in-spad-format/m-p/9384148#M1734377</guid>
      <dc:creator>former_member764607</dc:creator>
      <dc:date>2013-04-04T21:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Changing LPI parameter value in SPAD - Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-lpi-parameter-value-in-spad-format/m-p/9384149#M1734378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would have performed in reverse order (and no rounding)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;first LPI,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \e\0x41\0x08\e\0x32 " 08 = 72 / 9&lt;/LI&gt;&lt;LI&gt;then height,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \e\0x43\0x26 &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But usually I contact printer manufacturer support &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Apr 2013 08:14:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-lpi-parameter-value-in-spad-format/m-p/9384149#M1734378</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-04-06T08:14:04Z</dc:date>
    </item>
  </channel>
</rss>

