cancel
Showing results for 
Search instead for 
Did you mean: 

sap script - why there's a difference between print preview and print ?

Former Member
0 Kudos

hi expert,

I have a form in sapscript, in the print preview is correct.... but the paper printed is different,

some vertical and orizontal row they not printed. Why ? How can i solve the problem ?

tks,

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I dont know... I solved by write in different way the table...

box with widht = 0...

Former Member
0 Kudos

Hi,

Roberto Baldass..,

you check with in your paper size and printer settings,,

Regards,

Ansari.

Former Member
0 Kudos

Best solution I found for this kind of problem is to ask the Basis people to update the printer drivers.

Former Member
0 Kudos

there is an SAP note which you will get after searching the forum, it is an issue with the printer drivers.

Former Member
0 Kudos

Hi roberto,

try printout with printer LOCL.

probably this has to do with the bad sap printerdrivers,

Gr., Frank

Former Member
0 Kudos

I tried with locl,

and there's the problem ....

Former Member
0 Kudos

Hi Roberto,

There are a lot of problems concerning a difference between printout and preview.

there are also a lot of possible solutions.

Here there is another one:

The print drivers are not as good at handling overlapping and nested boxes as the print preview. If the boxes share coordinates the print driver may only print one of the boxes. This is a common problem if you use nested boxes to divide an area into columns.

Gr., Frank

Former Member
0 Kudos

tks,

to write a table I use this code:

BOX XPOS '0.2' MM YPOS 111 MM WIDTH 196 MM HEIGHT 24 MM FRAME 10 TW

BOX XPOS '20.2' MM YPOS 105 MM WIDTH '123.8' MM HEIGHT 30 MM FRAME 10 TW

BOX XPOS '0.2' MM YPOS 101 MM WIDTH 20 MM HEIGHT 34 MM FRAME 10 TW

BOX XPOS '20.2' MM YPOS 101 MM WIDTH 20 MM HEIGHT 34 MM FRAME 10 TW

BOX XPOS '40' MM YPOS 101 MM WIDTH 20 MM HEIGHT 34 MM FRAME 10 TW

BOX XPOS '60' MM YPOS 101 MM WIDTH 20 MM HEIGHT 34 MM FRAME 10 TW

BOX XPOS '80' MM YPOS 101 MM WIDTH 20 MM HEIGHT 34 MM FRAME 10 TW

BOX XPOS '100' MM YPOS 101 MM WIDTH 20 MM HEIGHT 34 MM FRAME 10 TW

BOX XPOS '120' MM YPOS 101 MM WIDTH 12 MM HEIGHT 34 MM FRAME 10 TW

BOX XPOS '132' MM YPOS 101 MM WIDTH 12 MM HEIGHT 34 MM FRAME 10 TW

BOX XPOS '144' MM YPOS 101 MM WIDTH 52 MM HEIGHT 34 MM FRAME 10 TW

BOX XPOS '0.2' MM YPOS 117 MM WIDTH 196 MM HEIGHT 18 MM FRAME 1 TW

BOX XPOS '0.2' MM YPOS 123 MM WIDTH 196 MM HEIGHT 12 MM FRAME 1 TW

Do you know other code, mybe to write a tible with 1 code row ?

tks

Former Member
0 Kudos

Hi Roberto,

I have had a similar problem in another thread.

at that time there was given the following answer. It solved the problem

You can get this probelm if you are printing on you locl printer.

Test to print on a SAP defined printer (not you PC printer)

Just try it.

Gr., Frank

Former Member
0 Kudos

Hellp Frank,

I found the problem, I think that the lasts box delete the prevoius box, so i think that I have to use

other command and not box.

Do you know the sap script list command ?

tks.

Former Member
0 Kudos

Hi,

I think i know the most SAP scripts command. But i cannot remember to heard about a LIST command in SAPscript ever.

But before figuring that out. Try to print to a printer using a sap printerdriver (NOT LOCL).

Gr., Frank