All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Sweet <mike@easysw.com>
To: Robert L Krawitz <rlk@alum.mit.edu>
Cc: printing-driver@freestandards.org,
	printing-architecture@freestandards.org
Subject: Re: [Printing-architecture] Re: [printing-driver] FSG Printer Working Group conference call 03/26/03
Date: Mon, 24 Mar 2003 21:13:35 -0500	[thread overview]
Message-ID: <3E7FBB4F.4040503@easysw.com> (raw)
In-Reply-To: <200303250116.h2P1GZVc009025@dsl092-065-009.bos1.dsl.speakeasy.net>

Robert L Krawitz wrote:
>    From: Mark Hamzy <hamzy@us.ibm.com>
>    Date: Mon, 24 Mar 2003 13:30:36 -0600
> 
>    * should printer drivers implement a required set of common job properties
>    (JP)?
>      Examples of keys would be: orientation, form, tray, media, duplex,
>    resolution.
> 
> These certainly don't apply to all printers; most inkjets don't
> support duplex, and many also don't have selectable input sources.
> I'd prefer to see a list of standard job properties that could be
> amended, and standards (and/or a registry) for drivers to support
> non-standard properties (such as the whole mess of things Gimp-print
> supports).

WRT the sides (duplex) attribute, the related sides-supported
attribute lists the supported values.  For a printer that does
not support duplexing, the only supported value will be
"one-sided".

As for the property "registry", that is one topic for the
capabilities API that will be part of PAPI 2.0 (or 1.1, or
whatever).  At present, it looks like we'll have an attribute
that lists the available job template attributes, additional
attributes to handle simple constraints, and finally an API
for doing round-trip constraint checks.

> ...
>    * should we have an interface to query the printer's job dialog?
>      This will allow for programmatic support of setting/querying the JPs.
> 
> Yes.  This actually maps very well to Gimp-print, particularly in
> 4.3.  It's a lot more flexible than a static file; expressing
> constraints using boolean logic can get extremely complex.

First, we need static files (or the equivalent attributes) for
the UI; there cannot be a direct interface between app and driver,
otherwise we're repeating the same old errors that have been
cursed on Windows.

Second, all constraints can be expressed using boolean logic;
putting them in code or in a file doesn't matter much - the
same amount of complexity is required either way.  Keep in mind
that we are planning on providing a constraint mechanism that
is a superset of that supported by PPD and that there will still
be a way to do full round-trip constraint checks through the
printing system (if supported); the latter checks are meant for
sanity checks when submitting options/jobs and not for on-the-fly
constraint checking when a user changes an option.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products                  mike@easysw.com
Printing Software for UNIX                       http://www.easysw.com



  reply	other threads:[~2003-03-25  2:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-24 19:30 [Printing-architecture] FSG Printer Working Group conference call 03/26/03 Mark Hamzy
2003-03-25  1:16 ` [Printing-architecture] Re: [printing-driver] " Robert L Krawitz
2003-03-25  2:13   ` Mike Sweet [this message]
2003-03-25  2:42     ` Robert L Krawitz
2003-03-25 15:22       ` Michael Sweet
2003-03-26  1:56         ` Robert L Krawitz
2003-03-26  4:31           ` Mike Sweet
2003-03-27  1:01             ` Robert L Krawitz
2003-03-27  3:42               ` Mike Sweet
  -- strict thread matches above, loose matches on Subject: below --
2003-03-25 14:06 Pete Zannucci
2003-03-26  2:01 ` Robert L Krawitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E7FBB4F.4040503@easysw.com \
    --to=mike@easysw.com \
    --cc=printing-architecture@freestandards.org \
    --cc=printing-driver@freestandards.org \
    --cc=rlk@alum.mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.