on ā2012 Mar 01 3:07 AM
Hello,
I have a problem with a Sapscript.
Due that I need to print new lines using a paper with pre-printing texts, I should move the texts milimeters to display the position in a right way.
However I have a problem that I can't solved...
I have changed the line spacing in SapScript (it would be less than 1,00 LN, I'm using MM, but although I set 0,50 MM, the line spacing is the same.... it is not change...) and nothing has changed.
I have also added printer code in SPAD transaction, in the edition information (Print initialization) and it didn't work...
Could anybody help me? I'll really appreciate it.
Thanks in advance and best regards,
Ignacio R. Guida
Request clarification before answering.
Hi Ignacio and Yican,
which device type is used for the printer EPSON LQ2190. I suppose the customer uses printer driver STN2 (EPESCP,...). For the device types of a line printer(driver STN2), the SAP system must use spaces and empty lines to place the text. This is a limitation of the ESC/P printer language.(see Note 19807)
Do you have this problem, when you use device type SAPWIN?
Best Regards,
Hedvig
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,Rohonyi,
Thank you for your kindly advice.
I will check with customer if the driver is STN2, and if it is you said that must use spaces and empty lines to place the text, do you mean that I should use the format order ' / ' to add a empty line in the text elements eidt? if yes about the height of empty line ,does it decised from the basic setting in the HEAD "LINES/INCH" ?
Could you inform me the detai? Thank you .
Hi Yican,
as note describes 'Non-integral line spacing is not supported', when you use line printer (e.g.EPESCP). In the form should only use a line spacing 1, 2, ... because there is no commands to place text on a page and the text is placed with spaces and empty lines.
To calculate, how many empty lines must be put between two text lines, the system needs to know, which is the height of a line. It takes the fixed value, that a line has a height of 1/6 inch. This is the basic LPI (Line per inch) setting in the form. I suppose the best solution assign device type SAPWIN to output device via SPAD.
Best regards,
Hedvig
Hi,Hedvig,
I think you are correct, because right now if I set a paragraph formate between the two variable, such as below:
whatever howmuch I set to PI line spacing( now is 2.3MM), even I change the various of unit for PI (mm,cm,IN,PT,TW),and when priting it always the same height between the two variable( about 4mm-5mm---it is too large for me ,actually I want the space is 2.5mm), I think maybe is just mactch you mentioned 1/6inch(1inch = 25.4mm).
But I have a confusion that because LPI in basic settings is 6,pls check below screen shot:
As per the calculation base the LPI setting is 6IN, that if a line eq 1/6 LPI, if it just eq 1IN for a line actually?
In practice I want to make the space between two variable eq 2.5mm,and now the minimum distance is 4-5mm as I said, how should I do?
Hi,
Please understand one thing: no amount of fiddling in the Form will change anything if the SAP device type used for printing sets the line spacing to 6 LPI... Which is what, for example, the device types EPESCP and EPESCP2 for line printers do for Page Format LEGAL (and actually all Page Formats):
Now, EPSON LQ2190 specification says: Line Spacings 1/6" or programmable by 1/360" are supported. You'll have to program the non 1/6" LPI in the SAP device type, however - probably via custom Page Format or something. What you will do in Form will merely adjust the SAP print preview to the physical output controlled by device type...
You can continue the fruitless experimentation in the Form, or you can find out an answer to a very basic question already asked 5 days ago: what SAP device type is used for printing?
cheers
JÄnis
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.