After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 139687 - Header/Footer missing in Postscript Output
Header/Footer missing in Postscript Output
Status: RESOLVED INCOMPLETE
Product: gnome-print
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2004-04-10 23:11 UTC by Hadmut Danisch
Modified: 2006-07-06 23:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Testfile (1.66 KB, application/octet-stream)
2004-04-11 07:55 UTC, Hadmut Danisch
Details
Postscript output (50.58 KB, application/octet-stream)
2004-04-11 07:56 UTC, Hadmut Danisch
Details

Description Hadmut Danisch 2004-04-10 23:11:09 UTC
Create a sheet, Select File/PageSetup
Headers and Footers
Configure some header lines

In Print Preview and printing to CUPS, the
Header and Footer lines appear correctly.

But when generating a Postscript or PDF file, 
the Header and Footer lines are missing.
Comment 1 Andreas J. Guelzow 2004-04-10 23:20:10 UTC
Would you please attach the original gnumeric file as well as the Postscrip file
you created from it?

WHich version of (lib)gnomeprint, and (lib)gnomeprintui are you running? 
Comment 2 Andreas J. Guelzow 2004-04-10 23:25:26 UTC
If the header lines wouldn't show in the preview I would suspect that the space
for the header lines was set to 0.
Comment 3 Hadmut Danisch 2004-04-11 07:55:23 UTC
Created attachment 26553 [details]
Testfile

This is a stripped down version of the gnumeric sheet
Comment 4 Hadmut Danisch 2004-04-11 07:56:18 UTC
Created attachment 26554 [details]
Postscript output

This is the postscript output
Comment 5 Hadmut Danisch 2004-04-11 08:02:58 UTC
Package: libgnomeprint2.2-0
Version: 2.4.2-4

Package: libgnomeprintui2.2-0
Version: 2.4.2-2

Your hint was correct, the space was set to a small value (>0). 
If set to a larger value, then the header lines appear correctly.

However, with the small value the header lines were missing in 
postscript output, but visible in preview and on my postscript 
printer, but not when generating a postscript file and sending that
to the printer.

I found when starting a new sheet, the header and footer length
are indeed set to 0. This should be set to a more reasonable value.

regards
Hadmut
Comment 6 Andreas J. Guelzow 2004-04-13 14:16:37 UTC
Hi Hadmut,

the postscript file contains code that should typeset the headers, but
apparently does not. I am suspecting the font handling, since this code is the
same that would be send to the printer when you are printing directly. 

Could you please try this with a file in which you are using the characters from
the header also in the body?

Thanks
Comment 7 Karsten Bräckelmann 2006-07-06 23:23:08 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.

Thanks!