Jump to content

Issues with using quad tag


Recommended Posts

I have a series of coupons that are printed using some rules. The bottom of the coupons print a disclaimer that needs to be equal right-left justified and after the disclaimer is a "code: ***" that needs to be right justified.


I am able to display the disclaimer paragraph without any issue using code that looks like this:


'<z newsize="7"><p quad="J">All of the text for the disclaimer paragraph';


If I do not print a "code: ***" line, the disclaimer paragraph will format nicely with the whole paragraph equal justification on each line and the remainder last line left justifies as expected.


The problem comes in when I add the "code: ***" line and it needs to be right justified. Note that this line must come after the disclaimer paragraph.


I add the following line:


<z newsize="8"><p quad="R"><b>Code: + field("code") + '</b>';


and the "code: ***" line will appear on the same line as the last line of the disclaimer paragraph. Which I cannot have.


If I add a <br> at the end of the disclaimer paragraph, then the last line of the disclaimer will add too much space because it now wants to fully justify the last line.


Any ideas?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...