Help with my printer template

First up here is what I have so far.

[code]{ORDERS}

{ENTITIES}

[ORDERS]

{TICKET TIME} #{TICKET NO} {TICKET DATE}

{ITEM TAG:CustomPrintName}

{ORDER TAGS}

[ORDER TAGS]
1x {ORDER TAG NAME}

[ENTITIES:Students]

{ENTITY DATA:Name}

Yr: {ENTITY DATA:Year}
[/code]

My first issue is that Order tags are not showing up.

and my second issue is that there is 3 empty lines in beetween the {ITEM TAG:CustomPrintName} and the table below, im not sure whats causing them.

My aim is to have the template like this:

I have 62x30mm to work with, so the printer template can never exceed that length.

Thanks