[prev in list] [next in list] [prev in thread] [next in thread]
List: gimp-print-devel
Subject: Re: [Gimp-print-devel] Yet another option-related query...
From: Robert L Krawitz <rlk () alum ! mit ! edu>
Date: 2004-12-16 2:09:13
Message-ID: 200412160209.iBG29DQN014664 () dsl092-065-009 ! bos1 ! dsl ! speakeasy ! net
[Download RAW message or body]
Date: Thu, 16 Dec 2004 02:01:09 +0000
From: "Alastair M. Robinson" <blackfive@fakenhamweb.co.uk>
Robert L Krawitz wrote:
> It only defaults mandatory parameters; the color parameters aren't
> mandatory. This is by intention, and we need to document the behavior.
OK, thanks. By observation, the following workaround seems to set the
defaults the way I want them:
const stp_vars_t *defaults=stp_default_settings();
stp_vars_copy(v,defaults);
stp_set_printer_defaults(v,the_printer);
Any objections or potential pitfalls I should be aware of?
No, that's a perfectly reasonable way of doing it.
--
Robert Krawitz <rlk@alum.mit.edu>
Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail lpf@uunet.uu.net
Project lead for Gimp Print -- http://gimp-print.sourceforge.net
"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Gimp-print-devel mailing list
Gimp-print-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gimp-print-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic