2007 Apr 17 5:58 AM
Hi
in my ZPL code i have defined it as below in scripts.
value for this parameter is having more than what the label can fit into.
is there any possility to write in the next line if length of variable length exceeds the available space?
i prefer ZPL commands than script commands. hope i am clear.
<b>Place holder:</b>
^FT464,176
A0N,28,39FN31^FS
<b>variable:</b>
FN31FD&ADRS_PRINT_WE-LINE2&^FS
2007 Apr 17 7:16 AM
hi Srini,
in ZPL there is no command to breakup the text you want to write based on its length. You have to break it into 2 or 3 variables as per the length and then you can write it using that 2 or more ^FD commands.
Hope this helps.
Regards,
Richa
2007 Apr 17 6:29 AM
Hai Srini,
There <b>freely available softwares</b> on the net which support nearly to your requirement.
You can have then by clicking the below link:
http://www.bestvistadownloads.com/download-ci-commands-software.html
Coming to declaration u have two ways of suggessions:
<b>Way 1:</b>
If you have declared the parameter in your print program as below:
PARAMETERS:
P_VAL(72) TYPE C.
Only 45 length space is visible to you but you can enter 72 chars.
<b>Way 2:</b>
Declare one more variable and then concatenate them and then use your ZPL commands to capture the value.
Example:
PARAMETERS:
P_VALUE1(30) TYPE C,
P_VALUE2(30) TYPE C,
P_VALUE1(60) TYPE C.
After getting the P_VALUE1 P_VALUE2 valies,
<b>CONCATENATE P_VALUE1 P_VALUE1(30) INTO P_VALUE1.</b>
Hope his helps you a lot.
<b>Reward points if it helps you.</b>
Regds,
Rama chary.Pammi
2007 Apr 17 7:16 AM
hi Srini,
in ZPL there is no command to breakup the text you want to write based on its length. You have to break it into 2 or 3 variables as per the length and then you can write it using that 2 or more ^FD commands.
Hope this helps.
Regards,
Richa
2007 May 02 5:17 AM
just decreased the font size so that it will fit into the space available. convinced the user to accept for it.