{"id":7494,"date":"2019-06-11T16:38:40","date_gmt":"2019-06-11T16:38:40","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=7494"},"modified":"2022-09-01T12:26:38","modified_gmt":"2022-09-01T19:26:38","slug":"netport-listener-input-source-in-eformz-director","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/netport-listener-input-source-in-eformz-director\/","title":{"rendered":"NetPort Listener input source in eFORMz Director"},"content":{"rendered":"\n<p>The NetPort Listener input source allows eFORMz to mimic a network printer so that other applications can print to this printer, and eFORMz receives the resulting byte stream. This is similar to the Windows Virtual Port Monitor, but it will work on a non-Windows system.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Defining NetPort Listener Input<\/h2>\n\n\n\n<p>Perform the following steps to configure a NetPort Listener input source in the Director Toolkit. Right-click on the root node of the configuration file and select \u201cAdd Input\u2026\u201d &gt; \u201cNetPort Listener\u2026\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"539\" height=\"364\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2019\/06\/NP1.png\" alt=\"\" class=\"wp-image-7496\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/06\/NP1.png 539w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/06\/NP1-300x203.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/06\/NP1-150x101.png 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/06\/NP1-250x169.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/06\/NP1-267x180.png 267w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/06\/NP1-444x300.png 444w\" sizes=\"(max-width: 539px) 100vw, 539px\" \/><\/figure>\n\n\n\n<p><strong><em>Basic Options<\/em><\/strong><\/p>\n\n\n\n<ul><li><strong><em>Name<\/em><\/strong>: Optionally, replace the default name \u201cport:9100\u201d with a descriptive name for the input source.<\/li><li><strong><em>Port<\/em><\/strong>: Optionally, replace the default port \u201c9100\u201d with the desired port number.<\/li><li><strong><em>Timeout<\/em><\/strong>: This is the number of milliseconds to wait before closing the connection, defaulting to 30000. When \u201cprinting\u201d to a NetPort Listener, the client is supposed to close the connection when finished writing the data. If the Timeout number of milliseconds elapses without receiving any data, eFORMz will force the connection to be closed.<\/li><\/ul>\n\n\n\n<p><strong><em>Advanced Options<\/em><\/strong><\/p>\n\n\n\n<ul><li><strong><em>LocalAddr<\/em><\/strong>: When a computer used as an eFORMz server has more than one IP address, this will limit the NetPort Listener to a single address rather than all addresses.<\/li><li><strong><em>MatchCidr<\/em><\/strong>: In <a href=\"https:\/\/en.wikipedia.org\/wiki\/Classless_Inter-Domain_Routing\">IP4 CIDR<\/a> format, that allows hosts who can connect. All other connections refused. Use semi-colons to separate multiple addresses.<\/li><li><strong><em>MatchHost<\/em><\/strong>: Same as MatchCidr but in host IP4 address format. Use semi-colons to separate multiple addresses. You must enter at least one value in MatchCidr or MatchHost. If both fields are blank, no connections can be made. Attempted connections result in the following error:<br>       <code> rejecting connection from <em>&lt;IPAddress><\/em><\/code><\/li><\/ul>\n\n\n\n<ul><li><strong><em>KeepCopy<\/em><\/strong>: Force the NetPort Listener to write a copy of the uniquely named input data to a file as defined by the path string given (if any).\u00a0 This is an option used in initial setup to get snapshots of data.<\/li><\/ul>\n\n\n\n<p><strong><em>Active Intervals<\/em><\/strong><\/p>\n\n\n\n<ul><li>This is the same as Active Intervals for other input types. See <a href=\"\/support\/index.php\/adding-an-active-interval-to-file-processing\/\">Adding an Active Interval to File Processing<\/a>.<\/li><\/ul>\n\n\n\n<p><strong><em>PJL Info Map<\/em><\/strong><\/p>\n\n\n\n<ul><li>Defines responses to send to the printing application to mimic a printer when the printing application queries for various categories. A relatively small subset of the possible categories is defined here. See the <a href=\"http:\/\/h10032.www1.hp.com\/ctg\/Manual\/bpl13208.pdf\">Printer Job Language Technical Reference Manual<\/a> defined by Hewlett-Packard.<\/li><\/ul>\n\n\n\n<p>After defining the above options, click OK.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add Message Selector (one or more)<\/h2>\n\n\n\n<p>After defining the NetPort Listener, you can add one or more Message Selectors to specify the input that will be accepted from the NetPort Listener. Right-click the NetPort Listener defined above, then select \u201cAdd Message Selector\u2026\u201d. The following dialog box is displayed:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"466\" height=\"338\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2019\/06\/NP2.png\" alt=\"\" class=\"wp-image-7495\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/06\/NP2.png 466w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/06\/NP2-300x218.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/06\/NP2-150x109.png 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/06\/NP2-250x181.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/06\/NP2-248x180.png 248w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2019\/06\/NP2-414x300.png 414w\" sizes=\"(max-width: 466px) 100vw, 466px\" \/><\/figure>\n\n\n\n<ul><li><em><strong>Remote Address<\/strong><\/em>: Where the Match* above will refuse an unknown calling address, this allows addresses to be segregated into different processing paths.<\/li><li><strong><em>MatchString<\/em><\/strong>: Search string for the first 2,000 bytes of incoming data. Process if the string exists.&nbsp;This is a <a href=\"\/support\/index.php\/regular-expressions-2\/\">regular expression<\/a>.<\/li><li><em><strong>Format<\/strong><\/em>: Defines the format of the incoming data for the eFORMz project that will process it. This is similar to selecting the radio button for the \u201cFormat\u201d on the <a href=\"\/support\/index.php\/director-toolkit\/\">File Selection on a Local Input Directory<\/a>.<\/li><li><strong><em>Variables tab<\/em><\/strong>: Allows you to define Queue Monitor variables to be passed to the project. Consult the <a href=\"\/support\/index.php\/queue-monitor-variables\/\">Queue Monitor Variables<\/a> post for more about this.<\/li><\/ul>\n\n\n\n<p>Tags: Print Server, Director, NetPort Listener<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The NetPort Listener input source allows eFORMz to mimic a network printer so that other applications can print to this printer, and eFORMz receives the resulting byte stream. This is similar to the Windows Virtual Port Monitor, but it will work on a non-Windows system. Defining NetPort Listener Input Perform the following steps to configure [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85],"tags":[27,546,547],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/7494"}],"collection":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=7494"}],"version-history":[{"count":5,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/7494\/revisions"}],"predecessor-version":[{"id":10442,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/7494\/revisions\/10442"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=7494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=7494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=7494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}