Application Development 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: 

Smartforms - Printing Label

Former Member
0 Kudos

Hello All,

I´m developing a smartform to print information in a label that has 6cm height.

My problem is that when I print the informaton the smartform prints information of the next label on the previous information. It seems that the smartform understands my label has 5cm of height.

How can I 'enlarge' the height of the window or table so smartform will print the correct information on the next label ?

Thanks in advance.

Best regards,

Marcelo Perine

13 REPLIES 13

Former Member
0 Kudos

hI,

cHECK THE 'OUTPUT OPTIONS' TAB OF WINDOW.

JAFFER VALI SHAIK

Former Member
0 Kudos

Hi Jaffer,

I don´t understand.

I check the 'OUTPUT OPTIONS' and the attribute Position and Size are exately the same size of my label.

Thank you.

0 Kudos

Do you have two windows for the two labels? Are they overlapping?

Former Member
0 Kudos

No, I´m working with only one window.

I have put the image of the smartform at the link bellow.

Would you please see it ?

Smartform 1

Smartform 2

My problem is that the smartform is printing two registers in one lable. It´s seens that the new-page function ins´t working.

Thanks in advance.

Message was edited by: Marcelo Perine

0 Kudos

I can't see your images.

Are you trying to print two labels on two pages? One label on each page? Are you using a main window? Please explain how you are trying to print.

0 Kudos

Matt,

The smartform receive information in Form interface -> Tables -> ZTB0014

Each register of this table is printing in one label. Then, my problem is that the smartform is printing two registers in one lable. It´s seens that the new-page function ins´t working.

Main window

-Loop

--Table

---Text1

---Text2

--Command

Main - Output options

-

-


Left margin 0,00 CH

Upper margin 0,00 LN

Width 82,00 CH

Height 15,00 LN

Loop

-

-


Internal table ZTB0014 INTO EST0014

Table

-

-


Table width 80,00 CH

Horizontal alignment Left 0,00 CM

Minimum Height 0,00

Line1 50,00 CH | 30,00 CH

Text1

-

-


(1) Recebedor das Mercadorias.

&EST0014-NAME1&

&EST0014-STRAS&

&EST0014-ORT01& - &EST0014-REGIO&

&EST0014-ORT02&

CEP &EST0014-PSTLZ&

(4) Transportadora

&EST0014-TRANS&

Text2

-

-


Volume

&EST0014-VOLUM&

Command

-

-


X Go to new page %PAGE1

Reset paragraph number P1

Message was edited by: Marcelo Perine

Message was edited by: Marcelo Perine

Message was edited by: Marcelo Perine

0 Kudos

Hi Marcelo,

The problem with the page format as you printing in a custom size paper or label.

Create a new page format (transaction SPAD)with your label required sizes and save(Once you create page format contact your basis team they will do some config adjustments). Maintain the same required size in smartform window.

Once you done the above you will definetly get print what you looking for.

If you need any more help let me know.

thanks,

Please reward if it helps.

Bt

0 Kudos

B t,

We´ve already created a new page format ( TA SPAD )as follows :

Page format Z0072

Z0072 64 MM 210 MM landscape

Z0072 210 MM 64 MM portrait

At Smartform we are using this page format as follows:

Form ZSF0001_0072 Active

Description

Page format Z0072

Characters per inch 10,00

Lines per inch 6,00

Style Z0072

But the problem persists.

Thank you for your help.

Marcelo

0 Kudos

Mercelo,

Your page format should be(6 inches= 152.4 or 153 mm )height and same way width(if 2 in = 50.8 mm ) for portrait.

make sure more or less same size of your window size in smart form.

Because some time back i had worked on barcode label size of 1hX3w IN. Initially I got the same problem like yours...once i made both page format and window size almost same then i got print exactly.

I am sure same problem you have now if am not wrong.

thanks,

Bt

0 Kudos

I think Bt is on to something. Try making your main window 64 MM width and 210 MM height.

0 Kudos

Bt,

We did every thing you told us to do, but the problem persists.

We tryed to use page format DINA4 and smartform printd in two diferent pages. But isn´t the format we need.

Matt,

We were already using that heigh and size in the main window.

Do you have any more sugestions ?

Thanks

0 Kudos

If your main window is the exact size of your page format, try taking out the command node and just setting the next page of page1 to page1.

0 Kudos

Hi,

I have checked that the error is in Spool Adminstration(SPAD).

Thanks in advance.

Best regards,

Marcelo Perine