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
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â.
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.
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.
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!
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
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?