ADG 

Issue 41: Add printing support

Reported by Nicola Fontana, May 1, 2010

Enable a "Print" command in adg-demo using the GTK+ high 
level printing API:

http://library.gnome.org/devel/gtk/stable/gtk-High-level-Printing-API
.html

The ADG project yet requires GTK+ 2.12 or later, so the printing 
APIs are always available when the GTK+ support is enabled (it was 
introduced in GTK+ 2.10).

The issue #40 should be implemented before this one, though.

Comment 1 by Nicola Fontana, Jun 15, 2010

Issue #40 has been resolved and provides a way to specify the canvas 
size using the GTK+ printing APIs.

Although the GTK+ API is actually used only to get size and margins, 
the printing support in ADG should pick up as much information as 
possible from the GTK+ side. This means would probably be needed to 
store the paper name somewhere for further use.
Labels: Component:ADG:GTK Component:Build
Status: Started

Comment 2 by Nicola Fontana, Jun 27, 2010

Issue closed by commit c06b439cb2ff052c4479bf7de3bc3a7b8a4e3a0c.

Actually, the API provided with GTK+ support enabled is able to bind 
a GtkPageSetup to the canvas (using the hardcoded 
"_gtk_page_setup" associative key of the AdgCanvas) so 
everything tied to the page setup can be carried together with the 
canvas.
Status: Fixed

Created: 9 years 6 months ago by Nicola Fontana

Updated: 9 years 4 months ago

Status: Fixed

Owner: Nicola Fontana

Labels:
Type:Feature
Priority:Medium
Planned:0.6.1
Component:ADG:GTK