[cups.development] What did I do wrong ?

Jerome Alet alet at librelogiciel.com
Wed Nov 15 16:32:08 PST 2006


On Wed, Nov 15, 2006 at 06:58:18PM -0500, Michael Sweet wrote:
> 
> argv[6] is only passed to the first filter.  If any filter processes
> the job before your backend, then the backend won't get argv[6].

Then shouldn't the filter also generate the two copies and
replace the "2" with "1" in the arguments ?

Only one copy was printed.

Could this be a problem with my PPD file which contains this :

--- CUT ---
*% You may save this file as 'HP-LaserJet_2100M-pxlmono.ppd'
*%
*%
*FormatVersion: "4.3"
*FileVersion:   "1.1"
*LanguageVersion: English 
*LanguageEncoding: ISOLatin1
*PCFileName:    "PXLMONO.PPD"
*Manufacturer:  "HP"
*Product:       "(HP LaserJet 2100 Series)"
*cupsVersion:   1.0
*cupsManualCopies: True
*cupsModelNumber:  2
*cupsFilter:    "application/vnd.cups-postscript 0 foomatic-rip"
*%pprRIP:        foomatic-rip other
*ModelName:     "HP LaserJet 2100M"
*ShortNickName: "HP LaserJet 2100M pxlmono"
*NickName:      "HP LaserJet 2100M Foomatic/pxlmono (recommended)"
*PSVersion:     "(3010.000) 550"
*PSVersion:     "(3010.000) 651"
*PSVersion:     "(3010.000) 652"
*PSVersion:     "(3010.000) 653"
*PSVersion:     "(3010.000) 704"
*PSVersion:     "(3010.000) 705"
*PSVersion:     "(3010.000) 800"
*LanguageLevel: "3"
*ColorDevice:   False
*DefaultColorSpace: Gray
*FileSystem:    False
*Throughput:    "1"
*LandscapeOrientation: Plus90
*TTRasterizer:  Type42

*DefaultResolution: 1200dpi



*VariablePaperSize: False

*FoomaticIDs: HP-LaserJet_2100M pxlmono
*FoomaticRIPCommandLine: "gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE%B%A%&&
Z -sOutputFile=- - | perl -p -e "s/\xc0.\xf8\x26/\xc0%E\xf8\x26/g&&
""
*End
--- CUT ---

Or else what is the cause of only one copy being printed ?

TIA

Jerome Alet





More information about the cups mailing list