All of lore.kernel.org
 help / color / mirror / Atom feed
* [Printing-architecture] Common Printing Dialog: Print to (PDF) file
@ 2009-08-19  9:52 Till Kamppeter
  2009-10-08 17:06 ` Per Hermansson
  2009-10-08 17:41 ` Hal V. Engel
  0 siblings, 2 replies; 4+ messages in thread
From: Till Kamppeter @ 2009-08-19  9:52 UTC (permalink / raw)
  To: Open Printing, Lars Uebernickel, Per Hermansson, Alexander Wauck

Hi,

the final design planning is that all applications should have "Export 
to PDF ..." in their file menus (like OpenOffice.org) with a dedicated 
dialog, similar to the CPD but yet to be designed by OpenUsability.

As this will take time and the current Qt and GTK printing dialogs 
contain a "Print to File" facility which appears as an extra print 
queue, we should implement such a "Print to File" queue also in the 
Common Printing dialog, so that we get it quickly into the distros 
without having a regression due to this feature missing.

For the implementation note that the current dialogs do not send the job 
into a CUPS queue for "Print to File" (we do not use facilities like the 
cups-pdf package). "Print to File" opens a "Save as ..." dialog when 
clicking on "Print" in the printing dialog. Then the user chooses where 
to put his file. This process is completely done by the printing dialog 
running as the calling user, nothing done by CUPS for it. At least GTK 
allows to choose between PostScript and PDF for such a file. For your 
implementation PDF would be the most important, PostScript can perhaps 
be dropped if it makes it too complicated.

It would be great if you could implement that in the Common Printing 
Dialog, ideally with a possibility for the application to suppress this 
feature (Lars, perhaps this needs an additional boolean parameter in the 
CPDAPI).

With this we will really be feature-complete.

As soon as the print-to-file dialog design is completed and it makes it 
into most applications, we can drop this feature from the printing 
dialog again.

    Till


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

* Re: [Printing-architecture] Common Printing Dialog: Print to (PDF) file
  2009-08-19  9:52 [Printing-architecture] Common Printing Dialog: Print to (PDF) file Till Kamppeter
@ 2009-10-08 17:06 ` Per Hermansson
  2009-10-08 17:41 ` Hal V. Engel
  1 sibling, 0 replies; 4+ messages in thread
From: Per Hermansson @ 2009-10-08 17:06 UTC (permalink / raw)
  To: Till Kamppeter; +Cc: Open Printing

Till Kamppeter wrote:
> Hi,
>
> the final design planning is that all applications should have "Export 
> to PDF ..." in their file menus (like OpenOffice.org) with a dedicated 
> dialog, similar to the CPD but yet to be designed by OpenUsability.
>
> As this will take time and the current Qt and GTK printing dialogs 
> contain a "Print to File" facility which appears as an extra print 
> queue, we should implement such a "Print to File" queue also in the 
> Common Printing dialog, so that we get it quickly into the distros 
> without having a regression due to this feature missing.
>
> For the implementation note that the current dialogs do not send the 
> job into a CUPS queue for "Print to File" (we do not use facilities 
> like the cups-pdf package). "Print to File" opens a "Save as ..." 
> dialog when clicking on "Print" in the printing dialog. Then the user 
> chooses where to put his file. This process is completely done by the 
> printing dialog running as the calling user, nothing done by CUPS for 
> it. At least GTK allows to choose between PostScript and PDF for such 
> a file. For your implementation PDF would be the most important, 
> PostScript can perhaps be dropped if it makes it too complicated.
This part has been implemented in the GTK version of the CPD and is 
available in the bazaar repo.
Better late then never :-)
> It would be great if you could implement that in the Common Printing 
> Dialog, ideally with a possibility for the application to suppress 
> this feature (Lars, perhaps this needs an additional boolean parameter 
> in the CPDAPI).
>
No such checks are made yet but it should be easy to fix if we decide to 
update the CPDAPI.

/Per

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

