[Gnome-print] New gnome-print features
- From: Morten Welinder <terra diku dk>
- To: gnome-print helixcode com
- Subject: [Gnome-print] New gnome-print features
- Date: Wed, 12 Apr 2000 16:13:45 +0200 (METDST)
The last two days saw a two new features sneak into gnome-print
cvs:
1. There is a new "beginpage" method to be called at the beginning
of a page in the same way that "showpage" is called at the end.
Beginpage takes a page_name argument, a string that describes
what the user's idea of the page's name is. This could be
"1", "2", "3" or it could be "i", "ii", "iii". No spaces.
If you fail to call it, currently nothing bad happens, but you
will not be able to navigate generated postscript files using
gv, pstops, etc. The postscript output is "%%Page: name no".
(In the future, the consequences of not calling could be more
severe. Telling Gates where you live comes to mind.)
2. There is a new gnome_print_master_preview_new_with_orientation
which is like gnome_print_master_preview_new, except that it
takes an extra argument, "landscape". If true, the "paper"
will be rotated 90 degrees and make your landscape preview
readable.
(Blame Miguel if your C compiler dumps core on seeing the new
identifier.)
Morten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]