on 04-27-2009 10:23 AM
Hi Experts,
I am developing the Invoice using smartform and i am printing the net amount in the output. In print preview it is ok, but while printing i am facing the misalignment in the amount field.
For Example:
field : &VBAP-NETPR(C)&
Unit Price
-
12
-
333
-
34343
--- 3434355
34343434343
Note: line (---) is the empty space
Required Output:
Unit Price
12
333
34343
3434355
34343434343
Note: In print preview i am able to see the correct output . But while printing i am not get the proper output. I am using Epson Dot matrix printer . please provide me the valuable solutions.
Thanks in advance
Satish
Edited by: satish A on Apr 27, 2009 11:23 AM
Edited by: satish A on Apr 27, 2009 11:25 AM
Edited by: satish A on Apr 27, 2009 11:26 AM
Hi!
In your smartform
define Style for your smartform.
there create a paragraph format in which in the tab Indents and Spacing define the alignment as left-aligned .
save the style and activate it.
now go to your form and there where you are writing the text unit in that text node
go to the output options tab and rite your style name in the style input box.
then go to the general attributes tab and there in paragraph formats you can find your paragraph format that you have defined select in in the list box.
activate your form.
you will get the desired output.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use condense .It removes the emprty spaces.
CONDENSE <FILED-NAME>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check this field paraggraph format.
if you are using like RA : &VBAP-NETPR(C)& here RA paragraph format
goto smart style and select the RA Par.format here select RIGHT ALLIGNMENT.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Define the field of type character.
If this does not solve the issue, try defining SMARTSTYLE, define a Paragraph format and set as left-aligned in it.
Assign paragraph format to your field
You will need to properly assign margins etc, so that it properly aligns with your other contents.
Regards,
Mohaiyuddin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
before printing &VBAP-NETPR(C)& move the value to a CHAR field.
eg:
data : lv_netpr(20) type c.
lv_netpr = VBAP-NETPR.
&lv_NETPR(C)&
also, it is good to print the currency value in RIGHT ALLIGNMENT.
Regards,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try using char field for the amount so that it starts from left.
Regards,
jaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.