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

Document ID:HO2474
 
02/06/13 Properties  

Problem

Enable printer queue; Common Unix Printing System; Terminal; PostScript Printer Description; Unix systems; Installation; T640; T642; T644; T64x; W840; C920;

Environment

RedHat Enterprise Linux WS  3; RedHat Enterprise Linux WS  4

Solution

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


Click here for instructions on how to obtain the latest Lexmark PPDs for your printer.

 

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, click here.

 

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.

 



Link:
Please enter the email address you would like to send a copy of this page to.