{"id":7512,"date":"2014-05-01T05:03:41","date_gmt":"2014-04-30T19:03:41","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=7512"},"modified":"2014-05-01T05:03:41","modified_gmt":"2014-04-30T19:03:41","slug":"postscript-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/postscript-primer-tutorial\/","title":{"rendered":"PostScript at Linux Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Linux\/gv\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"PostScript at Linux Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Linux\/gv\/Postscript_Primer-26of.jpg\" title=\"PostScript at Linux Primer Tutorial\"  \/><\/a><p class=\"wp-caption-text\">PostScript at Linux Primer Tutorial<\/p><\/div>\n<p><a target=_blank href='http:\/\/en.wikipedia.org\/wiki\/PostScript' title='PostScript advice from Wikipedia ... thanks'>PostScript<\/a> page-layout language enables a user to tailor the use of their hardcopy (or softcopy) documents that end up in this format.  PostScript has been around a long time and you may come across printers, particularly on Windows, that don&#8217;t output hardcopy.   These printers are quite likely to have set up to output to a PostScript file, which will then be stored for later hardcopy printing or be part of an ongoing procedure the software will use (or maybe just <a target=_blank title='gawk' href='http:\/\/www.computerhope.com\/unix\/gawk.htm'>gawk<\/a> at, if on unix\/Linux &#8230; chortle, chortle).<\/p>\n<p>The gv viewer window uses X11 (<a target=_blank href='http:\/\/en.wikipedia.org\/wiki\/XQuartz' title='XQuartz'>XQuartz<\/a> for Mac OS X Mavericks) GUI functionality which is all &#8220;fired up&#8221; from the Mac OS X application Terminal&#8217;s Bash command line environment in our tutorial today.   Another Mac OS X incarnation of an application that uses X11 (XQuartz for Mac OS X Mavericks) GUI functionality is the stupendous, wonderful, marvellous, <strike>curiously refreshing<\/strike> (this is not a paid advertisement) <a target=_blank href=\"http:\/\/gimp.org\" title='GIMP'>GIMP<\/a> and when you open a <a target=_blank href='http:\/\/en.wikipedia.org\/wiki\/Portable_Document_Format' title='Portable Document Format information from Wikipedia'>PDF<\/a> file in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=GIMP\" title='GIMP tutorials at this blog'>GIMP<\/a> you can see the File-&gt;Print to PostScript (or PDF) file functionality in action, and we have a snapshot to look at, regarding this, <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Linux\/gv\/Postscript_Gimp.jpg\" title='GIMP prints to PostScript file'>here<\/a>.<\/p>\n<p>So today we consider a PostScript file about Apache and open it with the gv viewer (via command like <i>gv README.dsov.ps<\/i>), show some functionality, and print it out.<\/p>\n<p>Before that, using Mac OS X application Terminal, in Linux Bash session, we:<\/p>\n<ul>\n<li>Check for existence of gv on Linux (command line) via <i>which gv<\/i> &#8230; in our case nothing found, so we need next step &#8230; else skip a step<\/li>\n<li>Install gv via <i>sudo port install gv<\/i> via <a target=_blank title='MacPorts' href='http:\/\/www.macports.org\/'>MacPorts<\/a><\/li>\n<li>Type <i>gv<\/i> &#8230; if working the gv PostScript viewer window opens up<\/li>\n<li>File-&gt;Quit &#8230; to exit<\/li>\n<\/ul>\n<p>An interesting and good gv link is <a target=_blank title='GNU gv Manual' href='http:\/\/www.gnu.org\/software\/gv\/manual\/gv.html'>here<\/a>.<\/p>\n<p>A book about Linux which is really great and helped on this topic was <i>Teach Yourself Linux<\/i> by Steve Oualline and Eric Foster-Johnson.<\/p>\n<p>Please enjoy our <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Linux\/gv\/\" title='Click picture.'>tutorial<\/a>.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d7512' onclick='var dv=document.getElementById(\"d7512\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=Linux\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d7512' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>PostScript page-layout language enables a user to tailor the use of their hardcopy (or softcopy) documents that end up in this format. PostScript has been around a long time and you may come across printers, particularly on Windows, that don&#8217;t &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/postscript-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,16,29,37],"tags":[132,234,491,550,707,723,725,732,735,913,973,1319,1339,1483],"class_list":["post-7512","post","type-post","status-publish","format-standard","hentry","category-elearning","category-gimp","category-operating-system","category-tutorials","tag-bash","tag-command-line","tag-gimp","tag-gv","tag-linux","tag-mac","tag-mac-os-x","tag-mac-terminal","tag-macports","tag-pdf","tag-postscript","tag-tutorial","tag-unix","tag-xquartz"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/7512"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=7512"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/7512\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=7512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=7512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=7512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}