|
I was wand-ering about that, too.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
They don’t “dump” her. They give her a pen & tell her that they are splitting ways...
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
When they do staff pruning , they do it by putting a circular on the table , and they don't fret about it; just give them the chop . They let the assistant take a final bow , though. Sometimes the staff reciprocate ; many ex-magicians take the plunge and join a band instead, though sometimes the magicians have them back . If they're coping well and not cross about it, they might do a little jig , though this can hack off their ex-employer.
I bet you saw this coming though.
|
|
|
|
|
I'll have to print a label using a Zebra printer.
I'm looking at the documentation and the Zebra language (one of four, it seems) is a 1590 page document...
Apparently, the string for printing my name would look as follows:
^XA
^FO50,50^ADN,36,20^FDSander Rossel
^FS
^XZ I don't think I'm prepared for this
|
|
|
|
|
If there's (quality) documentation, be happy, you're way ahead of the game.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
jeron1 wrote: If there's (quality) any documentation, be happy, you're way ahead of the game.
In many cases (OSS projects - I'm looking at you! ), the only documentation is the source code. No comments, no nothing.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Daniel Pfeffer wrote: the only documentation is the source code. No comments, no nothing. C'mon, it's the challenge that makes it fun, no?
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Oh, sure. It's the programming equivalent of building a bridge with no data on the thickness of the iron bars, the quality of the cement, etc. Great fun - until it all collapses.
/s
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
What, your first guess isn't spot on every time? Jeeze, what on earth is wrong with you?
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
It only looks incomprehensible because you got your hands on the abbreviated document
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Isn't that something the driver should take care of? Wait - are you writing the driver? First step: Get an assembler, a C compiler and a webcam. The webcam is for your followers who will not want to miss a thing, especially all heart attacks and strokes you are going to suffer. I'll get the popcorn...
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Here's a much better way to print Sander Rossel:
++++++++++[>+>+++>+++++++>++++++++++<<<<-]>>>+++++++++++++.>---.+++++++++++++.----------.+.+++++++++++++.<<++.>-.>---.++++..--------------.+++++++.
BrainElephant
|
|
|
|
|
When I tried it, I got an error...
Uncaught SyntaxError: expected expression, got '++'
Edit...
Oh that's not JavaScript.
|
|
|
|
|
Have done a few Zebra labels. Watch out for firmware levels. I ones created a nice label, different fonts, different barcodes, different orientation etc. On my test printer looked nice, on all others not.
Had to upgrade the firmware on all other printers (same model, old firmware) to get the same result.
Make sure the documentation fits the firmware.
|
|
|
|
|
Labelary have a pretty decent online viewer[^] and a web service[^] to generate an image from a ZPL string, if it helps.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
These printers usually support printing an image: compose a visual in WPF and send that.
That's how you print shipping labels from postal carriers (you retrieve an image from them via an account).
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
Gerry Schmitz wrote: These printers usually support printing an image: compose a visual in WPF and send that.
I've done similar with other label printers in UWP, and receipt printers in WPF. OTOH I've also had to print to receipt printers that were pure text only line printers; those you I did need to insert magic characters into the string sequence to make some things work. That was one part of the project I absolutely don't miss.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Doesn't look so hard. I have no idea about Zebra, but by my educated guessing I'd say ^XA and ^XZ enclose the document to be printed, and ^FD and ^FS enclose a single string to be printed. The rest probably indicates stuff like the font to be used and it's properties, such as size and style.
I've seen worse. *shrug*
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)
|
|
|
|
|
:yawn:
How about programming for DEC LA-120 printers? And storing the codes in the SYSDEVCTL library?
|
|
|
|
|
Don't they have drivers? That's why the concept of a printer driver was invented - so you don't have to send a different set of bytes to each device to get it to output text for you.
This is a rhetorical question. Obviously they don't or you wouldn't have this headache.
However, you might find that someone has written some code to simplify this. I don't even want to start down that rabbit hole. I have enough weirdness going on.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Never had a problem with Zebra Printer. Simply installed it on windows and used the standard printer forms to print the labels
It does not solve my Problem, but it answers my question
Chemists have exactly one rule: there are only exceptions
modified 19-Jan-21 21:04pm.
|
|
|
|
|
Sander Rossel wrote: I don't think I'm prepared for this Because you didn't read Don Quixote.
|
|
|
|
|
I think the last time I worked on a Zebra printer (or something that looks similar to what you posted) was around the 1980's when I was writing a custom print routine on a Commodore 64!
|
|
|
|
|
I had to print to these beasts for a while. What a pain.
|
|
|
|
|
Label printers are the bane of our existence. Every manufacturer has their own proprietary printer language.
You would think that in today's world they'd all be using Postscript.
There's a lot of off the shelf software that will take a label design and generate the correct instructions for the label printer.
What are you trying to do that requires you to dive into the coding of the label?
|
|
|
|