|
Re: Set arbitrary value in PPD: msg#00033printing.cups.devel
anonymous wrote: > > Is there anyway to set arbitrary value in PPD file? > e.g. for attribute NumCopies or Scaling. > > I don't know how ParamNumCopies could help in this situation, as how can the > web GUI/ applications (like open office) know it should be a text field > instead of a drop down box? Well, Adobe's PPD spec does not address this issue in general, but the paragraphs on custom page size may be a guide how to do that: Let's take Scaling as an example. First, the PPD should contain the lines ---snip--- *CustomScaling: True "scale" *ParamCustomScaling Xscale 1 points *ParamCustomScaling Yscale 2 points ---snip--- where the True means this sort of scaling is supported, and if used, 2 parameters must be supplied: a value for Xscale and a value for Yscale, and both must be given in printer's points, and there are no bounds for the values. The GUI should offer input fields for the Param... keywords, properly labelled, and the type keyword (points in this case) indicate that the input must be numbers. Helge -- Helge Blischke Softwareentwicklung SRZ Berlin | Firmengruppe besscom http://www.srz.de tel: +49 30 75301-360 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Development of CUPS backend proxy: 00033, alex-0oCsfqmDL6BZroRs9YW3xA |
|---|---|
| Next by Date: | Patch for cups-1.1.20 to pass REMOTE_HOST to backend: 00033, Simeon Miteff |
| Previous by Thread: | Set arbitrary value in PPDi: 00033, anonymous |
| Next by Thread: | Development of CUPS backend proxy: 00033, alex-0oCsfqmDL6BZroRs9YW3xA |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |