cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform Zebra Printing (controls, memory, rotating)

aidan_mulcahy
Active Participant
0 Kudos

Hi,

these are a few questions related to the thread [SDN Zebra question|;. They have all been asked before but the answers seem to vary. All answers will be appreciated. (Should I create multiple threads for these???)

1. When I send a ^FWR print control to the Zebra, it is stored in memory and hence effects the next text that is output - even if that is a completely new print out. Currently, I send a ^FWN at the end of the form to make sure that it is reset for the next print out:

is this the best way?

I can see in SPAD that there are 'printer initialisation, end of line, .....' actions. Should these be used instead?

If so, how?

2. I tried to send zebra commands the way Zebra described by putting S_LZPL_SETUP = ^.... into the free attributes section of a Smartform COMMAND but that didn't work so used print controls (described in the thread above). Has anyone got this working?

3. I would like to print the text of the barcode underneath the actual barcode. Most solutions on SDN say to put in a second line with the readable value. But, I know there are zebra commands to do that but where do I put them? The free attributes section with S_LZPL_SETUP?

4. I have tried to write multiple lines in a single TEXT but they just overwrite each other on the same line. Do I need to feed a 'carraige return, line feed' in the printer actions? If so, how?

5. On my print preview the windows all line up correctly but when I print it out, the top window is a few cm's down - is there a default margin in Zebra printers? How do I turn it off?

Thanks,

Kroc.

Thanks.

Edited by: Kroc on Mar 26, 2009 3:07 PM

3. I added the S_LZPL_HR command for the barcode type in my smartstyle and that output the barcode text below. Don't know how to get it to print above though/

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Aidan,

Do you hace the solution for your point number 4? (lines overwriting each other in the same line).

I know this post is very old but is difficult to find examples.

Thanks in advance.

Former Member
0 Kudos

Hi,

Do you have the solution on ^FWR that rotates everything into one row.

Suppose i have one window:

the text:

test A

Test B

When i put ^FWR, it goes as

t

e

s

t

A

t

e

s

t

B

Ideally i want it to be:

t t

e e

s s

t t

A B

Former Member
0 Kudos

Hi,

Use the data without space in order to rotate the string without overlapping. You can use underscore as a separator instead of space.

Thanks,

Arun

Former Member
0 Kudos

Hi s s,

I need to ask you the same question.

Do you have the solution on ^FWR that rotates everything into one row?

Thanks in advance.