on 06-03-2009 7:18 PM
Hi All,
we have a requirement to print vertical and horizontal lines along with line items. For this I had used BOX command to draw the lines in main window itself.
I am able to see the lines in print priview. But, when I am issuing print out. Lines are not getting printed along with line items.
We are using BOX command in another winodw to display the Header. In print out lines are printing for the header.
what was the problem?. Please provide me the solution?..
Regards,
vinod
Hi,
First write the code for Box command
BOX WIDTH '23.00' CM FRAME 10 TW INTENSITY 15
Then go for the columns in that Box
BOX XPOS '3.50' CM WIDTH 0 TW HEIGHT '11.4' CM FRAME 10 TW
BOX XPOS '7.00' CM WIDTH 0 TW HEIGHT '11.4' CM FRAME 10 TW
BOX XPOS '15.00' CM WIDTH 0 TW HEIGHT '11.4' CM FRAME 10 TW
By varing the XPOS u can draw no of columns in that box,but keep it in mind box width is 23 CM .
Thanks ,
Bala.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Still I am facing same problem. Lines are not getting printed.
If I am generating spool request, then converting into PDF, Then it is printing all the lines from pdf.
I tried another way by taking another window(ITEMS) which is of main window size. In ITEMS winodw I had written the BOX command to draw the lines. Still the lines are not getting printed.
Regards,
vinod
Hi All,
I am using below code to display lines.
BOX YPOS '00.0' LN XPOS '0.00' CH WIDTH '8.0' CH HEIGHT &HCNTR& LN FRAME 10 TW
BOX YPOS '00.0' LN XPOS '0.00' CH WIDTH '16.0' CH HEIGHT &HCNTR& LN FRAME 10 TW
BOX YPOS '00.0' LN XPOS '0.00' CH WIDTH '28.0' CH HEIGHT &HCNTR& LN FRAME 10 TW
BOX YPOS '00.0' LN XPOS '0.00' CH WIDTH '37.0' CH HEIGHT &HCNTR& LN FRAME 10 TW
BOX YPOS '00.0' LN XPOS '0.00' CH WIDTH '65.0' CH HEIGHT &HCNTR& LN FRAME 10 TW
BOX YPOS '00.0' LN XPOS '0.00' CH WIDTH '74.0' CH HEIGHT &HCNTR& LN FRAME 10 TW
BOX YPOS '00.0' LN XPOS '0.00' CH WIDTH '80.0' CH HEIGHT &HCNTR& LN FRAME 10 TW
BOX YPOS '00.0' LN XPOS '0.00' CH WIDTH '83.0' CH HEIGHT &HCNTR& LN FRAME 10 TW
BOX YPOS '00.0' LN XPOS '0.00' CH WIDTH '91.0' CH HEIGHT &HCNTR& LN FRAME 10 TW
BOX YPOS '00.0' LN XPOS '0.00' CH WIDTH '102.0' CH HEIGHT &HCNTR& LN FRAME 10 TW
Where &HCNTR& is the variable. For first line item HCNTR will be 1, for 2 line item HNCTR will b2 2....it will continue till the line items ends.
Regards,
vinod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinod,
As long as you can see the lines in the Print preview its perfect, the issue is because of printer settings or the font you are using may not be supported by the printer just try in some other printer and try or else convert the sap script to PDF and check the Lines are coming or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vinod,
This could be the printer settings problem.
I had the similar problem before.
My suggestion is, you may try out other printer to print the document and see the result.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you specified the INTENSITY for the Vertical and Horizontal lines.
Please check.
Regards,
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.