Opened 10 years ago
Closed 9 years ago
#52 closed defect (fixed)
Labelling printouts
Reported by: | Erin Lynch | Owned by: | Olly Betts |
---|---|---|---|
Priority: | major | Milestone: | 1.2.19 |
Component: | aven | Version: | |
Keywords: | Cc: |
Description
When printing multi-page surveys from aven on Windows, the line:
Survey "porcupine" Page 1 (of 2) Processed on Tues,2015.03.24 ...
doesn't print on every page.
Moreover, scale and orientation information should be included in this line to be printed on every page.
Attachments (1)
Change History (6)
Changed 10 years ago by
Attachment: | aven_job__1.pdf added |
---|
comment:1 Changed 10 years ago by
When you say it doesn't print on every page, which pages is it missing from?
It's meant to be on all of them, and it is in my tests on Linux (see attachment). But the aven code for this isn't specific to the operating system.
Putting the scale and orientation would be a nice addition, though we're going to have to make the message terser for it to all fit without making the font tiny.
comment:2 Changed 10 years ago by
Component: | Other → aven |
---|
Looking over the code, I notice we destroy any clipping region right after we write the footer, so if the clipping region excluded the new footer, that might explain this. Not sure why that would be different on Linux - perhaps it handles clipping regions differently. Anyway, let's try destroying the clipping region just before we write the footer - committed in [6b2384e11d51fd77015bc8e026f1ef9b63eb31d9/git].
comment:4 Changed 9 years ago by
The footer now (in the code in git) includes the viewing angles and scale. And if it would exceed the page width, the font size is scaled down so it will fit.
I have removed the "Processed on" so it has more change of fitting without reducing the font size too much, but the timestamp is still rather long and isn't clearly the date the data was processed, rather than (for example) the date of the printout. Perhaps the day and timezone could go to make room for "Processed:" or similar.
comment:5 Changed 9 years ago by
Milestone: | → 1.2.19 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I've sorted out shortening the date and added "Processed:". Jenny confirms that the footer shows on every page with 1.2.18, so closing. If you're still seeing problems, please reopen.
Example multi-page printout from linux