options on server and instances

james_hurford at yahoo.co.uk james_hurford at yahoo.co.uk
Tue May 11 00:32:45 PDT 2004


Michael Sweet wrote:
> james_hurford at yahoo.co.uk wrote:
> > Micheal,
> >
> > thanks for the quick reply.
> >
> > I tried
> >
> > lpadmin -p asic1_300dpi -o media=A4,resolution=300
>
> You can't separate the options with commas, that makes for another
> value for the same option...

Ahh that explains that bit

>
> > and
> >
> > lpadmin -p asic1_300dpi -o media=A4
> >
> > but this was not reflected on the web front end.  It still shows
> > printer asic1_300dpi having a default media of Letter and resolution
> > is still 600dpi.
>
> Hmm, try:
>
>      lpadmin -p printername -o PageSize=A4 -o Resolution=300dpi
>
That changed the default media type.  I shall dig around the ppd file to see how the value for resoltuion is specified.

thanks





More information about the cups mailing list