{"id":758,"date":"2019-03-25T17:32:12","date_gmt":"2019-03-25T20:32:12","guid":{"rendered":"http:\/\/xexeu.elipse.com.br\/pt\/demo-application-printing-by-lines-not-pages\/"},"modified":"2024-02-07T15:14:48","modified_gmt":"2024-02-07T18:14:48","slug":"demo-application-printing-by-lines-not-pages","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/","title":{"rendered":"Demo application: printing by lines, not pages."},"content":{"rendered":"<p align=\"justify\">Per-page printing is the standard Windows behavior; however, sometimes you may want to print your documents per line.<\/p>\n<p align=\"justify\"><strong>1. <\/strong>Since <strong>version 4.7<\/strong>, the <strong>Line Printer<\/strong> object was created.<\/p>\n<p align=\"justify\">A<strong> Line Printer<\/strong> is an object that allows printing directly to a dot-matrix printer. To use this resource, follow these procedures:<\/p>\n<p align=\"justify\">A) Right-click the Data Server object and select the <strong>Insert &#8211; Standard &#8211; Line Printer<\/strong> option.<\/p>\n<figure id=\"attachment_10142\" style=\"width: 553px\"  class=\"wp-caption aligncenter\"><a href=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/03\/758\/1EN.png\"><img loading=\"lazy\" class=\"size-full wp-image-10142\" src=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/03\/758\/1EN.png\" alt=\"\" width=\"553\" height=\"543\" \/><\/a><figcaption class=\"wp-caption-text\">Inserting a Line Printer<\/figcaption><\/figure>\n<p align=\"justify\">B) To configure a Line Printer, right-click the object and select the Properties option. The window on the next figure is<br \/>\ndisplayed.<\/p>\n<figure id=\"attachment_10143\" style=\"width: 436px\"  class=\"wp-caption aligncenter\"><a href=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/03\/758\/2EN.png\"><img loading=\"lazy\" class=\"size-full wp-image-10143\" src=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/03\/758\/2EN.png\" alt=\"\" width=\"436\" height=\"317\" \/><\/a><figcaption class=\"wp-caption-text\">General tab<\/figcaption><\/figure>\n<p>C) The <strong><em>Write(Value)<\/em><\/strong> method sends the String passed on the Value parameter to the printer selected on the Line Printer object. If the value passed by this method exceeds the number of pending lines configured in the <strong>MaxPendingLines<\/strong> property, this method returns an error and the String is discarded.<\/p>\n<p align=\"justify\"><strong>2.<\/strong> For versions <strong>below 4.7<\/strong> , check the following example that uses an auxiliary program:<\/p>\n<p align=\"justify\">This demo application uses an external program that sends a string to the printer in order to print only a single line. In addition to a test button on the screen, the application also prints warning messages. Every time an alarm occurs, according to alarm source settings, a script is fired to send the warning message to the printer.<\/p>\n<p><b>NOTE<\/b>: Not all printers support this type of printing, usually only dot matrix and\u00a0some\u00a0ink jet printers.<\/p>\n<h3 align=\"justify\">Attachments:<\/h3>\n<p><a href=\"\/wp-content\/uploads\/2019\/03\/PrintLine.zip\">PrintLine.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Per-page printing is the standard Windows behavior; however, sometimes you may want to print your documents per line. 1. Since version 4.7, the Line Printer object was created. A Line&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[757,730],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Demo application: printing by lines, not pages. - Elipse Knowledgebase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Demo application: printing by lines, not pages.\" \/>\n<meta property=\"og:description\" content=\"Per-page printing is the standard Windows behavior; however, sometimes you may want to print your documents per line. 1. Since version 4.7, the Line Printer object was created. A Line&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/\" \/>\n<meta property=\"og:site_name\" content=\"Elipse Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/elipsesoftware\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-25T20:32:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-07T18:14:48+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/03\/758\/1EN.png\" \/>\n<meta name=\"author\" content=\"Elipse Software\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elipse Software\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/\"},\"author\":{\"name\":\"Elipse Software\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\"},\"headline\":\"Demo application: printing by lines, not pages.\",\"datePublished\":\"2019-03-25T20:32:12+00:00\",\"dateModified\":\"2024-02-07T18:14:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/\"},\"wordCount\":363,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"Other\",\"Elipse E3\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/\",\"url\":\"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/\",\"name\":\"[:pt]Demo application: printing by lines, not pages.[:en]Demo application: printing by lines, not pages.[:] - Elipse Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-03-25T20:32:12+00:00\",\"dateModified\":\"2024-02-07T18:14:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Demo application: printing by lines, not pages.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.elipse.com.br\/#website\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"name\":\"Elipse Knowledgebase\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.elipse.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\",\"name\":\"Elipse Software\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"sameAs\":[\"http:\/\/www.facebook.com\/elipsesoftware\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"contentUrl\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"width\":161,\"height\":58,\"caption\":\"Elipse Software\"},\"image\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\",\"name\":\"Elipse Software\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"caption\":\"Elipse Software\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Demo application: printing by lines, not pages. - Elipse Knowledgebase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/","og_locale":"en_US","og_type":"article","og_title":"[:pt]Demo application: printing by lines, not pages.[:en]Demo application: printing by lines, not pages.[:] - Elipse Knowledgebase","og_description":"Per-page printing is the standard Windows behavior; however, sometimes you may want to print your documents per line. 1. Since version 4.7, the Line Printer object was created. A Line&hellip;","og_url":"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-03-25T20:32:12+00:00","article_modified_time":"2024-02-07T18:14:48+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/03\/758\/1EN.png"}],"author":"Elipse Software","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elipse Software","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/"},"author":{"name":"Elipse Software","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87"},"headline":"Demo application: printing by lines, not pages.","datePublished":"2019-03-25T20:32:12+00:00","dateModified":"2024-02-07T18:14:48+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/"},"wordCount":363,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["Other","Elipse E3"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/","url":"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/","name":"[:pt]Demo application: printing by lines, not pages.[:en]Demo application: printing by lines, not pages.[:] - Elipse Knowledgebase","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-03-25T20:32:12+00:00","dateModified":"2024-02-07T18:14:48+00:00","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/en\/demo-application-printing-by-lines-not-pages\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"Demo application: printing by lines, not pages."}]},{"@type":"WebSite","@id":"https:\/\/kb.elipse.com.br\/#website","url":"https:\/\/kb.elipse.com.br\/","name":"Elipse Knowledgebase","description":"","publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.elipse.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.elipse.com.br\/#organization","name":"Elipse Software","url":"https:\/\/kb.elipse.com.br\/","sameAs":["http:\/\/www.facebook.com\/elipsesoftware"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","contentUrl":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","width":161,"height":58,"caption":"Elipse Software"},"image":{"@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87","name":"Elipse Software","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","caption":"Elipse Software"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/758"}],"collection":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=758"}],"version-history":[{"count":8,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/758\/revisions"}],"predecessor-version":[{"id":10226,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/758\/revisions\/10226"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}