<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Nur Text Zchn";
        margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
        {mso-style-name:x_msonormal;
        margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.NurTextZchn
        {mso-style-name:"Nur Text Zchn";
        mso-style-priority:99;
        mso-style-link:"Nur Text";
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE-AT" link="#0563C1" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoPlainText">thanks for the reply, this is how it worked in the old version<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">my code in the app.js looks like this:<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">var custom_layouts = [<o:p></o:p></p>
<p class="MsoPlainText">  {<o:p></o:p></p>
<p class="MsoPlainText">    label: 'A4 Quer',<o:p></o:p></p>
<p class="MsoPlainText">    orientation: 'landscape',<o:p></o:p></p>
<p class="MsoPlainText">    page: 'a4',<o:p></o:p></p>
<p class="MsoPlainText">    units: 'mm',<o:p></o:p></p>
<p class="MsoPlainText">    elements: [<o:p></o:p></p>
<p class="MsoPlainText">        {<o:p></o:p></p>
<p class="MsoPlainText">            type: 'text',<o:p></o:p></p>
<p class="MsoPlainText">            size: 15, fontStyle: 'bold',<o:p></o:p></p>
<p class="MsoPlainText">            x: 10, y: 12, text: '{{title}}'<o:p></o:p></p>
<p class="MsoPlainText">        },<o:p></o:p></p>
<p class="MsoPlainText">        {<o:p></o:p></p>
<p class="MsoPlainText">            type: 'map',<o:p></o:p></p>
<p class="MsoPlainText">            x: 10, y: 15,<o:p></o:p></p>
<p class="MsoPlainText">            width: 280, height: 185<o:p></o:p></p>
<p class="MsoPlainText">        },<o:p></o:p></p>
<p class="MsoPlainText">        {<o:p></o:p></p>
<p class="MsoPlainText">            type: 'text',<o:p></o:p></p>
<p class="MsoPlainText">                                               size: 8,<o:p></o:p></p>
<p class="MsoPlainText">            x: 10, y: 205, text: 'gedruckt am {{day}}.{{month}}.{{year}}'<o:p></o:p></p>
<p class="MsoPlainText">        }<o:p></o:p></p>
<p class="MsoPlainText">    ]<o:p></o:p></p>
<p class="MsoPlainText">  }<o:p></o:p></p>
<p class="MsoPlainText">];<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">var print_preview = app.add(gm3.components.PrintModal, 'print-preview', {<o:p></o:p></p>
<p class="MsoPlainText" style="text-indent:35.4pt">layouts: custom_layouts <o:p></o:p></p>
<p class="MsoPlainText">});<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you<o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="DE">Von:</span></b><span lang="DE"> Christopher Hughes <chughes@co.lincoln.or.us>
<br>
<b>Gesendet:</b> Freitag, 3. März 2023 17:23<br>
<b>An:</b> Anton Postl <anton.postl@zwinz.co.at><br>
<b>Betreff:</b> Re: Print Layouts<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">P {margin-top:0;margin-bo=tom:0;} <o:p></o:p></p>
<div>
<p class="MsoNormal" style="background:white"><span style="color:black">My assumption is that the label/orientation/page in your print template nee=s to match the format in the language json file <a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json">here=/a> (or
 whichever language your site uses). I believe this change happened so that=eoMoose can more easily be translated into other languages.<o:p></o:p></a></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><u><span style="color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black"><br>
