Printer's Nonprintable Area



Hi,
 
    I have a GTK/GNOME application. I am using libgnomeprint, libgnomeprintui for printing.
 
    I want to get the value of Left and Top non printable margin of printer. even though gnome_print_config API says
we can get these values from GnomePrintConfig using GNOME_PRINT_KEY_PAPER_MARGIN_LEFT and GNOME_PRINT_KEY_PAPER_MARGIN_TOP
it does not work, it returns zero.
 
What is the difference b/w GNOME_PRINT_KEY_PAPER_MARGIN_LEFT and GNOME_PRINT_KEY_PAGE_MARGIN_LEFT
 
I am using libgnomeprint-2.2
 
please help me.
 
Thanks in advance
 
Regards,
 
Harsha Kodnad
Senior Software Engineer
Tally Solutions Pvt. Ltd.
Bangalore
 
Ph     : +91 80 302 82559 Ext : 327
Email :  harsha km tallysolutions com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]