CLI vs WebInterface - different outcome

Helge Blischke H.Blischke at srz-berlin.de
Thu Sep 16 05:17:29 PDT 2004


I think you'd have to specify the defaults you want to use. See the
-o name=value parameters to lpadmin. If I'm correct, this does what
you do when "configuring" a printer using the web interface.

Helge

angelb at bugarin.us wrote:
> 
> Ok. I may have found the problem but there's still a minor issue.
> 
> First, I used -m laserjet.ppd.gz. This fixed the stair-step effect when printing text files. It's now formatted correctly. However, when printing a "Test Page" from the web interface, it's still using the Legal size paper instead of the 8x11 paper. Perhaps it's the true nature for the "Test Page", I don't know.
> 
> Otherwise, it seems to work or at least print with the correct formats.
> 
> Angel
> 
> angelb wrote:
> > Hi all.
> >
> > > *LanguageVersion: English
> > 10,17c30,41
> > < *PCFileName:  "pcl-4.ppd"
> > < *Manufacturer:        "HP"
> > < *Product:     "(GIMP-print v4.2.4)"
> > < *ModelName:     "pcl-4"
> > < *ShortNickName: "HP LaserJet 4 series"
> > < *NickName:      "HP LaserJet 4 series, CUPS+GIMP-print v4.2.4"
> > < *PSVersion:   "(2017.000) 705"
> >
> > ---
> >
> > hplaserjet.ppd via web interface:
> >
> > > *PCFileName:  "LASERJET.PPD"
> > > *Manufacturer:        "ESP"
> > > *Product:     "(CUPS v1.1)"
> > > *cupsVersion: 1.1
> > > *cupsManualCopies: False
> > > *cupsFilter:  "application/vnd.cups-raster 0 rastertohp"
> > > *cupsModelNumber: 0
> > > *ModelName:     "HP LaserJet Series"
> > > *ShortNickName: "HP LaserJet Series"
> > > *NickName:      "HP LaserJet Series CUPS v1.1"
> > > *PSVersion:   "(3010.000) 550"
> >
> > My question is then, why are the two ppds different? When I created the printer queue via CLI, I specified hplaserjet.ppd for the driver but if you look at the ppd file above, it shows pcl-4.ppd.
> >
> > Is there an option for the CLI so that I can specify using CUPS product instead of GIMP?
> >
> > Thanks!
> > Angel


-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
tel: +49 30 75301-360




More information about the cups mailing list