mapping of a printer model with a ppd file in CUPS


 
Thread Tools Search this Thread
Operating Systems Linux mapping of a printer model with a ppd file in CUPS
# 1  
Old 11-27-2007
mapping of a printer model with a ppd file in CUPS

Hi all,

I am currently working on building a GUI to be interfaced with CUPS 1.3.4 package; In my GUI I have a list of printer manufacturers mapped
With various printer models ; and for a particular printer model selected I needed to know how to map that model with an Appropriate ppd file; as I am using lpadmin command to configure a printer and it has an option of specifying -m model.ppd ;and I needed this mapping of the model with the corresponding ppd file to be used in the lpadmin command ;else it takes it as a raw printer.

How do I handle the mapping??


Any help in this regard will be greatly appreciated.


Thanking you'll in advance

Regards
sc
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help with script to automate CUPS printer installs

Good afternoon. :) I'm rather new to bash scripting, and have probably bitten off a bit more than I can chew to be honest, but I work in a service desk-like environment where one of the main complaints is that it takes our staff a long time to set up network printers on our clients' servers.... (3 Replies)
Discussion started by: aperfecthalo
3 Replies

2. Red Hat

Samba and Cups :: How to Hide Printer Icons

Hi, I am running Linux box with samba-3.0.33 cups-1.3.7 When I access my home folder through windows and give user credentials, it works well but shows all the printers icons as well. I would like to hide them all from users. I tried changing Browsing On to Browsing Off in... (1 Reply)
Discussion started by: amit_spl
1 Replies

3. UNIX for Dummies Questions & Answers

Query for printer driver in CUPS

I have a RHEL 4 (probably not important, but whatever) machine with a few dozen network printers set up in CUPS. I would like to replicate this on a second machine. With lpinfo I'm able to get the queue name and device information (socket://ipaddress or whatnot), but I haven't get figured out... (0 Replies)
Discussion started by: kknigga
0 Replies

4. SCO

Replace Line Printer Daemon (LPD) with CUPS

hi Howto replace Line Printer Daemon (LPD) with CUPS on SCO 5.0.6? (3 Replies)
Discussion started by: ccc
3 Replies

5. Hardware

Cups-compatible PPD for IBM 6400 printers

We've inherited some IBM Infoprint 6400 printers for use with our internal warehouse management software. Now I'm looking for a driver, or a compatibility list for said printers. I found that IBM does provide drivers for it (link), but due to our policies I can't download it. (who provides drivers... (0 Replies)
Discussion started by: pludi
0 Replies

6. UNIX for Dummies Questions & Answers

Making a ppd driver for Minolta 3100 on CUPS/Ubuntu

Hello I have a Minolta QMS Magicolor 3100 printer. A driver is available (Minolta-magicolor_3100-Postscript.ppd) for Linux, installed using foomatic, but it does not work properly. The resolution is at it's lowest and a poor quality grainy print results. The printer works fine under Windows XP... (0 Replies)
Discussion started by: bwallum
0 Replies

7. Red Hat

Need a single printer driver added to CUPS

Just got an HP OfficeJet L7680 printer but there are no drivers for it in RHEL5. I just want to add the single driver without installing hplip 3.9.8. It's going to be connected with USB. Is this possible and if so how? (1 Reply)
Discussion started by: deloev
1 Replies

8. Linux

Sharing Printer Linux + XP (cups/samba)

I keep getting a access denied error when I install from the XP wizard my Linux shared printer. CUPS CONFIGURATION FILE <Location /admin> # # You definitely will want to limit access to the administration functions. # The default configuration requires a local connection from a user who #... (2 Replies)
Discussion started by: Alux
2 Replies

9. UNIX for Dummies Questions & Answers

Sharing printer with windows via cups and samba

I want to use my linux box as a print server for my hp printer. I downloaded the linux driver for the printer and installed it. I also configured CUPS and printed a test page with it. Samba is allowing my windows machine to see and install the printer, but when i try to print to it, nothing... (1 Reply)
Discussion started by: Spetnik
1 Replies
Login or Register to Ask a Question
CUPS-GENPPD(8)                                                Gutenprint Manual Pages                                               CUPS-GENPPD(8)

NAME
cups-genppd - generate Gutenprint PPD files for use with CUPS SYNOPSIS
cups-genppd [-c localedir] [-l locale] [-p prefix] [-q] [-v] model1 [model2, ...modeln] cups-genppd -L [-c localedir] cups-genppd -M [-v] cups-genppd -h cups-genppd -V DESCRIPTION
cups-genppd generates Gutenprint PPD files for use with CUPS. The default behavior is to output PPD files for all models of printer that the Gutenprint printer driver library supports. You may restrict the models by listing either the driver names or the full names of the printers you wish to generate PPD files for after any options. Additionally, the PPD files may be localised, that is, translated, to use your native language rather than US English. There are commands to find out what printer models and languages are supported. EXAMPLES
cups-genppd -v bjc-6200 'Epson Stylus Photo 1280' 'HP DeskJet 850C' verbosely generate three PPD files, listing the driver name in the first case, and the full name in the second. LANG=de_DE genppd -p ppd -c /usr/share/locale generate PPDs for all available models, in directory ppd using the locale data found under /usr/share/locale. The language to use is taken from the environment (de_DE). cups-genppd -L -c /usr/local/share/locale list available languages using the locale data found under /usr/local/share/locale. cups-genppd -M -v list available drivers, with long model descriptions COMMANDS
-h show a help message -L list available translations (message catalogs). If a locale is used for which there is not a corresponding translation, then then US English will be used. -M list available printer models. By default, only driver names are listed; if verbose mode is used, the full model name will also be printed -V show version information and defaults The default behavior is to output PPDs if no command is given. OPTIONS
-c localedir use localedir as the base directory for locale data -l locale output PPDs translated with messages for locale. Note that locale must be a locale as shown by locale -a. For example, the de translation is used by the de_DE locale; de alone will not work. -p prefix output PPDs in directory prefix. Directories are not recursively created. -q Quiet mode. -v Verbose mode. models a list of printer models, either the driver or quoted full name. SEE ALSO
CUPS Software Administrators Manual, http://localhost:631/documentation.html COPYRIGHT
Copyright (C) 1992-2002 Michael Sweet (mike@easysw.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. This manual page was written by Roger Leigh (rleigh@debian.org). Version 5.2.4 26 Jul 2009 CUPS-GENPPD(8)