Salesforce

Sending .txt and .zpl Files on Mac OS

« Go Back

Information

 
Issue / QuestionSending .txt and .zpl files on Mac OS.
How do I send .txt and .zpl files on Mac OS?
How to update firmware of the printer on Mac OS?
Applicable ToZebra Label Printers ZT Series, Industrial Printers ZD Series, Desktop Printers MZ and ZQ Series Mobile Printers.
Resolution / Answer
IMPORTANT! Zebra suggests using the Common Unix Printing System (CUPS) driver for use on Mac OS X operating systems. The CUPS driver is pre-installed on Mac OS X operating systems. Therefore, it is not necessary to download and install a driver for Zebra printers on Mac OS X.

Zebra Mac OS X drivers are available for selected Zebra Card Printer models. Read this article to learn more.

 

NOTE Install the ZPL driver to your Zebra printer. 


Procedure:
 

  1. Perform a test page print to confirm the communication with the printer. Refer to the article Printing a Test Page with CUPS
  2. Set the Zebra printer as the Default printer.
  3. On the Mac, get the .txt file or .zpl file from your source. 

    NOTE Ensure the file has the correct .txt encoding (UTF-16). It must be the right format to work.
  1.  From Magnificent Glass, search for Terminal.
     
  2. It is recommended to save your .TXT or .ZPL file within the Documents folder.
     
  3. In the Terminal, send the command below and press Enter.
  4. lp -o raw /Users/YOURHOMEFOLDER/Documents/file.txt
    
    OR
    
    lp -o raw /Users/YOURHOMEFOLDER/Documents/file.zpl
    
  5. The printer will now receive and execute the printout.

 

NOTE To send the file to a specific printer, we must use this syntax:

  • lpr -Pprintername -o raw /directory/yourfile.txt
  • You can drag the file into Terminal (after having typed lp -o raw) to automatically paste the file's path.

 

NOTE It is possible to send the firmware file to the printer by following this procedure, the printer will update the firmware after it receives the firmware file. It is recommended to send the firmware file only via a USB connection. 



How to find your home folder name:

  1. Go to System settings.
  2. Navigate to User and Groups.
  3. Right-click on your User profile / Click on Advanced Options.
  4. Insert your account Username and Password.
  5. Find your Home directory folder on the bottom part of the dialog window.


Helpful Information

URL NamePrint-txt-files-with-ZPL-code-MAC
TitleSending .txt and .zpl Files on Mac OS

Powered by