How to Create a Lexmark Printer Queue for CUPS Through a Command Line
  1. guides
  2. en
  3. Knowledge base
  4. Setup, installation, and configuration issues
  5. How to Create a Lexmark Printer Queue for CUPS Through a Command Line

How to Create a Lexmark Printer Queue for CUPS Through a Command Line

How to Create a Lexmark Printer Queue for CUPS Through a Command Line
Overview
This article explains how to download the Lexmark PPDs, create a printer queue through a command line, and enable the queue on a Linux operating system.
Downloading the Lexmark PPD
Creating a Queue for CUPS
  1. Open a
    Terminal
    or
    Command Line
    session. Refer to your operating system documentation for help, if necessary.
  2. Type the following command to create a queue:
    # lpadmin -p queue_name -v socket://printer_hostname:9100 \-P /usr/share/cups/model/Lexmark_PPD/lexmark_ppd
    • Replace
      queue_name
      with your actual queue name.
    • Replace
      printer_hostname
      with the printer's host name or IP address.
    • Replace
      lexmark_ppd
      with the appropriate PPD file from the table below:
      Printer
      PPD
      Lexmark T640
      Lexmark_T640_en.ppd
      Lexmark T642
      Lexmark_T642_en.ppd
      Lexmark T644
      Lexmark_T644_en.ppd
      Lexmark W840
      Lexmark_W840_en.ppd
      Lexmark C920
      Lexmark_C920_en.ppd
      NOTE:
      Not all Linux operating systems support the
      lpadmin
      command.
Enabling the Queue
  1. Open a terminal session/command line. Refer to your operating system documentation for help, if necessary.
  2. Type the following command to enable the queue:
    # /usr/bin/enable queue_name
    • Replace
      queue_name
      with your actual queue name.
  3. Type the following command to allow the queue to accept print jobs:
    # /usr/sbin/accept
    queue_name
    • Replace
      queue_name
      with your actual queue name.
  4. The queue is ready to be used.
NOTE:
For instructions on creating a Lexmark printer queue for CUPS through a Web browser, how-to-create-a-lexmark-printer-queue-for-cups--0.html#how-to-create-a-lexmark-printer-queue-for-cups-through-a-web-browser_HO2475.
Still Need Help?
If you are having difficulties creating a queue for CUPS, please contact the
Lexmark Technical Support
Center at 800-LEXMARK for additional support.
NOTE:
Customers outside the US should click here to visit our support Web site in order to obtain the
contact number
for their region.
LEGACY ID:
HO2474