Zebra non-RFID printer: sending RFID command consequence? - rfid

I'm working in an RFID pilot-project that requires me to edit a ZPL file to include RFID commands to send to a RFID printer. ("^RF" to encode an RFID tag in ZPL langage)
My question is, what happens if you send that same RFID command to a non-RFID printer?
Is the command going to mess with the print result, or will that command be ignored ?
I have no way for now of getting hands on a non-RFID printer from Zebra, hence my question.
I hope I'm not being off the chart!

For those who will end up with that same question, I've been answered by contacting Zebra support directly. Non-RFID printers will just ignore the RFID commands with no impact on the printing results.

Related

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.

Custom print on DNP DS620 cutting problems

Hi everyone i'm currently using a DNP DS620 on a raspberry pi and i'm doing some printing with the lpr commands like lpr -P printername -o landscape picturename
This gave me a picture of 4x6 inch (10x15cm)
So i'm able to order some prints with a command system (good yeah!) but i don't find any way to use the cutting option to have a double 2x6inch picture at the end.
I know that some Epson printers use the source=DocFeedCut command but it didn't work in my case.
So does everyone know the command for that or a way to do that?
So I contact someone from the driver's developer's team explaining my issue to him, this operation wasn't possible at that time on this device. They made some modifications to enable this kind of process on this new kind of printer, now it's possible.

Can't send AT commands to Bluetooth module with UART interface

I want to change the pairing code of a device. It's a chinese clone of a MiniELM327 adapter with a Bluetooth interface. If I power it up through its OBD2 connector supplying 12V, the whole device is on. Through the Bluetooth Serial Port I can communicate with the ELM327 chip and send AT Commands, receiving correct answers.
But that is not what I want to do. I want to change the pairing code of the bluetooth interface itself.
The module is a RG-BT10-10 from Redgoo based on a Beken BK3211 chip. I have the datasheet and the command set (not sure if it's the right one). Unfortunately it is all in chinese and the customer support is in chinese too (they use automatic translators).
www . redgoo.com.cn/product/20131106105822750.pdf
www . redgoo.com.cn/product/20131130122844243.pdf
www . belon.cn/Uploadfiles/psd/BK3211datasheetv1.2.pdf
I tried to contact the manufacturer and they said that I have to send the following commands:
AT+EN1 (enter command mode)
AT+PIN****
AT+EN0 (exit command mode)
and then reset the module.
I bought a ftdi-based USB-to-UART converter at denkovi.com
www . denkovi.com/usb-to-uart-ftdi-serial-interface-adaptor
Then I wired the pins on the USB-to-UART with the corresponding contacts on the RG-BT10-10 (Tx and Rx are switched of course).
According to the datasheets, the parameters are:
Baud Rate: 38400
Parity: None
Data bits: 8
Stop bit: 1
And the AT commands should be terminated with \r\n that is CR+LF if I'm not mistaken.
No information on flow control. The RTS pin on the board is not even soldered, meaning that it's not used during device normal operation.
From here on, I'm lost. I tried with several programs (Hyperterminal, Putty, Tera Term etc.) to send the AT command which should yield an "OK" but no response has ever arrived.
To be clear, if I fiddle with the wires (like grounding and releasing RTS or turning the RG-BT10-10 on and off) I sometimes get some chars so the flow of data from the module to the computer physically works.
Is there some basic theory I'm missing? I can't get enough information from the manufacturer (language barriers...). And I believe that I have all the hardware that I need, so I just have to understand how to set it correctly :)
Thank you very much for your help!
I had exactly your problem. No response to AT from PuTTY or HyperTerminal at 9600 Baud (which is correct/default for the SPP-CA).
All I would see is:
+READY
+PAIRABLE
when powering up.
I then tried the Serial Monitor that comes with the Arduino IDE, www .arduino.cc/download_handler.php?f=/arduino-1.6.7-windows.exe. Changed line endings to "Both NL & CR" and at 9600 Baud, it came to life:
AT
OK
AT+VERSION
+VERSION=+BOLUTEK Firmware V2.2, Bluetooth V2.1
I hope this helps someone.
You can also use Putty to send
Ctrl+M : Carriage Return(“\r”)
Ctrl+J : Line Feed(“\n”)
This worked for me in getting a response:
AT [CTRL-J]
OK

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.

Bash script to read USB UPS status

I have an UPS attached via USB port to my linux machine. Unfortunately the UPS is unsupported and doesn't show up as a reconized device. However it DOES show up correctly with the lsusb command.
I'd like to read the battery status from my UPS via a simple bash script (triggered by cron for example). I don't want a fully functional script as it would require to know the protocol of the specific UPS; I just want to create a script to write raw commands and read raw responses to/from the UPS given the known USB address, then it will be up to me to encode the actual command and parse the response.
Thank you.
You might be able to use the normal echo command to send strings directly to a device, like:
echo "some command" > /dev/usbXXX
To get the output you might be able to just read from it using e.g. cat:
cat /dev/usbXXX | grep "what you're looking for"

Resources