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
how-to-install-the-lexmark-ppds-for-the-t64x-w840-.html#how-to-install-the-lexmark-ppds-for-the-t64x-w840-and-c920-printers_HO2444 for instructions on how to obtain the latest Lexmark PPDs for your printer.
Creating a Queue for CUPS
- Open aTerminalorCommand Linesession. Refer to your operating system documentation for help, if necessary.
- 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
- Replacequeue_namewith your actual queue name.
- Replaceprinter_hostnamewith the printer's host name or IP address.
- Replacelexmark_ppdwith the appropriate PPD file from the table below:PrinterPPDLexmark T640Lexmark_T640_en.ppdLexmark T642Lexmark_T642_en.ppdLexmark T644Lexmark_T644_en.ppdLexmark W840Lexmark_W840_en.ppdLexmark C920Lexmark_C920_en.ppdNOTE:Not all Linux operating systems support thelpadmincommand.
Enabling the Queue
- Open a terminal session/command line. Refer to your operating system documentation for help, if necessary.
- Type the following command to enable the queue:# /usr/bin/enable queue_name
- Replacequeue_namewith your actual queue name.
- Type the following command to allow the queue to accept print jobs:# /usr/sbin/acceptqueue_name
- Replacequeue_namewith your actual queue name.
- 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