Talk:Zebra Programming Language: Difference between revisions
→Not a programming language: Create section heading. →Bad example: Sign unsigned. →Clearer explanation of (in)compatibility between ZPL 1 and ZPL 2: I saw that too and have attempted to make it clearer. |
|||
Line 2: | Line 2: | ||
{{WikiProject Computer science|class=start|importance=Low}} |
{{WikiProject Computer science|class=start|importance=Low}} |
||
== Not a programming language == |
|||
ZPL is not a programming language. It is a printer control language |
ZPL is not a programming language. It is a printer control language |
||
[[Special:Contributions/173.11.16.86|173.11.16.86]] ([[User talk:173.11.16.86|talk]]) 16:32, 14 August 2012 (UTC) |
[[Special:Contributions/173.11.16.86|173.11.16.86]] ([[User talk:173.11.16.86|talk]]) 16:32, 14 August 2012 (UTC) |
||
Line 8: | Line 9: | ||
== Previous code example was bad, now corrected == |
== 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 ... |
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 ... |
||
Line 18: | Line 18: | ||
== Bad example == |
== Bad example == |
||
I think the example is bad regarding the ZPL programming guide. |
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. |
Indeed, The D font (bitmapped) can go up to 180 height and 100 width. |
||
In the example, ^ADN,200,40 is not correct. 200 is more than 10 times the standard height of D font... |
In the example, ^ADN,200,40 is not correct. 200 is more than 10 times the standard height of D font... <!-- Template:Unsigned IP --><small class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/185.31.151.250|185.31.151.250]] ([[User talk:185.31.151.250#top|talk]]) 08:40, 29 April 2015 (UTC)</small> |
||
== Clearer explanation of (in)compatibility between ZPL 1 and ZPL 2 == |
== Clearer explanation of (in)compatibility between ZPL 1 and ZPL 2 == |
||
⚫ | The article says "a full compatibility with the older version is not given", but this is ambiguous. Is a printer that supports ZPL 2 able to print ZPL 1 barcodes? Is a printer that supports ZPL 1 able to print ZPL 2 barcodes? (If yes to either, can it print all or only some?) I feel that this needs to be clarified but unfortunately I don't know the answer myself. Would anyone like to help out? [[Special:Contributions/207.194.124.137|207.194.124.137]] ([[User talk:207.194.124.137|talk]]) 18:35, 18 September 2019 (UTC) |
||
: I saw that too and have attempted to make it clearer. Hopefully I got the facts straight as far as forward and backward compatibility. – <kbd>[[User:voidxor|<span style="color: #00F">void</span>]][[User talk:voidxor|<span style="color: #000">xor</span>]]</kbd> 22:39, 26 March 2020 (UTC) |
|||
⚫ | The article says "a full compatibility with the older version is not given", but this is ambiguous. Is a printer that supports ZPL 2 able to print ZPL 1 barcodes? Is a printer that supports ZPL 1 able to print ZPL 2 barcodes? (If yes to either, can it print all or only some?) I feel that this needs to be clarified but unfortunately I don't know the answer myself. Would anyone like to help out? [[Special:Contributions/207.194.124.137|207.194.124.137]] ([[User talk:207.194.124.137|talk]]) 18:35, 18 September 2019 (UTC) |
Revision as of 22:39, 26 March 2020
![]() | Computing Start‑class Low‑importance | |||||||||
|
![]() | Computer science Start‑class Low‑importance | ||||||||||||||||
|
Not a programming language
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,40 is not correct. 200 is more than 10 times the standard height of D font... — Preceding unsigned comment added by 185.31.151.250 (talk) 08:40, 29 April 2015 (UTC)
Clearer explanation of (in)compatibility between ZPL 1 and ZPL 2
The article says "a full compatibility with the older version is not given", but this is ambiguous. Is a printer that supports ZPL 2 able to print ZPL 1 barcodes? Is a printer that supports ZPL 1 able to print ZPL 2 barcodes? (If yes to either, can it print all or only some?) I feel that this needs to be clarified but unfortunately I don't know the answer myself. Would anyone like to help out? 207.194.124.137 (talk) 18:35, 18 September 2019 (UTC)
- I saw that too and have attempted to make it clearer. Hopefully I got the facts straight as far as forward and backward compatibility. – voidxor 22:39, 26 March 2020 (UTC)