cancel
Showing results for 
Search instead for 
Did you mean: 

in script i can see boxes in print preview but not on paper after print

Former Member
0 Kudos

hi

in script I created a boxes in main window , those boxes are visible in print preview perfectly..but when I give print then those boxes are not printing on paper.. except those boxes all the data is printing on paper.. plz kindly  help me on this issue.

0 Kudos

Did you ever get this issue fixed?

Im having the same issues and cant seem to find anything explaining why its occuring or how to rectify it.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi mahesh,

increse the width to 20 tw or 1 pt then u wiill get lines in print.

thanks,

naresh

aidan_black
Active Contributor
0 Kudos

Hi,

See SAP note 77976. Try printing via device type POST2 if your printer supports postscript. What is the current device type and the printer model?

Some device types/prnter languages don't support the BOX command.

Regards, Aidan

Former Member
0 Kudos

Hi,

current device type : CNSAPWIN: MS windows Driver Via SAPLPD.

aidan_black
Active Contributor
0 Kudos

Hi,

As per note 77976, in the sapscript form you have to issue the BOX command for the largest box first, followed by the second largest until the smallest. otherwise if you issue the BOX command for the largest box last, it can delete the lines of the previous smaller boxes.

Regards, Aidan

Former Member
0 Kudos

Hi,

this is my code in script

BOX XPOS '1' CM YPOS '20.6' CM WIDTH '19' CM HEIGHT '0' CM FRAME 1 TW

BOX XPOS '1' CM YPOS '21' CM WIDTH '0.5' CM HEIGHT '0.3' CM FRAME 1 TW

BOX XPOS '1' CM YPOS '21.3' CM WIDTH '0.5' CM HEIGHT '0.3' CM FRAME 1 TW

BOX XPOS '0' MM YPOS '7.7' MM WIDTH '195' MM HEIGHT '17' MM FRAME 10 TW

BOX XPOS '1' CM YPOS '21.8' CM WIDTH '2.4' CM HEIGHT '5.5' CM FRAME 10 TW

BOX XPOS '3.4' CM YPOS '21.8' CM WIDTH '12.2' CM HEIGHT '0.7' CM FRAME 10 TW

BOX XPOS '3.4' CM YPOS '22.5' CM WIDTH '12.2' CM HEIGHT '0.7' CM FRAME 10 TW

BOX XPOS '3.4' CM YPOS '23.2' CM WIDTH '12.2' CM HEIGHT '0.7' CM FRAME 10 TW

BOX XPOS '3.4' CM YPOS '23.9' CM WIDTH '12.2' CM HEIGHT '0.7' CM FRAME 10 TW

BOX XPOS '3.4' CM YPOS '24.6' CM WIDTH '12.2' CM HEIGHT '0.5' CM FRAME 10 TW

BOX XPOS '3.4' CM YPOS '25.1' CM WIDTH '12.2' CM HEIGHT '0.5' CM FRAME 10 TW

BOX XPOS '3.4' CM YPOS '25.6' CM WIDTH '12.2' CM HEIGHT '0.5' CM FRAME 10 TW

BOX XPOS '3.4' CM YPOS '26.1' CM WIDTH '12.2' CM HEIGHT '0.6' CM FRAME 10 TW

BOX XPOS '3.4' CM YPOS '25.6' CM WIDTH '12.2' CM HEIGHT '0.6' CM FRAME 10 TW

BOX XPOS '3.4' CM YPOS '26.7' CM WIDTH '12.2' CM HEIGHT '0.6' CM FRAME 10 TW

BOX XPOS '15.6' CM YPOS '21.1' CM WIDTH '4.6' CM HEIGHT '0.7' CM FRAME 10 TW

BOX XPOS '15.6' CM YPOS '21.8' CM WIDTH '4.6' CM HEIGHT '0.7' CM FRAME 10 TW

BOX XPOS '15.6' CM YPOS '22.5' CM WIDTH '4.6' CM HEIGHT '0.7' CM FRAME 10 TW

BOX XPOS '15.6' CM YPOS '23.2' CM WIDTH '4.6' CM HEIGHT '0.7' CM FRAME 10 TW

BOX XPOS '15.6' CM YPOS '23.9' CM WIDTH '4.6' CM HEIGHT '0.7' CM FRAME 10 TW

BOX XPOS '15.6' CM YPOS '24.6' CM WIDTH '4.6' CM HEIGHT '0.5' CM FRAME 10 TW

BOX XPOS '15.6' CM YPOS '25.1' CM WIDTH '4.6' CM HEIGHT '0.5' CM FRAME 10 TW

aidan_black
Active Contributor
0 Kudos

Hi,

The problem with the over-lapping boxes with windows device types described in SAP note 77976 is solvd with the kernel patches listed in SAP note 1657643. As a workaround try printing via device type CNSPOST and the method described in SAP note 83502.

Regards, Aidan

Former Member
0 Kudos

Hi,

thanxs... but i tried by giving CNSPOST in output device still boxes not printing ....

aidan_black
Active Contributor
0 Kudos

Hi,

Try increasng the Frame width to 15TW in th form and create a new spool.

Regards, Aidan

Former Member
0 Kudos
Hi, Thanks ... I have increased frame width that also done before posting to sdn still not printing
Former Member
0 Kudos

Hi,

You can view  the box in your  print preview because SAP provides us to see the window alignments in print preview . For bringing the same in print you can use the BOX HEIGHT ...BOX WIDTH statements in scripts as per your required dimentions.

Still if it is not getting printed please check the SAP Note 19807.

http://www.sapossnotes.com/2011/01/sap-note-19807-sapscript-print-problems.html

Regards,

Arun

Former Member
0 Kudos

Hi,

print preview means after activation of script and giving inputs in print program and executing.. then data will go to script there before giving print Iam checking in print preview. there i can see boxes but not on paper ..

Former Member
0 Kudos

Hi,

thanks.. but still issue not resolved...