Talk:Zebra Programming Language: Difference between revisions
→Previous code example was bad, now corrected: new section |
→Bad example: new section |
||
Line 16: | Line 16: | ||
[[User:Meaning of Fife|Meaning of Fife]] ([[User talk:Meaning of Fife|talk]]) 20:23, 10 March 2015 (UTC) |
[[User:Meaning of Fife|Meaning of Fife]] ([[User talk:Meaning of Fife|talk]]) 20:23, 10 March 2015 (UTC) |
||
== Bad example == |
|||
I think the example is bad regarding the ZPL programming guide. |
|||
Indeed, The D font (bitmapped) can go up to 180 height and 100 width. |
|||
In the example, ^ADN,200,100 is not correct. 200 is more than 10 times the standard height of D font... |
Revision as of 08:40, 29 April 2015
![]() | Computing Start‑class Low‑importance | |||||||||
|
![]() | Computer science Start‑class Low‑importance | ||||||||||||||||
|
ZPL is not a programming language. It is a printer control language 173.11.16.86 (talk) 16:32, 14 August 2012 (UTC)
![]() | This article contains a translation of Zebra Programming Language from de.wikipedia. (423997941 et seq.) |
Previous code example was bad, now corrected
The code example given was an example of bad ZPL coding. I felt I had to fix this, having wasted several days trying to fix a bad ZPL label which broke subsequent labels ...
Specifically, the ZPL sets Label Home to 30,30 (^LH30,30). This is a global parameter and changing it will affect every subsequent label which is printed. This was the cause of my obscure problem. Therefore, I felt I should correct Wikipedia's example.
Solution: Amended the example to reset Label Home to origin. (^LH0,0)
Meaning of Fife (talk) 20:23, 10 March 2015 (UTC)
Bad example
I think the example is bad regarding the ZPL programming guide. Indeed, The D font (bitmapped) can go up to 180 height and 100 width. In the example, ^ADN,200,100 is not correct. 200 is more than 10 times the standard height of D font...