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

SmartForm - ZPL in Text Module - blanks missing

Former Member
0 Likes
1,428

We are using a SmartForm to generate labels using Zebra printers. The actual ZPL code is in text modules (with variables from the SmartForm embedded). These text modules are dynamically pulled based on data retrieved in the SmartForm. All works well except that some (not all) spaces are getting lost in the process (e.g. 'OLD FERRYRD' instead of 'OLD FERRY RD'). The spool request for the section above looks as follows (RAW format):

CT00000000

ST0013509OLD FERRY

EP

IN05FIRST

OPLETTER P 144 240 1584012240000340003400000

IN06MAIN

MT0000000240

CP11000000E

FCCOURIER 040 00015 SF001SF001110000015E

UL +0000000000000

CT00000000

ST0003002RD

EP

The entire spool request for one label is listed as 84 pages... It seems SAP arbitrarily breaks up the text as it sees fit. When it is pieced back together in the printer characters get lost.

We are using device type Z_LB_ZEB2 and are on WebAS 6.20

Any ideas?

Ingo Kiesewetter

We are using a SmartForm to generate labels using Zebra printers. The actual ZPL code is in text modules (with variables from the SmartForm embedded). These text modules are dynamically pulled based on data retrieved in the SmartForm. All works well except that some (not all) spaces are getting lost in the process (e.g. 'OLD FERRYRD' instead of 'OLD FERRY RD'). The spool request for the section above looks as follows (RAW format):

CT00000000

ST0013509OLD FERRY

EP

IN05FIRST

OPLETTER P 144 240 1584012240000340003400000

IN06MAIN

MT0000000240

CP11000000E

FCCOURIER 040 00015 SF001SF001110000015E

UL +0000000000000

CT00000000

ST0003002RD

EP

The entire spool request for one label is listed as 84 pages... It seems SAP arbitrarily breaks up the text as it sees fit. When it is pieced back together in the printer characters get lost.

We are using device type Z_LB_ZEB2 and are on WebAS 6.20

Any ideas?

Ingo Kiesewetter

4 REPLIES 4
Read only

Former Member
0 Likes
1,141

Turned out to be simple: the MAIN window was too small which led to the page breaks.

Read only

0 Likes
1,141

Hello,

Could you please give an example to explain how you embed ZPL with Smartform variables at text module level.

I have created a label in Smartforms on A5 dimensions in landscape style. But when I print label is printed on portrait style. Zebra printer (Z6Mplus) using ZLZEB2(203dpi) as device type. When I use ZPL commands 'FWR' or 'PO' the rotation of the labels is within the window specified..

Read only

0 Likes
1,141

Hi Divya..

I am trying to Print SmartForm on a Zebra Printer with Landscape format. But it is over writing it....

I have use 'FWN' command it prints in Portrait format

1

2

3

4

But I need like this

1 2 3 4

But when I use 'FWR' command it is over writing on the same data..

Waiting for u r reply..

with regards,

chaithanya.

Read only

0 Likes
1,141

Hi Chaithanya,

I face the same problem as you did last year.

When using '^FWR' to print a zebra lable rotated all texts are printed in the same line.

Did you solve it and how.

Hope you can help me....

Best regards,

Sybille