All of lore.kernel.org
 help / color / mirror / Atom feed
From: peter sikking <peter@mmiworks.net>
To: Glen Petrie <glen.petrie@eitc.epson.com>
Cc: printing-architecture@lists.linux-foundation.org,
	printing-summit@lists.linux-foundation.org
Subject: Re: [Printing-architecture] Print Dialog: Preview Processing: Only A Question
Date: Wed, 22 Apr 2009 17:56:55 +0200	[thread overview]
Message-ID: <A38CD885-35FE-4C37-A4AB-912E36D6ED69@mmiworks.net> (raw)
In-Reply-To: <ED4094DE5E8ACD4BBDACA6AD398E608F379D52@EEAEX03.us.epson.net>

Glen wrote:

> I have been requested to get a better understanding of processing  
> related to the print preview.
> I am not proposing a solution or suggesting changing to a solution.
>
> Question Summary: Will the Application or the Print Dialog Generate  
> the Preview?  Perhaps some of both?  Perhaps on one.

both.

the preview generation mirrors the printing process. For the
real print job the application does the transformation (formatting
for paper) and the printer (+ driver + CUPS + lots more) does the rest.
For the preview the the application does the transformation and the
print dialog does the rest.

what triggers an application re-transformation for the preview?
well, any change of parameter in the dialog that the application
takes into account for its transformation.

Foremost: printable page area, which could also be changed
as a side effect of changing N-up (I do not expect the app to do the
scaling down and placing of more pages on a side, just to get (maybe)
a slightly different printable area).

Then there is orientation.
And scale to fit (see below).

> n       n-up
> n       duplex
> n       booking (book layout)
> n       watermarks
> n       color-to-bw


none of the above would _directly_ trigger a re-transformation
(although b+w optimisation could may be covered by apps like scribus).
I would be most interested in any other parameters I oversaw
or misjudged.

on top of this is every parameter that the application places
in the print dialog (under the application tag), it is only logical
that these application parameters directly control the transformation.

a simple example of an application parameter is a web browser
including the checkbox "Print headers and footers" in the
print dialog. toggling this should immediately reformat the
print, resulting even in more/less pages to print.

> (An interesting case is page size (or page orientation) when the  
> user selects “scale-to-fit”; so that the print dialog over rides  
> these two options by scaling the original print content from the  
> applications to fit the new pages size/orientation.  However, the  
> print content is not recreated by the application.)

This reminded me to add this one above. scale to fit relates to
content, of which the application has the domain knowledge.

>  I don’t believe that the actually printer driver would be needed to  
> render the preview at the level needed for the preview; so this  
> keeps generation of the preview within the confines of the print  
> dialog.

I agree.

> Now, should we consider the design where the print dialog only  
> receives the print job and no preview image (less burden on the  
> application); then it is the responsibility of the print dialog to  
> “render” the preview. Examples
>
> --- If the print dialog receives an image then the Print Dialog  
> under-samples/sub-samples or uses a GDI command to create the  
> preview (size) image.
> --- If the print dialog receives PS/PDF then the Print Dialog calls  
> Ghostscript to a DPI/resolution value needed for the preview.  I  
> assume this processing is within an acceptable load.
> --- If the print dialog receives text; use Ghostscript or “printing”  
> to off screen memory to create an image representation.

this can only be a fall-back for a most uncooperative application,
that I cannot see placing its own parameters in the dialog.

so good enough for rock 'n' roll, but it would not fulfil the
minimal usability goals for the printing dialog.

     --ps

         founder + principal interaction architect
             man + machine interface works

         http://mmiworks.net/blog : on interaction architecture




  reply	other threads:[~2009-04-22 15:56 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22 13:45 [Printing-architecture] Print Dialog: Preview Processing: Only A Question Petrie, Glen
2009-04-22 15:56 ` peter sikking [this message]
     [not found]   ` <alpine.LNX.2.00.0904231017040.31092@nelson.suse.de>
2009-04-23 13:29     ` [Printing-architecture] [Printing-summit] " Petrie, Glen
2009-04-23 14:17       ` Till Kamppeter
     [not found] ` <3602B1A0-C33E-4665-BBB6-46D59F2F044E@apple.com>
2009-04-22 16:13   ` Petrie, Glen
2009-04-22 17:28     ` Tobias Hoffmann
2009-04-22 18:00       ` Petrie, Glen
2009-04-22 18:18         ` [Printing-architecture] [Printing-summit] Print Dialog: PreviewProcessing: " Petrie, Glen
2009-04-22 20:29           ` Till Kamppeter
     [not found]             ` <B6DB3491-8B38-4F9B-940F-69CF61B7A93E@apple.com>
2009-04-22 20:55               ` Till Kamppeter
2009-04-22 21:14                 ` Petrie, Glen
2009-04-22 22:15                   ` [Printing-architecture] [Printing-summit] Print Dialog:PreviewProcessing: " Petrie, Glen
2009-04-22 22:45                     ` Till Kamppeter
     [not found]                       ` <ED4094DE5E8ACD4BBDACA6AD398E608F379D75@EEAEX03.us.epson.net>
2009-04-23 15:24                         ` Till Kamppeter
2009-04-23 18:56                           ` Petrie, Glen
2009-04-24  3:22                             ` Hal V. Engel
2009-04-24 17:23                             ` Till Kamppeter
2009-04-24 18:33                               ` Petrie, Glen
2009-04-24 20:02                                 ` Hal V. Engel
     [not found]                                 ` <5d88ef650904241246i2c0cc6f2j3143053f5a4e50dd@mail.gmail.com>
2009-04-24 20:10                                   ` Petrie, Glen
     [not found]                                   ` <805FE411-4145-40DF-8BD5-6B91991B26E0@apple.com>
2009-04-24 21:20                                     ` Petrie, Glen
2009-04-26 20:50                                       ` Hal V. Engel
2009-04-23  1:34                     ` Tobias Hoffmann
2009-04-23  2:05                       ` Petrie, Glen
     [not found]     ` <3F74D775-B66B-422D-A091-D8723BA657AC@apple.com>
2009-04-22 17:36       ` [Printing-architecture] [Printing-summit] Print Dialog: Preview Processing: " Petrie, Glen
2009-04-23 19:06       ` peter sikking

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=A38CD885-35FE-4C37-A4AB-912E36D6ED69@mmiworks.net \
    --to=peter@mmiworks.net \
    --cc=glen.petrie@eitc.epson.com \
    --cc=printing-architecture@lists.linux-foundation.org \
    --cc=printing-summit@lists.linux-foundation.org \
    /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.