Capturing and viewing data sent to a Zebra Link OS compatible printer
Article ID: 64950121
Topic or Information
Using the printer data capture capability with the SGD command "input.capture"
Applies ToQLn Series, iMZ Series, ZD Series, ZT Series Printers (Link OS compatible printers)
Link-OS printers have the capability of storing the data it receives into a temporary file, which can be turned on using a SGD command, input.capture, and the file retrieved with another SGD command, file.type.
To set the printer into the mode where it will receive the data and not print, send the following command in the Zebra Setup Utilities communication window:
! U1 setvar "input.capture" "run"
This will tell the printer to store anything sent to the printer to a file named IN???.DMP (? will be a number between 001 and 999) in the printer’s memory until the printer is told to exit the input capture mode or power cycled. This includes SGD commands as well as ZPL/EPL/CPCL commands, and the printer will continue to print and operate normally.
To retrieve the file list of the stored dump files on the printer, in Zebra Setup Utilities send the following command to display the list of items in the E: memory:
! U1 do "file.dir" "E:"
The IN???.DMP files are the log files stored in the printer’s memory. To retrieve the actual data in a dump file, the following command can be sent (substituting the number for the question marks):
! U1 do "file.type" "E:IN???.DMP"
To export the results to a file, click ‘File’, then click ‘Export All Received Data.’
Note: It’s not recommended to leave the printer in input capture mode, as the memory can fill up over time. To return the printer back to normal operating mode without storing any more data, either power cycle the printer, or send the following command:
! U1 setvar "input.capture" "off"
To clear the dump files from the memory, you can send the following command to the printer:
! U1 do "file.delete" "E:IN0*.DMP"
Additionally, this will not intercept printserver commands, only printer commands.
Sending and receiving data using the Zebra Setup Utility Read More>>
input.capture SGD command details Read More>>
- QLn Series Mobile Printers
- ZD410 Series
- ZD420 Series
- ZD500 Desktop Printer
- ZD500 Desktop Printer
- ZQ500 Series Mobile Printers
- ZQ510 Mobile Printer
- ZQ520 Mobile Printer
- ZR600 Series Healthcare Mobile Printers
- ZR600 Series Mobile Printers
- ZT200 Series Industrial Printers
- ZT210 Industrial Printer
- ZT220 Industrial Printer
- ZT230 Industrial Printer
- ZT400 Series Industrial Printers
- ZT400 Series RFID Printers
- ZT410 Industrial Printer
- ZT420 Industrial Printer
- iMZ Series Mobile Printers
- iMZ220 Mobile Printer
- iMZ320 Mobile Printer