All of lore.kernel.org
 help / color / mirror / Atom feed
* [Printing-architecture] Print Dialog: Preview Processing: Only A Question
@ 2009-04-22 13:45 Petrie, Glen
  2009-04-22 15:56 ` peter sikking
       [not found] ` <3602B1A0-C33E-4665-BBB6-46D59F2F044E@apple.com>
  0 siblings, 2 replies; 26+ messages in thread
From: Petrie, Glen @ 2009-04-22 13:45 UTC (permalink / raw)
  To: printing-architecture, printing-summit

[-- Attachment #1: Type: text/plain, Size: 3434 bytes --]

All,

 

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.

 

Supporting Discussion:

 

Something brought up at the summit which I need clarification on was the
aspect of the "preview"; specifically, where it is generated (where does
the "processing" occur) and whether the Print Dialog will initially
and/or subsequently need/request the application to generate new/updated
preview content. Maybe all of this is a non-issue.  That this;
specifically, what printing attributes and what attributes would require
the application to generate/regenerate print(/preview) content?  I
believe the ones that we could all agree on would be margins, pages size
and page orientation.  I believe that most (if not all) applications
provide a mechanism for setting the page size and page orientation.
Applications also have a mechanism for margins or use the printer
default (how in Linux do applications get the default/min margin values
for a specific (the active) printer?).  So, I believe that the Print
Dialog is not "controlling"/setting these attributes for the
applications.  If the previous statements were true then what attributes
in the Print Dialog would need the application to generate/regenerate
the preview? 

 

What are the other printing parameters that should only be at the
application level?

 

What attributes can the dialog support generating the preview (note the
command would be passed to the print manager and printer driver for
actually printing or if no preview is skipped)

*       scaling (i.e. scale to fit)

*       n-up

*       duplex

*       booking (book layout)

*       watermarks

*       color-to-bw

*       Please see the OpenPrinting JTAPI list of objects and attributes
for a more complete list.

 

(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.)

 

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.

 

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.

 

So, dose this support having all of the "processing" of the preview
contained with the print dialog only? 

 

glen

 

 


[-- Attachment #2: Type: text/html, Size: 13253 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2009-04-26 20:50 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-22 13:45 [Printing-architecture] Print Dialog: Preview Processing: Only A Question Petrie, Glen
2009-04-22 15:56 ` peter sikking
     [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

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.