* Re: [Printing-architecture] Common Printing Dialog: Print to (PDF) file
  2009-08-19  9:52 [Printing-architecture] Common Printing Dialog: Print to (PDF) file Till Kamppeter
  2009-10-08 17:06 ` Per Hermansson
@ 2009-10-08 17:41 ` Hal V. Engel
  2009-10-08 20:06   ` Per Hermansson
  1 sibling, 1 reply; 4+ messages in thread
From: Hal V. Engel @ 2009-10-08 17:41 UTC (permalink / raw)
  To: printing-architecture

On Wednesday 19 August 2009 02:52:06 am Till Kamppeter wrote:
> Hi,
> 
> the final design planning is that all applications should have "Export
> to PDF ..." in their file menus (like OpenOffice.org) with a dedicated
> dialog, similar to the CPD but yet to be designed by OpenUsability.
> 
> As this will take time and the current Qt and GTK printing dialogs
> contain a "Print to File" facility which appears as an extra print
> queue, 

In Qt4 there are two of these queues, one each for PDF and PostScript files.

> we should implement such a "Print to File" queue also in the
> Common Printing dialog, so that we get it quickly into the distros
> without having a regression due to this feature missing.
> 
> For the implementation note that the current dialogs do not send the job
> into a CUPS queue for "Print to File" (we do not use facilities like the
> cups-pdf package). "Print to File" opens a "Save as ..." dialog when
> clicking on "Print" in the printing dialog  Then the user chooses where
> to put his file. 

In GTK yes but the Qt4 print dialogs do not open a separate "Save as.." dialog 
since the regular print dialog has an "Output file:" widget that is activated 
when when of the print to file queues is selected and there is no need for a 
separate "Save as.." dialog.  The "Print" button will cause the file to be 
created/saved.  This seems a little cleaner to me than having a separate "Save 
as.." dialog.

> This process is completely done by the printing dialog
> running as the calling user, nothing done by CUPS for it. At least GTK
> allows to choose between PostScript and PDF for such a file. For your
> implementation PDF would be the most important, PostScript can perhaps
> be dropped if it makes it too complicated.
> 
> It would be great if you could implement that in the Common Printing
> Dialog, ideally with a possibility for the application to suppress this
> feature (Lars, perhaps this needs an additional boolean parameter in the
> CPDAPI).
> 
> With this we will really be feature-complete.
> 
> As soon as the print-to-file dialog design is completed and it makes it
> into most applications, we can drop this feature from the printing
> dialog again.
> 
>     Till
> 
> _______________________________________________
> Printing-architecture mailing list
> Printing-architecture@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/printing-architecture
> 

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

* Re: [Printing-architecture] Common Printing Dialog: Print to (PDF) file
  2009-10-08 17:41 ` Hal V. Engel
@ 2009-10-08 20:06   ` Per Hermansson
  0 siblings, 0 replies; 4+ messages in thread
From: Per Hermansson @ 2009-10-08 20:06 UTC (permalink / raw)
  To: Hal V. Engel; +Cc: printing-architecture

Hal V. Engel wrote:
>> we should implement such a "Print to File" queue also in the
>> Common Printing dialog, so that we get it quickly into the distros
>> without having a regression due to this feature missing.
>>
>> For the implementation note that the current dialogs do not send the job
>> into a CUPS queue for "Print to File" (we do not use facilities like the
>> cups-pdf package). "Print to File" opens a "Save as ..." dialog when
>> clicking on "Print" in the printing dialog  Then the user chooses where
>> to put his file. 
>>     
>
> In GTK yes but the Qt4 print dialogs do not open a separate "Save as.." dialog 
> since the regular print dialog has an "Output file:" widget that is activated 
> when when of the print to file queues is selected and there is no need for a 
> separate "Save as.." dialog.  The "Print" button will cause the file to be 
> created/saved.  This seems a little cleaner to me than having a separate "Save 
> as.." dialog.
>
>   
This makes a good motivation for migrating to the real "Print to file" 
dialog when designed.
The CPD isn't designed for exporting to files so the current approach 
offers a good trade off.
If we make the current implementation too good no one will want to 
switch when the new dialog is released :-)

/Per

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

end of thread, other threads:[~2009-10-08 20:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-19  9:52 [Printing-architecture] Common Printing Dialog: Print to (PDF) file Till Kamppeter
2009-10-08 17:06 ` Per Hermansson
2009-10-08 17:41 ` Hal V. Engel
2009-10-08 20:06   ` Per Hermansson

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.