cancel
Showing results for 
Search instead for 
Did you mean: 

Main winodw table is not getting printed

former_member209914
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

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.

former_member209914
Participant
0 Kudos

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

former_member209914
Participant
0 Kudos

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

former_member585865
Contributor
0 Kudos

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.

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi,

Have you specified the INTENSITY for the Vertical and Horizontal lines.

Please check.

Regards,

Prashant