<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
My assumption is that the label/orientation/page in your print template needs to match the format in the language json file <a href="https://github.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://github.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" id="LPlnk606416">here</a> (or
whichever language your site uses). I believe this change happened so that GeoMoose can more easily be translated into other languages.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
So for example if you're trying to create/modify an 11x17 portrait layout the label would have to be tabloid-portrait, the orientation would have to be portrait, and the page would have to be tabloid. If you're trying to create a new template that's not in
the language json files you probably would have to add them to the json files and rebuild the application. You also need to make sure that you're directing GeoMoose to use your custom layouts like this (I'm not sure if the way of doing that has change between
3.6 and 3.10):</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
var print_preview = app.add(gm3.components.PrintModal, 'print-preview', {
<div class="ContentPasted1"> layouts: custom_layouts</div>
});<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
If that doesn't help, sharing your print code in your app.js (including templates) might help debug what's going on.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
Chris</div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1"></div>
<br>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; text-align: start; background-color: rgb(255, 255, 255); display: inline !important;">--</span><br style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; text-align: start; background-color: rgb(255, 255, 255);">
<div dir="ltr" style="font-size: 15px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; margin: 0px; text-align: start; background-color: rgb(255, 255, 255);">
<div dir="ltr" style="margin:0px"><font size="4">Chris Hughes</font>
<div style="font-size:12.79px;margin:0px"><br>
</div>
<div style="font-size:12.79px;margin:0px">GIS Analyst</div>
<div style="font-size:12.79px;margin:0px"><font size="1">Lincoln County GIS Department </font></div>
<div style="margin:0px"><font size="1"><span style="font-family:Roboto, arial, sans-serif;margin:0px">880 NE 7th S</span><span style="font-family:Roboto, arial, sans-serif;margin:0px">t</span>. l Newport, OR 97365</font></div>
<div style="font-size:12.79px;margin:0px"><font size="1">Tel: (541) 574 1283</font></div>
</div>
</div>
<br>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> GeoMoose-users <geomoose-users-bounces@lists.osgeo.org> on behalf of Anton Postl <anton.postl@zwinz.co.at><br>
<b>Sent:</b> Friday, March 3, 2023 12:57 AM<br>
<b>To:</b> geomoose-users@lists.osgeo.org <geomoose-users@lists.osgeo.org><br>
<b>Subject:</b> [GeoMoose-users] Print Layouts</font>
<div> </div>
</div>
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
{color:#0563C1;
text-decoration:underline}
span.x_E-MailFormatvorlage17
{font-family:"Calibri",sans-serif;
color:windowtext}
.x_MsoChpDefault
{font-family:"Calibri",sans-serif}
@page WordSection1
{margin:70.85pt 70.85pt 2.0cm 70.85pt}
-->
</style>
<div lang="DE-AT" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal">Hello,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">I'm trying to define my own print layout.</p>
<p class="x_MsoNormal">according to the instructions:</p>
<p class="x_MsoNormal"><a href="https://cas5-0-urlprotect.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fdocs.geomoose.org%2f3.x%2fhowto%2fprint%2dlayouts.html&umid=c51612d1-b9a3-11ed-8159-6045bd038605&auth=dc2ed28abfc38f9dccdc580b0625a9783b471d36-3ae64ebc1903a230e52614d8919b6b12ee162144">https://docs.geomoose.org/3.x/howto/print-layouts.html</a></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">in version 3.6.1 it worked without any problems.</p>
<p class="x_MsoNormal">under 3.10.1 only the default layouts are displayed, is there anything else to define?</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Thank you</p>
</div>
</div>
</body>
</html>