2013 Apr 04 2:43 PM
Hello experts,
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.
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 (http://help.sap.com/saphelp_40b/helpdata/en/d9/4a95af51ea11d189570000e829fbbd/content.htm) 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.
So, can anyone explain me what is the process behind the parameterization of the LPI parameter?
I would like to know that in order to change a 6 LPI parameter to 9 LPI parameter.
Thanks and Regards.
2013 Apr 04 3:36 PM
In my understanding this is also related to page height, so \e\0x41\0x0C\e\0x32 is concatenation of
So 9 LPI should be \e\0x41\0x08\e\0x32 ? (x08 = 8 = 72 / 9)
We can also force height with \e\0x43\0x48 set page height to x'48' = 72 lines
But there may be a better space at scn than ABAP Development for this question, like Output Management ?
Regards,
Raymond
2013 Apr 04 10:40 PM
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.
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:
# Number of Lines
\e\0x43\0x26
# LPI = 9
\e\0x41\0x04\e\0x32
(I parameterized LPI using ‘04’ since is the hexadecimal number closer to 4,222)
Can you tell me what I did wrong? I’m convinced that the error is related with the LPI parameter once again.
Thanks and Regards.
2013 Apr 06 9:14 AM
I would have performed in reverse order (and no rounding)
But usually I contact printer manufacturer support
Regards,
Raymond
2022 Nov 24 10:17 AM
Hello there, I'm satisfied with today's research on LPI Summer Internship, and it's only when I came across your content, that it's amazing. I have some similar content that best describes LPI Summer Internship, and it can be helpful to you in any way so all you need to explore is just visit my website through the link below. https://www.makeoverarena.com/lpi-summer-internship/