cancel
Showing results for 
Search instead for 
Did you mean: 

Label Printing in Landscape

Former Member
0 Kudos

Hi,

We have label(Smartforms) to print, Main window is according to label size 4X6 and inside main window, LOOP is used to display fields, along with Bar codes. ZPL command S_LZPL_SETUP '^FWR' is used to tilt . Loop is used to have multiple labels,

which is triggered via a Report. Zebra PDF has some inputs, but in case of multiple label, windows cannot be overlapped.

Thanks

Mohinder

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Thanks

Mohinder

Former Member
0 Kudos

Hi Aidan,

Thanks for replying, your posts were helpful. As we cannt add windows inside loop, I called smartforms inside Loop for requirement. Also, I was add S_LZPL_SETUP ^ FWR and S_LZPL_SETUP ^ FWN at last.

Thanks

Mohinder

Former Member
0 Kudos

Hi Aidan,

Thanks for replying. Information you are providing is very useful to proceed.

Still issue remains, as far as declaration is .

{

Main window

command S_LZPL_SETUP '^FWR'

New Window

LOOP itab ( Multiple values )

code

Text1

Text2

Text3

Command, To terminate. - -


> Issue is here, Internal table will have multiple line items.

For label to tilt need Different windows (with text/run time variable) after main window, cannt have it in loop.

New window

Command S_LZPL_SETUP '^FWN' to make Zebra printer understand to change.

}

Thanks

Mohinder

aidan_black
Active Contributor
0 Kudos

hi Mohinder,

You can only have one command S_LZPL_SETUP in the smartform. I suggest to create 2 print conrols to contain the commands ^FWR and ^FWN and then you can issue these commands at different nodes in the smartform.

Regards,

Aidan

Former Member
0 Kudos

Hi Aidan,

Thanks for replying. Note is useful, it talks about implementing note which is present.

Issue I face is, Smart forms is triggered via a custom Program, can provide number of print outs, works well In Portrait, but in case of approach we used for earlier labels, On Main window we placed multiple windows for Texts and barcode, according to inclination. So every texts tilted when it encounter ZPL ^FWR command. For this scenario for multiple Labels LOOP is introduced for label, which doesnt allow to form multiple windows when used with command.

Thanks

Mohinder

aidan_black
Active Contributor
0 Kudos

Hi,

You should add a ^FWN command in a node at the end of the smartform. Then the text is rotated back to normal so it is ok that the ^FWR command is called again when the smartform is called again each time around the loop.

You should add the ^FWN command to a print control in the device type you are using.

SPAD -> Full Admin -> Device Types -> e.g. LZEB2 -> tab Print Controls

Here add the new print control commands: e.g.

ZNOR: ^FWN

In the smartform, create a new command node by:

right click -> Create -> Flow Logic -> Command Node.

In the command node, there is a field 'Include Printer Control'. In here enter 'ZNOR'.

regards,

Aidan

aidan_black
Active Contributor
0 Kudos

Hi,

Check if SAP note 1272273 resolves this problem.

regards,

Aidan