In wireshark I get several dots before and after a tcp message like so:
.................................
Each 4 dots is colored differently (orange and blue)
Im wondering what these mean? I am padding each 4 bytes with zeros. x00 , so im wondering is the orange part the padding?
Wireshark trying to treate the hex as ASCII and print it.
But in ASCII only 0x20 ~ 0x7E is printable, other hex would be displayed as ...
Have no idea about the color thing.
Related
I have a Brother QL820nwb I only need to to print via bluetooth using ESC/POS and my brain hurts trying to get it working. I have been able to get the printer to change orientation of the numbers. I tried to change to outline font so I can print at like 233 char size. Been hours without any luck, any help would be great.
I'm sending the following.
orientation
outline font ?
font size ?
text I need to printer very large.
\x1b\x69\x4C\x01
\x1B\x6B\x11
\x1B\x58\x01\x48\x01
892807
The numerical value of each parameter described in the specification is a decimal number, so you need to convert it to a hexadecimal number in the format you code.
2.outline font
\x1B\x6B\x11
If you specify Helsinki, this is the format.
\x1B\x6B\x0B
3.font size
\x1B\x58\x01\x48\x01
If you want to specify 233 times in the outline font, this is the format.
\x1B\x58\x00\xE9\x00
I would like to print bigger QR-Codes to increase the scannable range. The magnification factor is already set to 10.
^XA
^FWN
^LH0,0
^FO50,40^A0R,75,75^FDTEST^FS
^FO150,45
^BQR,2,10,H,7^FDQA,TEST^FS
^PQ1
^XZ
ZPL result preview
Is there a way to scale the QR-Code, i would like to scale up the QR-Code by faktor 1.5
ZPL II Guide
You can use ^JMB to change the dots per millimeter. It will double the size, then you'll have to tweak it in ^BQ to get it where you want it. Also, I'm not sure ^BQR does anything, it looks like it only accepts ^BQN as a valid orientation.
I want to tag color names based on hex or rgb values. I found this amazing site ( http://www.color-blindness.com/color-name-hue/ ) but the thing is there are so many color names and main color hues are insufficient. I would love to have a solution to name RGB or HEX for like 40-50 well known colors.
Any idea will help me, thank you
This one will be useful, you will have to parse this json to use it in your project.
I wrote a command-line tool that does exactly that: Cict
Example:
$ ./cict 000081
1 #000080 navyblue
As you can see, you simple pass a 24-bit hex-value to cict and it reports the distance to the color found (1 in this case), the value of the actual color (#000080) and the name (navyblue).
I want to quickly output contour plots of result calculated on a server. I log in with putty so the output should be text based (i know how to send graphics i prefer text).
To output the contour plots i need to know light intensity of each symbol. is there a table like that?
Use a library, like aalib or libcaca. Don't know a table though...
EDIT:
Intensity is font specific...
Color properties in CSS can accept color names ( white, pink, etc) or hexadecimal values ( #FFF , #669966 , etc) or RGB.
But not all the color names are standard for all browsers. There are tests like CSS color names vs hex codes, (my results is better hexadecimal) , so is it always better to use hexadecimal than other two options?
Edit: Other duplicate questions is about personal preferences, this is about performance.
Putting away the color names, the hex values and RGB are pretty much the same.
But the result shows that Hex codes are slightly faster (not that much to worry about).
For example, Firefox 11 does 15,400 operations of hex code but 14,900 of rgb in a second.
So, that is not much to worry about. You won't even notice that.
You have sort of already answered your own question... "Not all color names are standard." It is best to get used to use the 6 character hex codes for color. It is explicit and there is no confusion. I have seen some versions of IE mess up with 3 digit hex codes also.
Hex codes are also better because there are many tools like Classic Color Meter, etc which will tell you the hex color value of something your mouse is rolling over.