Opened 9 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)

aven_job__1.pdf (23.4 KB) - added by Olly Betts 9 years ago.
Example multi-page printout from linux

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by Olly Betts

Attachment: aven_job__1.pdf added

Example multi-page printout from linux

comment:1 Changed 9 years ago by Olly Betts

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 9 years ago by Olly Betts

Component: Otheraven

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].

Last edited 9 years ago by Olly Betts (previous) (diff)

comment:3 Changed 9 years ago by Olly Betts

Do you get the footer on every page with 1.2.18?

comment:4 Changed 9 years ago by Olly Betts

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 Olly Betts

Milestone: 1.2.19
Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.