[cups.general] PPD files and loptions.

clemens at dwf.com clemens at dwf.com
Tue Aug 3 11:43:18 PDT 2004


I am using the default Postscript ppd file with my HPLJ4M+ printer.

with lpoptions, I have set 

	lpoptions -p HPLJ4M+ -o Duplex=DuplexNoTumble
	lpoptions -p HPLJ4M+ -o Resolution=600dpi

When I try to print I get:

    [reg at orion ~]$ lpr typescript2
    lpr: unable to print file: client-error-document-format-not-supported

How the PPD file says:

    *OpenUI *Resolution/Output Resolution: PickOne
    *OrderDependency: 20 AnySetup *Resolution
    *DefaultResolution: 300dpi
    *Resolution 150dpi/150 DPI: "<</HWResolution[150 150]>>setpagedevice"
    *Resolution 300dpi/300 DPI: "<</HWResolution[300 300]>>setpagedevice"
    *Resolution 600dpi/600 DPI: "<</HWResolution[600 600]>>setpagedevice"
    *Resolution 1200dpi/1200 DPI: "<</HWResolution[1200 1200]>>setpagedevice"
    *Resolution 2400dpi/2400 DPI: "<</HWResolution[2400 2400]>>setpagedevice"
    *CloseUI: *Resolution 

and

    *OpenUI *Duplex/Double-Sided Printing: PickOne
    *OrderDependency: 20 AnySetup *Duplex
    *DefaultDuplex: None
    *Duplex None/Off: "<</Duplex false>>setpagedevice"
    *Duplex DuplexNoTumble/Long Edge (Standard): "<</Duplex true/Tumble false>>
setpagedevice"
    *Duplex DuplexTumble/Short Edge (Flip): "<</Duplex true/Tumble true>>
setpagedevice"
    *CloseUI:       *Duplex            
     
and my assumption here is that I do get to "Pick one", viz any of the listed
group is acceptable.  Since my options are there, I would expect it to work.

So what am I doing wrong????

    [[ I USED to use the REAL ppd file for the HPLJ4M+ rather than the
       generic Postscript PPD, but with the current release of CUPS 
       using that PPD file causes the printer to want it paper from
       the letter slot rather than the paper tray, which is not acceptable,
       and is a problem that I havent seen a solution to ]]


-- 
                                        Reg.Clemens
                                        reg at dwf.com






More information about the cups mailing list