<br>
</span><span style="color:black;text-decoration:none"><o:p></o:p></span></a></span></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><u><span style="color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black">So for example
 if you're trying to create/modify an 11x17 portrait layout t=e label would have to be tabloid-portrait, the orientation would have to b= 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 fi=es and rebuild the application. You also need to make sure that you're dir=cting GeoMoose to use your custom layouts like this (I'm not sure if the w=y of doing that has change between 3.6 and 3.10):<o:p></o:p></span></a></span></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><u><span style="color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black"><br>
<br>
<o:p></o:p></span></a></span></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><u><span style="color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black">var print_preview
 = app.add(gm3.components.PrintModal, 'print-preview', { <o:p></o:p></span></a></span></u></p>
<div>
<p class="MsoNormal" style="background:white"><u><span style="color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black">   layouts:
 custom_layouts<o:p></o:p></span></a></span></u></p>
</div>
<p class="MsoNormal" style="background:white"><u><span style="color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black"> });<br>
<br>
<o:p></o:p></span></a></span></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><u><span style="color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black"><br>
<br>
<o:p></o:p></span></a></span></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><u><span style="color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black">If that doesn't
 help, sharing your print code in your app.js (including tem=lates) might help debug what's going on.<o:p></o:p></span></a></span></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><u><span style="color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black"><br>
<br>
<o:p></o:p></span></a></span></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><u><span style="color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black">Chris<o:p></o:p></span></a></span></u></p>
</div>
<p class="MsoNormal"><u><span style="color:blue"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:blue"><br>
<br>
</span><o:p></o:p></a></span></u></p>
<div>
<div>
<p class="MsoNormal"><u><span style="color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black"><br>
<br>
</span><span style="color:black;text-decoration:none"><o:p></o:p></span></a></span></u></p>
</div>
<div id="Signature">
<div>
<div>
<p class="MsoNormal"><u><span style="color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black">=-<br>
<br>
<o:p></o:p></span></a></span></u></p>
<div>
<div>
<p class="MsoNormal"><u><span style="font-size:13.5pt;color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black">Chris Hughes</span><span style="font-size:11.0pt;color:black">
<o:p></o:p></span></a></span></u></p>
<div>
<p class="MsoNormal"><u><span style="font-size:9.5pt;color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black"><br>
<br>
<o:p></o:p></span></a></span></u></p>
</div>
<div>
<p class="MsoNormal"><u><span style="font-size:9.5pt;color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black">GIS Analyst<o:p></o:p></span></a></span></u></p>
</div>
<div>
<p class="MsoNormal"><u><span style="font-size:7.5pt;color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black">Lincoln County=IS Department </span><span style="font-size:9.5pt;color:black"><o:p></o:p></span></a></span></u></p>
</div>
<div>
<p class="MsoNormal"><u><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black">880
 NE 7th S</span><span style="font-family:"Calibri",sans-serif;color:black">t. l Newport, OR 97365<o:p></o:p></span></a></span></u></p>
</div>
<div>
<p class="MsoNormal"><u><span style="font-size:7.5pt;color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black">Tel: (541) 574=283</span><span style="font-size:9.5pt;color:black"><o:p></o:p></span></a></span></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><u><span style="font-size:7.5pt;color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black"><br>
<br>
<o:p></o:p></span></a></span></u></p>
</div>
</div>
</div>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span class="MsoHyperlink"><span style="font-size:7.5pt"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json">
<hr size="2" width="98%" align="center">
</a></span></span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><u><span style="font-size:7.5pt;color:black"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:black">From:</span><span style="color:black;font-weight:normal">
 GeoMoose-users on behalf of Anton Postl <br>
</span><span style="color:black">Sent:</span><span style="color:black;font-weight:normal"> Friday, March 3, 2023 12:57 AM<br>
</span><span style="color:black">To:</span><span style="color:black;font-weight:normal"> geomoose-users@lists.osgeo.org
<br>
</span><span style="color:black">Subject:</span><span style="color:black;font-weight:normal"> [GeoMoose-users] Print Layouts</span><span style="color:blue;font-weight:normal">
</span><span style="font-size:11.0pt;color:windowtext;font-weight:normal;text-decoration:none"><o:p></o:p></span></a></span></u></b></p>
<div>
<p class="MsoNormal"><u><span style="font-size:7.5pt;color:blue"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:blue"> <o:p></o:p></span></a></span></u></p>
</div>
</div>
<div>
<div>
<p class="xmsonormal"><u><span style="color:blue"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:blue">Hello,<o:p></o:p></span></a></span></u></p>
<p class="xmsonormal"><u><span style="color:blue"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:blue"> <o:p></o:p></span></a></span></u></p>
<p class="xmsonormal"><u><span style="color:blue"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:blue">I'm trying to define my own print layout.<o:p></o:p></span></a></span></u></p>
<p class="xmsonormal"><u><span style="color:blue"><a href="https://gi=hub.com/geomoose/gm3/blob/main/src/gm3/lang/en.json" title="https://gith=b.com/geomoose/gm3/blob/main/src/gm3/lang/en.json"><span style="color:blue">according to the instructions:<o:p></o:p></span></a></span></u></p>
<p class="xmsonormal"><a href="https://cas5-0-urlprotect.trendmicro.co=:443/wis/clicktime/v1/query?url=https%3a%2f%2fdocs.geomoose.org%2f3.x%2f=owto%2fprint%2dlayouts.html&umid=c51612d1-b9a3-11ed-8159-6045bd03860=&auth=dc2ed28abfc38f9dccdc580b0625a9783b471d36-3ae64ebc1903a230e5261=d8919b6b12ee162144">https://docs.geomoose.org/3.x/howto/print-layouts.html=/a><o:p></o:p></a></p>
<p class="xmsonormal"><u><span style="color:#0563C1"><a href="https://cas5-0-urlprotect.trendmicro.co=:443/wis/clicktime/v1/query?url=https%3a%2f%2fdocs.geomoose.org%2f3.x%2f=owto%2fprint%2dlayouts.html&umid=c51612d1-b9a3-11ed-8159-6045bd03860=&auth=dc2ed28abfc38f9dccdc580b0625a9783b471d36-3ae64ebc1903a230e5261=d8919b6b12ee162144"> <span style="color:windowtext;text-decoration:none"><o:p></o:p></span></a></span></u></p>
<p class="xmsonormal"><u><span style="color:#0563C1"><a href="https://cas5-0-urlprotect.trendmicro.co=:443/wis/clicktime/v1/query?url=https%3a%2f%2fdocs.geomoose.org%2f3.x%2f=owto%2fprint%2dlayouts.html&umid=c51612d1-b9a3-11ed-8159-6045bd03860=&auth=dc2ed28abfc38f9dccdc580b0625a9783b471d36-3ae64ebc1903a230e5261=d8919b6b12ee162144">in
 version 3.6.1 it worked without any problems. <o:p></o:p></a></span></u></p>
<p class="xmsonormal"><u><span style="color:#0563C1"><a href="https://cas5-0-urlprotect.trendmicro.co=:443/wis/clicktime/v1/query?url=https%3a%2f%2fdocs.geomoose.org%2f3.x%2f=owto%2fprint%2dlayouts.html&umid=c51612d1-b9a3-11ed-8159-6045bd03860=&auth=dc2ed28abfc38f9dccdc580b0625a9783b471d36-3ae64ebc1903a230e5261=d8919b6b12ee162144">under
 3.10.1 only the default layouts are displaye=, is there anything else to define?<o:p></o:p></a></span></u></p>
<p class="xmsonormal"><u><span style="color:#0563C1"><a href="https://cas5-0-urlprotect.trendmicro.co=:443/wis/clicktime/v1/query?url=https%3a%2f%2fdocs.geomoose.org%2f3.x%2f=owto%2fprint%2dlayouts.html&umid=c51612d1-b9a3-11ed-8159-6045bd03860=&auth=dc2ed28abfc38f9dccdc580b0625a9783b471d36-3ae64ebc1903a230e5261=d8919b6b12ee162144"> <o:p></o:p></a></span></u></p>
<p class="xmsonormal"><u><span style="color:#0563C1"><a href="https://cas5-0-urlprotect.trendmicro.co=:443/wis/clicktime/v1/query?url=https%3a%2f%2fdocs.geomoose.org%2f3.x%2f=owto%2fprint%2dlayouts.html&umid=c51612d1-b9a3-11ed-8159-6045bd03860=&auth=dc2ed28abfc38f9dccdc580b0625a9783b471d36-3ae64ebc1903a230e5261=d8919b6b12ee162144">Thank
 you<o:p></o:p></a></span></u></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>