cancel
Showing results for 
Search instead for 
Did you mean: 

Template does not fit into window in Smart forms

rahulab
Participant
0 Kudos

Hi Friends,

I have a window height 3cm.

In that i have a template height 3cm.

The form gets activated fine but while printing it from me22n ,

i get an error saying "Template does not fit into window".

Now i change the height og template to 2.7 cm and i get the corrrect PO output.

I treid 2.8 cm and gives me the error again.

The maximum height its allowing for my 3cm window is a 2.7cm template.

I have done other forms before where i have given same height for window and template

and they have workd fine.

I can also see other forms here which are running fine with same window and template height.

Please help me if any one has faced this before.

The width is absolutely fine..only the hieght if i Cross 2.7cm i get the error.

Accepted Solutions (1)

Accepted Solutions (1)

Sandra_Rossi
Active Contributor
0 Kudos

Maybe a buffer problem, did you restart ME22N?

rahulab
Participant
0 Kudos

Hi Snadra,,

Yes i did restart ME22N.

Its still the same , Infact wheni make the height 2.7 cm it works,

But if i make it 2.8cm (with window height 3cm) it throws the error.

I tried givin window height 4cm and template 3 cm,(1 full cm less) but it still throws the error.

rahulab
Participant
0 Kudos

Hi all,,

Now i observe that irrespective of the height of the window,

the template height can not be more than 2.7 cm....

I gave window height 6cm, template height 2.7cm and it still errors out.

With"template cant fit in window"

This is very very strange...do let me know if any of you have faced the same issue

Sandra_Rossi
Active Contributor
0 Kudos

The only thing I can think of is that your window is attached to 2 pages, and has a different height (one has 2.7 cm)

Former Member
0 Kudos

Hi friends,

can anyone give solution to this problem.

i have main window size 215 X 305 (width X height) .

i have templete 8 cells 3.5 X 8 = 28 thein space between each cell. total height of templet is 305MM.

my probelm is when i set templete height 305MM system throwing error templet does not fit in window.

when i made templet height 296 MM it does not gove any error.

i have checked and there is no mistake in my height calcuation.

regards,

K.Satyanarayana

aidan_black
Active Contributor
0 Kudos

Hi,

I guess you use a device type with STN2 driver like described in SAP note 19807. This is a limitation of the ESC/P printer language.

Smartforms composer rounds all co-ordinates of the templates and the windows.

As a solution, you must increase the size of the window slightly. Another sollution is to print via windows and a windows device type like SAPWIN or SWINCF.

Regards,

Aidan

Former Member
0 Kudos

Hi friend,

i tested with this devices.it show print preview fine like if it is 2 pages show two pages but while printing

second page data printing on first page . only 1 page printing instead 2 pages.

how to overcome with this problem.

regards,

K.Satyanarayana

aidan_black
Active Contributor
0 Kudos

Hi,

Do you use a cutom page format? Check as follows in the 'End of Page' section for your page format:

SPAD -> Full Admin -> Device Types -> SAPWIN -> Formats -> <Format Name> -> End of Page:

Add command below in this section and see if this resolves the problem:

  1. formfeed

\f

You can check against the DINA4 format:

SPAD -> Full Admin -> Device Types -> SAPWIN -> Formats-> DINA4 -> End of Page:

Regards,

Aidan

Answers (0)