{"id":3015,"date":"2015-05-20T17:58:15","date_gmt":"2015-05-20T17:58:15","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=3015"},"modified":"2017-01-27T22:05:16","modified_gmt":"2017-01-27T22:05:16","slug":"grayscale-bar-charts-w-pcl-printers","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/grayscale-bar-charts-w-pcl-printers\/","title":{"rendered":"Grayscale Bar Charts w\/ PCL Printers"},"content":{"rendered":"<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/BarChart.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-3020\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/BarChart-1024x255.png\" alt=\"BarChart\" width=\"1000\" height=\"249\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/BarChart-1024x255.png 1024w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/BarChart-300x75.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/BarChart-150x37.png 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/BarChart-250x62.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/BarChart-550x137.png 550w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/BarChart-800x200.png 800w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/BarChart-722x180.png 722w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/BarChart-1203x300.png 1203w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/BarChart.png 1740w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<p>There are 8 different shades of gray on a PCL printer, and it figures out the grayscale based upon a formula for luminance. The first step is a conversion to gray percent with the following formulas:<\/p>\n<pre>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 grayPixel = ( red * 0.3 ) + ( green * 0.59 ) + ( blue * 0.11 );<\/pre>\n<pre>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 grayPercent\u00a0= 100 - (\u00a0( grayPixel \/ 256 ) * 100 );<\/pre>\n<p>Then a PCL printer converts this gray percent like this, except that anything less than 5% is changed to 0% and anything greater than 95% is changed to 100%:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/PCL_grayscale.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3018\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/PCL_grayscale.png\" alt=\"PCL_grayscale\" width=\"376\" height=\"578\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/PCL_grayscale.png 376w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/PCL_grayscale-195x300.png 195w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/PCL_grayscale-98x150.png 98w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/PCL_grayscale-250x384.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/PCL_grayscale-117x180.png 117w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/PCL_grayscale-325x500.png 325w\" sizes=\"(max-width: 376px) 100vw, 376px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>NOTE:<\/strong> For greater shading differentiation, change the resolution of the chart to 120, 90, or 72. Pick gray scales (not gray percent) that are in between thresholds using the increments of 28 for 72dpi, 36 for 90dpi, and 42 for 120 dpi. For example, using 120dpi, the thresholds are 42, 84, 126, 168, 210, 252. Anything past the last threshold is white. Pick gray scales that fall in between the thresholds to get different shades.<\/p>\n<p>The dpi can be set from the <em>Appearance<\/em> tab of the Bar Chart Properties:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/res_120.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3051\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/res_120.png\" alt=\"res_120\" width=\"413\" height=\"308\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/res_120.png 413w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/res_120-300x224.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/res_120-150x112.png 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/res_120-250x186.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/res_120-241x180.png 241w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/res_120-402x300.png 402w\" sizes=\"(max-width: 413px) 100vw, 413px\" \/><\/a><\/p>\n<p>Next, navigate to the <em>Data<\/em> tab, select the <em>Data Series<\/em> and select <em>Edit<\/em>. The Chart Data Series dialog box will display. Left-click the <em>Bar color<\/em> and put in the following values for a dark gray:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3052\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold1.png\" alt=\"threshold1\" width=\"450\" height=\"365\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold1.png 450w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold1-300x243.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold1-150x122.png 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold1-250x203.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold1-222x180.png 222w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold1-370x300.png 370w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p>For a lighter gray:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3053\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold2.png\" alt=\"threshold2\" width=\"441\" height=\"335\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold2.png 441w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold2-300x228.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold2-150x114.png 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold2-250x190.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold2-237x180.png 237w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/05\/threshold2-395x300.png 395w\" sizes=\"(max-width: 441px) 100vw, 441px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are 8 different shades of gray on a PCL printer, and it figures out the grayscale based upon a formula for luminance. The first step is a conversion to gray percent with the following formulas: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 grayPixel = ( red * 0.3 ) + ( green * 0.59 ) + ( blue * 0.11 [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,7,15],"tags":[28,17,100],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3015"}],"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\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=3015"}],"version-history":[{"count":11,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3015\/revisions"}],"predecessor-version":[{"id":4571,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3015\/revisions\/4571"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=3015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=3015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=3015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}