How can I add a Prefix value to my ds4208 barcode scanner - barcode-scanner

I have a Motorola DS4208 barcode scanner that I have been using in combination with a program. The problem is I want to prefix the scans with some character so that the program knows an item was scanned by the scanner. I've tried following the user guide's instructions but instead of prefixing a character, the scanner prefixed a carriage return.

are you referring to the scanner product reference guide, you should be able to scan a series of barcodes to configure the scanner with a prefix as detailed on page 4-35 of this guide: https://www.zebra.com/content/dam/zebra_new_ia/en-us/manuals/barcode-scanners/ds4208-product-reference-guide-en-us.pdf

Related

How to create a linux terminal ASCII character logo?

I'm a newbie to Linux. I want to create my own ASCII character logo to be displayed on the Linux terminal(it is for pleasure and also to learn). I searched through the internet and found there are tools available for that work. For example,Figlet,Neofetch,Screenfetch etc. But I want to know if there is any method to create a such a logo except hard-coding the logo. If anyone know please help.
You're much more likely to get an answer if you explain clearly.
By 'ASCII character logo' you could mean that you want to create your own character (as in letter/number/symbol) and use it in the terminal just like you'd be able to display the 'L' letter. For that you'd need to create your own font, add your character in and set the terminal to use that font. There are plenty of tools online that can help you create a font.
If you mean you simply want to display some ascii art on the terminal, you can use something like this: http://patorjk.com/software/taag/#p=display&f=Graffiti&t=Type%20Something%20. You can save the text to a file on your linux computer, and print it back out again using the cat command.
An example is below:
cat ascii_logo.txt
You do also list things like figet, which will automatically generate the ASCII art for you from some text - I'm not sure why these don't fulfill your needs?

How to create multiline QR code using bartender?

I am trying to generate multiline QR code in Bartender. I am using excel file as data source and take 3 filed for testing first. It successfully generate QR code but when I scan all text shows in a single line but I want it to be in 3 fiend in 3 separate line. I have used Carriage Return control character <<CR>> after 1 data field. Below is QR code properties settings.
When I scan the QR Code image then it gives me following output.
No_LAN_IP90:61:AE:BC:5B:01FAC-Laptop-044
My Expected output is
No_LAN_IP
90:61:AE:BC:5B:01
FAC-Laptop-044
Any help is greatly appreciated.
I have Tagged the post as Excel because I am using excel file as data source. May be someone excel expert may know the fact.
Using LF (Line Feed) instead of CR should solve the problem.
--edit--
After rereading your problem I saw I missed something. You are using the example data field to add a LF which will not be used while printing. In the properties screen you have a tab "Transforms" which has an option to add a suffix and/or prefix. If you put the LF in the suffix field for your first and second line your problem should be solved.

Printing a barcode trough ZPL code generated and sent by excel-vba

I have read some people managed to print trough DOS and emulating a parallel port trough USB connection and sharing the printer.
The printer in this case is not atached via USB but via LAN cable.
this is the ZPL code I generated for the label:
CT~~CD,~CC^~CT~
^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR5,5~SD15^JUS^LRN^CI0^XZ
^XA
^MMT
^PW320
^LL0240
^LS0
^BY1,3,131^FT6,180^B3N,N,,N,N
^FD[Barcode_here]^FS
^PQ[quantity to print],0,1,Y^XZ
Where [Barcode_Here] will be the barcode taken from an Excel cell and [quantity to print] will also be the result of some Excel table calculations.
I have read that this needs to be sent to the printer in RAW format and I have read the printer can be set up with passtrough character. I know from the settings that i need to mark my ZPL code with ${ and }$
What I need help with is: how would I go about sending the two parts of the code I have given above to the printer using only Excel vba code so that my project can be self contained and need nothing else?
I need the two parts to be 2 different sends since the first part (from what i understand) is a "setup" code and it would significantly slow down the process if repeated.
Is it even at all possible? (I have seen some people cimenting with something of the sort gave up and wrote a parallel comunication emulation in c++ to solve this).
Thanks for the help, i am unsure if this is considered off topic, if it is so let me know where can i ask for assistence as a comment please.
EDIT: This is an example of people shifting from vba to c++ to solve this issue
Install your Zebra printer on your local Windows using the IP address of your Zebra, by creating a new tcp/ip port. Use the Generic / Text Only drivers.
Copy/paste your ZPL code to notepad, and print. The ZPL code will be interpreted by the Zebra and generate the corresponding label. There is no set up with passtrough character.
From your VBA you can create a txt file containing your ZPL code, and print it with notepad.

Zebra RZ400 prints an RFID tag, but encodes the subsequent one

I'm trying to use my RZ400 for the first time. I have placed the RFID tags and the ribbon, calibrated the media and sent the
^XA
^RS8
^FO50,50^A0N,65^FDHex Pattern 1^FS
^RFW,H^FD112233445566778899AABBCC^FS
^XZ
instructions from the programming manual and a RFID tag is printed. The problem is that the NEXT tag is the one that gets encoded.
The tags are SMARTRAC 292-2 Belt and the dimensions are 3x0.625 inches. This is a supported tag according to the vendor.
Thanks.
I believe the issue here is the ordering of your ZPL commands.
The ^FO line will print a label with "Hex Pattern 1". However, after printing, it will advance a tag. Try the following code and see if the tag is encoded and then printed on:
^XA
^RS8
^RFW,H^FD112233445566778899AABBCC^FS
^FO50,50^A0N,65^FDHex Pattern 1^FS
^XZ
Hopefully this will solve the issue.
This problem happened to me with the same printer, but printing from Label Matrix software. I was using a Confidex Casey that worked out of the box, but then switched to a Confidex Carrier Pro and the problem started to happen.
This happens because the printer is not properly calibrated with the Tag you are using.
You need to follow the instructions on the Zebra RZ400 Inlay Placement Guidelines for calibrating your Tag. There are three things you can do:
Run the RFID Calibrate command in the front panel of the printer. Try again.
If it's still tagging the next one, then run the command again, BUT use the option RESTORE instead to revert the previous calibration. Try again.
If it STILL doesn't works, you will need to manually calibrate the Pitch value using SetGetDo commands against the printer using the guide in the manual I linked.
Good luck.

Analyzing Text for Accents

This is the first part of another question of mine that had a recommendation to make it two questions: Adding Accents to Speech Generation.
Summary: The other question asks how to add an accent programatically to generated speech. Not an accent mark or inflection, but a full accent like a British or Scottish or Russian one.
The first question (same as this one) asks how the original text could be analyzed to determine what accents need to be added and where.
Basically, how could text be analyzed to find these accents and generate a set of instructions that could be used to add any accent to any generated speech?

Resources