r/CodingHelp • u/[deleted] • Jan 07 '22
[Other Code] Does anyone know what this is? It keeps printing on our receipts.
11
u/JeromeAtWork Jan 07 '22
I get this from time to time with Zebra printers. A reboot in our case seems to fix it.
5
Jan 07 '22
We’ll try that, thank you!!
6
u/TreeasuresAZ Jan 08 '22
In my experience it is that you selected the wrong printer for the wrong thing and it is printing out binary file. I work with a sticker printer and a receipt printer. If I try and print the receipt on the sticker printer this will happen.
3
2
4
u/Same-Impress-6899 Jan 07 '22
probably sending the wrong file format to the machine. The machine expects some sort of unicode and you are sending it something else. If you have software running on your cash register with settings try changing the file format. Hope this helps! (unicode is also written as utf-n where n is a number so try that)
2
2
119
u/ButchDeanCA Professional Coder Jan 07 '22
It looks like you’re trying to print a binary file.
2
u/deniercounter Jan 08 '22
I never saw a binary code printed and looking like this.
Is this some Arab encoding?
2
u/ButchDeanCA Professional Coder Jan 08 '22
Out of curiosity, what did the binary code look like that you saw printed?
0
u/deniercounter Jan 08 '22
Just open a binary file like an image with some Texteditor. You don’t need to actually print it. You will see a different set of “characters”.
-1
u/ButchDeanCA Professional Coder Jan 08 '22
I literally know how to analyze binary files to reverse engineer them, you said that “you never saw binary code look like this…” which is exactly what running a binary file through a program expecting text format looks like.
That is why I’m asking.
2
50
Jan 08 '22
[removed] — view removed comment
3
u/ButchDeanCA Professional Coder Jan 08 '22
No, I have no idea what your platform is, what you’re trying to do, or why you are trying to print a binary file.
You’re going to need to give some details if you want help.
4
u/Alostcord Jan 08 '22
Showing your age ..😉
2
u/TechNerdin Jan 08 '22
Not really. Since the older word versions were used a long time, e.g. in schools, we only know he is over 20.
1
u/Alostcord Jan 08 '22
Well… you see that winky face..it was a joke, but then again maybe I was showing my age..
1
30
Jan 08 '22
[removed] — view removed comment
5
u/Bitter_Bunny Jan 08 '22
The first Siri/Alexa
7
3
5
55
u/BAM5 Professional Coder Jan 07 '22
My guess is your drivers for the machine are bad and sending the text data in an incorrect encoding.
28
u/elongio Jan 07 '22
That is a binary file being printed. You are sending the file in as code instead of text to be printed.
8
u/SJDidge Jan 08 '22
Aliens are trying to communicate with you
6
u/SnooDingos2348 Jan 08 '22
Nigga where are the aliens
1
u/SJDidge Jan 08 '22
4
2
u/SnooDingos2348 Jan 08 '22
Y’all think the alien females on good drugs?
I’m offended I’m not with them.
1
1
1
1
2
5
5
u/magnottasicepick Jan 08 '22
I recognize this as writings from the Necronomicon, I should know, I’ve dabbled with it.
4
6
3
3
u/mulletskull Jan 08 '22
The printer is in the wrong mode. Try holding the feed button while turning on. It should give you a menu to turn off hex mode. Maybe this helps maybe?
2
2
2
2
2
2
2
Jan 08 '22
This is the love language of binary.
Here’s a probable solution:
https://smallbusiness.chron.com/printer-printing-symbols-57406.html
2
u/kamemebymo Jan 08 '22
From my humble experience, it seems that the machine that's sending the data and the machine that's printing are communicating on different baud rates. I am not very knowledgeable about the topic, but this is what happens when using the arduino.
2
Jan 08 '22
Looks like print code language is not putting in the correct control characters and is printing rubbish binary -> ASCII. Happens some times to me on older systems that bug out.
2
u/CenturyIsRaging Jan 08 '22
Did one of your programmers just mysteriously quit right before this happened? Lol, the Ole switch everything to windings font trick ;) Should have given them that raise they asked for. .
1
1
u/knoam Jan 08 '22
Can anyone explain which encodings are involved here? This doesn't look like any mojibake I've seen before.
2
u/auiotour Jan 08 '22
It's probably the zpl language converted when sending a print job too the printer.
1
1
1
1
1
1
1
1
1
1
1
1
u/NeganLA Jan 08 '22
It just means that now the receipts have Sharpness V, Mending III, and Unbreaking III.
1
u/djombo1 Jan 08 '22
check if you have print job routing option in printer software and see if there is esc/pos option enabled
1
1
1
1
1
1
1
1
1
1
1
1
u/junaidsheroz Jan 08 '22
Aliens are trying to contact you. Keep your phone near to continue conversations. Do tell us the story
1
1
1
1
1
1
u/Josefstu Jan 26 '22
This looks like when I set my baud rate wrong on my Arduino and open the serial monitor
1
1
u/v4773 Jan 08 '22
Looks very much like your trying to include picture, but printers docent understand it as picture.
0
Jan 08 '22
You took the picture upside down
1
Jan 08 '22
Nope, just had to crop out the bottom because the only thing it printed correctly was an email address
0
0
0
u/champwolverine Jan 08 '22
Looks like Jiraya’s note when he sealed Itachi’s amaterasu. Don’t activate it, only itachi can take it out and he dead.
-1
-1
0
Jan 08 '22
[deleted]
6
Jan 08 '22
This is amazing! Thank you. We're going to reset the software again tomorrow and hopefully things will readjust accordingly.
1
46
u/cuanhunter1308 Jan 07 '22
Poneglyphs, key to One Piece