[gnome-print] printing PS File in landscape



Hi,

I am using gnome-print for my application.

     I have created a GnomePrinter with  
'gnome_printer_new_generic_ps'.  I then call 'gnome_print_print' 
It creates a PostScript file. I am sending it to the printer 
using
the 'lpr' command. It works fine for Portrait orientation.

     But my problem is when I select landscape. I am using
'gnome_print_master_preview_with_orientation' which displays
proper landscape preview. But when I call 'gnome_print_print' 
and
then I call 'lpr' command on the generated PS file, the hard 
copy
printout is truncated at the right side. therefore even in
landscape mode the width is that of a portrait.

Thanks in advance & Regards,

Harsha Kodnad,
Tally Solutions Pvt. Ltd.
Bangalore. India.

_________________________________________________________
There is always a better job for you at Monsterindia.com.
Go now http://monsterindia.com/rediffin/





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