{"id":6194,"date":"2018-01-11T20:57:31","date_gmt":"2018-01-11T20:57:31","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=6194"},"modified":"2020-07-02T10:05:51","modified_gmt":"2020-07-02T17:05:51","slug":"form-layout","status":"publish","type":"post","link":"https:\/\/minisoft.com\/support\/form-layout\/","title":{"rendered":"Form Layout"},"content":{"rendered":"<p>To add custom layout lines in the eFORMz Composer, use\u00a0Form Layout. This is particularly useful for building DuplexPackSlip labels and laser forms. To use Form Layout, an eFORMz configuration file (.xml format) is utilized. This file is then referenced in <code>eFORMzCfg_User.xml<\/code>. For an example, download the following configuration file for a DuplexPackSlip A5 laser label:<\/p>\n<p><strong><a href=\"\/support\/wp-content\/uploads\/2018\/01\/eFORMzCfg_A5DPS.zip\">eFORMzCfg_A5DPS<\/a><\/strong><\/p>\n<p>Before continuing, add the following declaration in <code>eFORMzCfg_User.xml<\/code>:<\/p>\n<p><code>&lt;File Name=\"eFORMzCfg_A5DPS.xml\"\/&gt;<\/code><\/p>\n<h2>Implementation<\/h2>\n<p>1. After you have added <code>eFORMzCfg_A5DPS.xml<\/code> to the <code>Minisoft\\eFORMz_6<\/code> directory and the corresponding file declaration in <code>eFORMzCfg_User.xml<\/code>, open the Composer.<\/p>\n<p>2. Create a new project. Right click the form icon in the project window and select Form Properties &gt; General. The Form Properties dialog box will display<\/p>\n<p>3. From the Page Size drop-down menu, select A5 DPS. From the Form Layout drop-down menu, select A5 DPS Front.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6196\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout1.png\" alt=\"\" width=\"568\" height=\"428\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout1.png 568w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout1-300x226.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout1-150x113.png 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout1-250x188.png 250w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout1-550x414.png 550w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout1-239x180.png 239w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout1-398x300.png 398w\" sizes=\"(max-width: 568px) 100vw, 568px\" \/><\/a><\/p>\n<p>4. The custom layout will display in the eFORMz Composer.<\/p>\n<p><a href=\"\/support\/wp-content\/uploads\/2018\/01\/FormLayout2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6197\" src=\"\/support\/wp-content\/uploads\/2018\/01\/FormLayout2.png\" alt=\"\" width=\"614\" height=\"623\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout2.png 614w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout2-296x300.png 296w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout2-148x150.png 148w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout2-75x75.png 75w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout2-48x48.png 48w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout2-250x254.png 250w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout2-550x558.png 550w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout2-177x180.png 177w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/FormLayout2-493x500.png 493w\" sizes=\"(max-width: 614px) 100vw, 614px\" \/><\/a><\/p>\n<h2>Custom Form and Label Size Reference<\/h2>\n<p>For more information on implementing custom form and label sizes, view the following resource: <a href=\"\/support\/index.php\/custom-form-and-label-sizes\/\">Custom Form And Label Sizes<\/a>.<\/p>\n<p>To add a custom form or label size to eFORMz, you will need to use the <code>PageDimension<\/code> declaration. The A5 DuplexPackSlip sample declaration is for a label of 5.8 inches (width) by 8.3 inches (height) [148 x 210 mm]:<\/p>\n<pre>&lt;PageDimension Name=\"A5 DPS\" PCLNumber=\"25\" PortraitA=\"4176\" PortraitB=\"5976\" PortraitC=\"4176\" PortraitD=\"5976\"\n PortraitE=\"0\" PortraitF=\"0\" PortraitG=\"0\" PortraitH=\"0\" LandscapeA=\"5976\" LandscapeB=\"4176\" LandscapeC=\"5976\" LandscapeD=\"4176\"\n LandscapeE=\"0\" LandScapeF=\"0\" LandscapeG=\"0\" LandscapeH=\"0\" \/&gt;\n<\/pre>\n<h2><a href=\"\/support\/wp-content\/uploads\/2020\/06\/PDLReference.pdf\">Media Sizes (PCL)<\/a><\/h2>\n<h2><a href=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/PCLMedia.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-7996\" src=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/PCLMedia.png\" alt=\"\" width=\"716\" height=\"672\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/PCLMedia.png 716w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/PCLMedia-300x282.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/PCLMedia-150x141.png 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/PCLMedia-250x235.png 250w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/PCLMedia-550x516.png 550w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/PCLMedia-192x180.png 192w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/PCLMedia-320x300.png 320w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2018\/01\/PCLMedia-533x500.png 533w\" sizes=\"(max-width: 716px) 100vw, 716px\" \/><\/a><\/h2>\n<h2><a href=\"\/support\/wp-content\/uploads\/2020\/06\/PDLReference.pdf\">Envelope Sizes (PCL)<\/a><\/h2>\n<h2><a href=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2020\/06\/PCLEnvelope.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-7999\" src=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2020\/06\/PCLEnvelope.png\" alt=\"\" width=\"709\" height=\"158\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2020\/06\/PCLEnvelope.png 709w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2020\/06\/PCLEnvelope-300x67.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2020\/06\/PCLEnvelope-150x33.png 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2020\/06\/PCLEnvelope-250x56.png 250w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2020\/06\/PCLEnvelope-550x123.png 550w\" sizes=\"(max-width: 709px) 100vw, 709px\" \/><\/a><\/h2>\n<h2><a href=\"\/support\/wp-content\/uploads\/2020\/06\/HPPCL.pdf\">Hewlett Packard Source<\/a><\/h2>\n<h2><a href=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2020\/06\/PCLHP.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-8000\" src=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2020\/06\/PCLHP.png\" alt=\"\" width=\"342\" height=\"270\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2020\/06\/PCLHP.png 342w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2020\/06\/PCLHP-300x237.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2020\/06\/PCLHP-150x118.png 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2020\/06\/PCLHP-250x197.png 250w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2020\/06\/PCLHP-228x180.png 228w\" sizes=\"(max-width: 342px) 100vw, 342px\" \/><\/a><\/h2>\n<h2>Custom Layout Reference<\/h2>\n<p>To add custom layouts in eFORMz, you will need to use the <code>FormLayout<\/code> declaration. The front of the A5 DuplexPackSlip label has the following declaration:<\/p>\n<pre>&lt;FormLayout Name=\"A5 DPS Front\"&gt;\n&lt;GuideLine StartX=\"545\" EndX=\"3490\" StartY=\"5040\" EndY=\"5040\" Thickness=\"17.2\" Style=\"dotted\" Color=\"192,0,0\" \/&gt;\n&lt;GuideLine StartX=\"545\" EndX=\"545\" StartY=\"5040\" EndY=\"790\" Thickness=\"17.2\" Style=\"dotted\" Color=\"192,0,0\" \/&gt;\n&lt;GuideLine StartX=\"3490\" EndX=\"3490\" StartY=\"5040\" EndY=\"790\" Thickness=\"17.2\" Style=\"dotted\" Color=\"192,0,0\" \/&gt;\n&lt;GuideLine StartX=\"545\" EndX=\"3490\" StartY=\"790\" EndY=\"790\" Thickness=\"17.2\" Style=\"dotted\" Color=\"192,0,0\" \/&gt;\n&lt;GuideLine StartX=\"0\" EndX=\"4176\" StartY=\"390\" EndY=\"390\" Thickness=\"7.2\" Style=\"solid\" Color=\"192,192,192\" \/&gt; &lt;!-- Top --&gt;\n&lt;GuideLine StartX=\"0\" EndX=\"4176\" StartY=\"5800\" EndY=\"5800\" Thickness=\"7.2\" Style=\"solid\" Color=\"192,192,192\" \/&gt; &lt;!-- Bottom --&gt;\n&lt;GuideLine StartX=\"3850\" EndX=\"3850\" StartY=\"0\" EndY=\"6070\" Thickness=\"7.2\" Style=\"solid\" Color=\"192,192,192\" \/&gt; &lt;!-- Right --&gt;\n&lt;GuideLine StartX=\"0\" EndX=\"4176\" StartY=\"5100\" EndY=\"5100\" Thickness=\"7.2\" Style=\"dashed\" Color=\"192,192,192\" \/&gt; &lt;!-- Top Tear --&gt;\n&lt;GuideLine StartX=\"0\" EndX=\"4176\" StartY=\"5350\" EndY=\"5350\" Thickness=\"7.2\" Style=\"dashed\" Color=\"192,192,192\" \/&gt; &lt;!-- Bottom Tear --&gt;\n&lt;\/FormLayout&gt;<\/pre>\n<p>The <code>GuideLine<\/code> element specifies the start position and end position of a line in x\/y coordinates in the eFORMz Composer, based on decipoints. <code>Thickness<\/code> is an attribute which determines the thickness of a line. <code>Style<\/code> is an attribute which determines the appearance of the line (solid, dashed, dotted). <code>Color<\/code> is an attribute which determines the color of the line, using an RGB color value.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To add custom layout lines in the eFORMz Composer, use\u00a0Form Layout. This is particularly useful for building DuplexPackSlip labels and laser forms. To use Form Layout, an eFORMz configuration file (.xml format) is utilized. This file is then referenced in eFORMzCfg_User.xml. For an example, download the following configuration file for a DuplexPackSlip A5 laser label: [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79],"tags":[376,377,39,375],"_links":{"self":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6194"}],"collection":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=6194"}],"version-history":[{"count":5,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6194\/revisions"}],"predecessor-version":[{"id":8006,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6194\/revisions\/8006"}],"wp:attachment":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=6194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=6194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=6194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}