How to determine/modify the edit-print-page size

Hi everybody,
From the main menu going to menu ->edit ->print I see a very unusual paper-size, in my case 51" by 50".
I would like to know where these dimensions come from and how to select them if possible.
This may be useful to me and others when looking at a view (eg the excellent FamilyTreeView by @ztlxltl ) and needing to export a .svg or a .pdf ready to send to a collaborator or relative.

Does anyone know where these dimension come from or how to set them?
Perhaps the views have a latent capability to scale the canvas!

Thanks in advance.
brian

GRAMPS: 5.2.4 
Python: 3.10.12 
BSDDB: 6.2.9 (5, 3, 28) 
sqlite: 3.37.2 (2.6.0)
LANG: en_US.UTF-8
OS: Linux
Distribution: 5.15.0-130-generic
Linux mint VM on Virtualbox
1 Like

Glad you like my view. And the view you want to print is actually a pretty important piece of information, since printing is controlled by the view. So I can provide some context here.

The printing implementation is currently pretty basic. I decided that there should definitely be some kind of quality export of the tree (without printing there are only screenshots, I guess). Since a pagination logic that gives good results for all possible trees is quite complex, I decided that the best way is to export (print/save as pdf) the whole tree on one page, with the page size being the size of the tree, and let the user do the preprocessing by hand or automatically with dedicated software if he/she wants to split it on multiple pages.

My impression from threads in this forum is that most users want their tree printed on one large piece of paper. And it’s easier to split a large page into small pages than to combine many small pages into one large one.

I think a possible improvement would be to be able to select different page sizes and not create multiple pages, but instead scale the tree down to fit on one page of that page size. I’ll add that to my list.

I’m probably misunderstanding you but that’s not what I’m seeing with the Windows version. When I click on the print icon in the FTV I get the std Windows print dialog, where I can choose which device to print to. The only PDF printer I have is the built in ‘Microsoft print to PDF’. If I choose that, the tree that is printed ends up on a page size set by the printer driver, which defaults to A4 in my case. Unsurprisingly therefore most of the tree is lost, because it’s much bigger than A4.

In attempts to replicate this on Fedora 37 using Gramps 5.2.2, I am finding the page dimensions fields in the standard OS print dialogs to be disabled.

The dimension specified were about half a landscape letter size.

The views tried are the various Geography and Charts view modes. It was not limited to the experimental FamilyTreeView.

The page dimensions preferences for Reports were in the .gramps/report_options.xml

My previous post was based on what happened on my Win 10 desktop PC. Now I’m on my Win 11 laptop. In summary, no change.

The print dialog looks different (it would, it’s called ‘Progress’) and includes a tick box to ‘let the app change my printing preferences’. However, even with that option ticked, the page size of the output PDF is that as set within the print dialog. Thus bits of the tree are lost because it’s larger than the PDF page size of A4.

PS Note the use of an upper case ‘P’ on ‘Progress’. This indicates the word is a proper noun, i.e. it’s just a name and has no connection with ‘progress’ (lower case ‘p’), which is an adjective, describing ‘forward motion’.

My experience falls in line with @stuck.

Printing to PDF on Win10, Gramps 5.2.4 produced an 8.5x11 document.

In trying to understand @Brinycoolie’s original question, I could never find a view’s print option that even mentioned page sizes.

When I click on the print icon in the Family Tree View, and then click on the Page Setup tab, I see the size of the single page (in my case, 20.56 in x 18.06 in).

When I open the saved PDF, I can send the entire image to the printer if I select the Scale option “Fit to printable area” (the options you see may depend on your printer). Or I can choose “Custom” and enter a percentage for scaling. In my case, the maximum scale that will let everything fit on a single page is about 40% of the original.

Of course, if I then print to a normal sheet of paper, it will be very small. But I could send the PDF to a firm that prints posters.

I have to admit that I’ve only tested printing on Ubuntu. There, large and unusual page sizes are no problem and can be saved as PDF, Postscript or SVG. And the workflow I had in mind was pretty similar to the one @GeorgeWilmes outlined.

@GeorgeWilmes Which OS are you using?

I just tried on Windows and the Windows driver seems to override the page size that FTV provides/suggests. I’m not sure if this can be circumvented without implementing a rescale to a specific paper size in FTV. But how do you know what paper size the Windows PDF printer will use (e.g. Letter or A4)?
In general, maybe someone with experience printing other views on Windows can help. As @emyoulation suggests, this may not be FTV specific.

My only suggestion for the time being: Install other (trusted) PDF printers and see if they support large page sizes.

Debian 12.9

Are you able to change the scale as I did?

By checking in the printer driver. It’s buried a bit but it is there, e.g. on my Win 11 laptop if I:

  1. click on the FTV print icon
  2. in the dialog that opens, click on ‘more settings’
  3. in the next dialog that appears I can set the paper orientation, portrait or landscape, and…
  4. still in that dialog, click on the ‘Advanced’ button
  5. now I can set the paper size

If I recall correctly, it the same sequence on my Win 10 desktop PC.

Do you know of any particular software that can do this?

I once used Adobe Reader for a similar task (but not to print a family tree). It has a “Poster” print mode to split up a large page. Unfortunately, it’s only available for Windows and MacOS (and it’s not FOSS).
I don’t know of any alternatives, but there should be some PDF software with similar functionality.

since this morniong I have been experimenting with a tool for ‘tiling’ a large (in dimensions) PDF file called pdfposter https://pythonhosted.org/pdftools.pdfposter/Examples.html, available through the synaptic utility with only one other dependency, which is FOSS. The tool works quite well if you have a decent way to estimate what size ‘grid’ you will need. I do not have a plotter of my own and now I am retired I have no access to my employer’s plotter. ooops! :wink:
Anyway, I have determined that this tool will suffice and all I will need is a paper guillotine for trimming the edges on a 12 sheet stack. Much cheaper that a wide format plotter.
Most of the work I do needs a landscape format 3-wide by 4 deep of Letter-size tiles to show a quite readable 100 person tree on a tile-print of the very excellent FamilyTreeView…did I say superb?

Of course if the source-code of this FOSS tool, seemingly available on the author’s site, was forked and incorporated directly into the Gramps view so user configuration action could specify the grid for any arbitrary output pdf, then it would be quite useful in these views but also for reports and trees and so on…
It seems that depending on the filter chosen by a gramps user the shape of the resultant tree is often very different so a rectangular grid can certainly waste a few pages of printer paper in the blank areas. A clever refinement would be to identify those blank pages for a specified grid, minimize the grid shape and dimensions to minimize the blank pages and so exclude them from the output print.
Thanks for all the ideas and discussion though.
brian

1 Like

I am very honored by your repeated praise of the addon. I’m glad you find it useful!

I haven’t used the tool, but if it would be useful for multiple tools in Gramps, and if you would like to see it integrated into Gramps, this should be discussed with the Gramps developers. There may be many open questions, such as whether it can be integrated into the AIO for Windows.
Since I don’t know the tool, I can’t judge whether the integration makes sense and is worth the effort.

Like I said, I haven’t used the tool, but can’t you print to PDF and then only print the non-blank pages from that PDF?