<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Image problem using UnForm in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615030#M726085</link>
    <description>Hi again Doug:&lt;BR /&gt;&lt;BR /&gt;I noticed when I posted this that this dump HTML ate my linefeeds.&lt;BR /&gt;&lt;BR /&gt;It should read&lt;BR /&gt;if (iscolor%) BACKSLASH LF&lt;BR /&gt;  then BACKSLASK LF&lt;BR /&gt;    logo2$ = "Atom4.rtl" BACKSLASH LF&lt;BR /&gt;  else BACKSLASH LF&lt;BR /&gt;    logo2$ = "Atom4.pcl" BACKSLASH LF&lt;BR /&gt;  fi LF&lt;BR /&gt;&lt;BR /&gt;You can also use the argc function to get command like arguments&lt;BR /&gt;&lt;BR /&gt;myvar$ = argv(argc - 1,err=jumpout3)&lt;BR /&gt;&lt;BR /&gt;By the way, one typically gets faster responses by starting anew thread especially if there is already a 'Magic Hat' associated with an existing thread.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
    <pubDate>Mon, 19 Nov 2001 21:23:55 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2001-11-19T21:23:55Z</dc:date>
    <item>
      <title>Image problem using UnForm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615023#M726078</link>
      <description>Hello everyone,&lt;BR /&gt;&lt;BR /&gt;I am using a product called UnForm as suggested by Clay to print enhanced documents from unix. It works very well except that color logos print but then a black band appears from the edge of the image to the right side of the page. Does anyone know what I am doing wrong? Clay, are you out there?&lt;BR /&gt;&lt;BR /&gt;Thank you, Doug</description>
      <pubDate>Thu, 15 Nov 2001 23:21:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615023#M726078</guid>
      <dc:creator>Doug Dell</dc:creator>
      <dc:date>2001-11-15T23:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Image problem using UnForm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615024#M726079</link>
      <description>Hi Doug: &lt;BR /&gt;&lt;BR /&gt;I'll answer your last question first. Yes, I'm here. The fix for your other problem is easy.&lt;BR /&gt;&lt;BR /&gt;1) Make sure that all your COLOR images are in RTL (Raster Transfer Language) and that your Black &amp;amp; White images are in PCL format. You can convert the images from one format to another using a tool called 'ImageAlchemy' available from Handmade Software. &lt;A href="http://www.handmadesw.com." target="_blank"&gt;http://www.handmadesw.com.&lt;/A&gt; You can get this in a UNIX version or a PC version. You can also go to &lt;A href="http://www.unform.com" target="_blank"&gt;http://www.unform.com&lt;/A&gt; and they offer free image conversion using ImageAlchemy. If you do much of this stuff, you need to go ahead and buy it. This does mean that you will need 2 versions for each image (e.g. myimage.PCL and myimage.RTL); your Unform rules files should contain a prejob section which reads command line arguments of environment variables and then figures out which suffix to apply for each call to 'image'.&lt;BR /&gt;&lt;BR /&gt;2) Add the -gw argument to the UnForm command. Your specific error is actually documented in the User Guide. The -gw option does no harm on B&amp;amp;W jobs and will fix your color jobs.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Nov 2001 23:35:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615024#M726079</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-11-15T23:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Image problem using UnForm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615025#M726080</link>
      <description>Wow Clay! Perfect answer. Thank you very much. I have been trying to fix  this for hours. &lt;BR /&gt;&lt;BR /&gt;Thanks again, Doug</description>
      <pubDate>Thu, 15 Nov 2001 23:43:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615025#M726080</guid>
      <dc:creator>Doug Dell</dc:creator>
      <dc:date>2001-11-15T23:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Image problem using UnForm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615026#M726081</link>
      <description>My pleasure, Doug. I trust you are learning that very tedious version of BASIC that comes bundled with UnForm. There have been many times when I know they need me to help write a parser for them.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Thu, 15 Nov 2001 23:47:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615026#M726081</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-11-15T23:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Image problem using UnForm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615027#M726082</link>
      <description>Hi Clay,&lt;BR /&gt;&lt;BR /&gt;Yes I am getting better at it and I know what you mean.&lt;BR /&gt;&lt;BR /&gt;Thanks again, Doug&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Nov 2001 23:51:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615027#M726082</guid>
      <dc:creator>Doug Dell</dc:creator>
      <dc:date>2001-11-15T23:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Image problem using UnForm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615028#M726083</link>
      <description>Hello everyone,&lt;BR /&gt;&lt;BR /&gt;As Clay suggested above I am trying to use an environment variable to determine if I need a color image file or a black and white image file. I keep getting syntax errors when I try to use the STBL function to read Unform's environment.&lt;BR /&gt;&lt;BR /&gt;This is my current syntax:&lt;BR /&gt;&lt;BR /&gt;temp$ = stbl("COLOR",err=9900)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That should work if COLOR is defined in the enviroment or jump to  9900 otherwise. This is just like the example in the manual but it gives a syntax error.&lt;BR /&gt;&lt;BR /&gt;Thanks, Doug</description>
      <pubDate>Mon, 19 Nov 2001 18:30:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615028#M726083</guid>
      <dc:creator>Doug Dell</dc:creator>
      <dc:date>2001-11-19T18:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Image problem using UnForm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615029#M726084</link>
      <description>Hi Doug:&lt;BR /&gt;&lt;BR /&gt;I think I mentioned this in one of my earlier posts but regardless of what the manual states&lt;BR /&gt;one cannot use a number label (e.g. err=9900) but must use instead a label which begins with an alpha character (e.g. err=jumpout2). I assume when using native PRO/5 BASIC, the numeric labels work fine but when using the version bundled with UnForm, you must use a alphanumeric label instead. &lt;BR /&gt;&lt;BR /&gt;I typically set two variables based upon the environment variables ISCOLOR and ISFAX. The lp interface file sets these. They expect a value of 0 or 1. &lt;BR /&gt;&lt;BR /&gt;Use them something like this:&lt;BR /&gt;&lt;BR /&gt;load "colorfax.i"&lt;BR /&gt;# the actual code which sets iscolor% and &lt;BR /&gt;# isfax%; note colorfax.i is itself a prejob&lt;BR /&gt;# module. Multiple prejob modules are allowed&lt;BR /&gt;# and are assembled into 1 section at run-time.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;prejob {&lt;BR /&gt;# assign a .rtl file to color image files&lt;BR /&gt;# and a .pcl file to B&amp;amp;W image files&lt;BR /&gt;  if (iscolor%)     then       logo2$ = "Atom4.rtl"     else       logo2$ = "Atom4.pcl     fi&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;# then to print a logo at col 10, row 20&lt;BR /&gt;prepage {&lt;BR /&gt;  image 10,20,logo2$&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I have attached colorfax.i. Note that nothing may follow a '\' at the end of a line.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Mon, 19 Nov 2001 21:11:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615029#M726084</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-11-19T21:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Image problem using UnForm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615030#M726085</link>
      <description>Hi again Doug:&lt;BR /&gt;&lt;BR /&gt;I noticed when I posted this that this dump HTML ate my linefeeds.&lt;BR /&gt;&lt;BR /&gt;It should read&lt;BR /&gt;if (iscolor%) BACKSLASH LF&lt;BR /&gt;  then BACKSLASK LF&lt;BR /&gt;    logo2$ = "Atom4.rtl" BACKSLASH LF&lt;BR /&gt;  else BACKSLASH LF&lt;BR /&gt;    logo2$ = "Atom4.pcl" BACKSLASH LF&lt;BR /&gt;  fi LF&lt;BR /&gt;&lt;BR /&gt;You can also use the argc function to get command like arguments&lt;BR /&gt;&lt;BR /&gt;myvar$ = argv(argc - 1,err=jumpout3)&lt;BR /&gt;&lt;BR /&gt;By the way, one typically gets faster responses by starting anew thread especially if there is already a 'Magic Hat' associated with an existing thread.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Mon, 19 Nov 2001 21:23:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/image-problem-using-unform/m-p/2615030#M726085</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-11-19T21:23:55Z</dc:date>
    </item>
  </channel>
</rss>

