Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Data getting cut in SAP script after changing the Printer

Former Member
0 Likes
3,385

HI,

I have a SAP script which was getting printed properly on A4 size paper on a dot matrix printer.

Now, when i am giving the printout on a Laser printer with A4 paper, data is getting cut off.

Page format in script is customr format with 10 IN X 12 IN.

Any idea?

Thanks,

Amit Dwivedi

8 REPLIES 8
Read only

peng_wen
Product and Topic Expert
Product and Topic Expert
1,722

Hello,

Exactly the printing position is not identical by each printing language,
please refer to note 90437 and 183948 for more details.

You can try to use the Horizontal move and Vertical Shift settings in
in SPAD for the output device to adjust the position of the print.

   SPAD -> Output Devices -> e.g. LP01
         -> 'Output attributes' tab
          -> Additional Smartform and Sapscript information
           -> Vertical Shift: enter e.g. -5 mm

If this can not help you then the only solution is to adjust the margin

of your smartform.

Regards,
Wen Peng

Read only

Former Member
0 Likes
1,722

Hello Wen,

Thanks for the reply. the data is showwing propery in print preview. ony after taking print out the data is getting cut-off.

Also i have tried increasing the width of the custom page but of no help.

Thanks,

Amit Dwivedi

Read only

peng_wen
Product and Topic Expert
Product and Topic Expert
0 Likes
1,722

Hello Amit Dwivedi,Regards,


The difference is caused by printer and the device type used,

so the print preview must be correct. Please read notes 90437 and 183948.
If you want to change the from you have to reduce the table length or the font size, or the margin
size.


Regards,

Wen Peng

Read only

Former Member
0 Likes
1,722

Hi,

Tried everything but of no help.

1. reduced the font size. 2. Changed the page size and margins.

Any ideas

Thanks,

Amit Dwivedi

Read only

peng_wen
Product and Topic Expert
Product and Topic Expert
0 Likes
1,722

Hello,

Have you tried to reduce the width of the Window?

If the issue is happening with a PCL device type, you can try to use SAPWIN and see it again.

Regards,
Wen Peng

Read only

Former Member
0 Likes
1,722

Hi Amit,

Do the following steps.

1.SPAD-->Choose the output device-->Output attributes--> Check the Print mode.

If it is Default printer setting...then..

Search in your windows view devices and printers.You choose the default printer and do a right click and choose printing prefernces.

Compare the width and height with your previous printer.Just ensure both matches..

Hope it helps.

Regards,

Kannan

Read only

Former Member
0 Likes
1,722

Hi Kanan,

I checked in windows device and printers and paper zise used in the printer is Letter 8.5 IN x 11 IN.

While in SAP script it is 10 IN X 12 IN. but i want my script to be printed on A4 paper size. I tried changing the paper size to A4 in windows device and printer. bit still same problem.

@ Pen : I did not tried reducing the window width. But will that not make the details inside the window looks very messy.

Thanks,

Amit Dwivedi

Read only

0 Likes
1,722

Hi Amit,

Can you compare the device printer setting property of the Lase printer against the Dot matrix printer.Go for a custom size from the drop down and try to do some tweaking.

Regards,

Kannan