<?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: Barcode Printing in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/barcode-printing/m-p/6602736#M37391</link>
    <description>&lt;P&gt;I used to port a barcode program to OpenVMS during a UNIX porting seminar I used to teach at DECUS and such.&amp;nbsp; Check out &lt;A target="_blank" href="http://www.gnu.org/software/barcode/"&gt;http://www.gnu.org/software/barcode&lt;/A&gt; for a program that will create postscript output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If postscript won't work for you, then, you need to identify what kind of output you want and find a program that creates that output.&amp;nbsp; It should be rather straightforward to port it to VMS if it's not already ported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might also want to check out this discussion from a couple years ago in these very same comunities:&amp;nbsp; &lt;A target="_blank" href="http://h30499.www3.hp.com/t5/Languages-and-Scripting/Need-help-using-PCL-to-print-barcode/td-p/4741734#.VAo0AxbCtJ0"&gt;http://h30499.www3.hp.com/t5/Languages-and-Scripting/Need-help-using-PCL-to-print-barcode/td-p/4741734#.VAo0AxbCtJ0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brad McCusker&lt;/P&gt;&lt;P&gt;Software Concepts International&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.sciinc.com"&gt;www.sciinc.com&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Sep 2014 22:09:19 GMT</pubDate>
    <dc:creator>Brad McCusker</dc:creator>
    <dc:date>2014-09-05T22:09:19Z</dc:date>
    <item>
      <title>Barcode Printing</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/barcode-printing/m-p/6602230#M37386</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to generate and print barcode through C program on Open VMS. Can anyone help...&lt;/P&gt;&lt;P&gt;Through a sample program downloaded from net i am able to generate bitmap of barcode in 128-C format. How do i send this bitmap to printer for printing the image?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2014 12:12:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/barcode-printing/m-p/6602230#M37386</guid>
      <dc:creator>Ritu_CRIS</dc:creator>
      <dc:date>2014-09-05T12:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode Printing</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/barcode-printing/m-p/6602244#M37387</link>
      <description>&lt;P&gt;I usually write these escape codes to a file which are then printed to designated printer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2014 12:39:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/barcode-printing/m-p/6602244#M37387</guid>
      <dc:creator>Tom Wetty</dc:creator>
      <dc:date>2014-09-05T12:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode Printing</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/barcode-printing/m-p/6602252#M37388</link>
      <description>&lt;P&gt;Could you please share the escape sequences for the same&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2014 12:53:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/barcode-printing/m-p/6602252#M37388</guid>
      <dc:creator>Ritu_CRIS</dc:creator>
      <dc:date>2014-09-05T12:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode Printing</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/barcode-printing/m-p/6602302#M37389</link>
      <description>&lt;P&gt;Sorry I do not understand what you mean by share and the&amp;nbsp;data files generated by my work&amp;nbsp;do not belong to me personally. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The escape sequences to generate bar codes, are dependent upon the end-user printing device and are not the same for every printer manufacturer or language the printer supports. &amp;nbsp;Some printers require unreadable ASCII values, stored in a single byte, others are free text, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the correct escape sequences consult&amp;nbsp;the printer manufacturer's programming reference guide and configuration of your printer. &amp;nbsp;Usually the manufacturer will provide test text data in a diagram in the manual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you use the OpenVMS editor to recreate these string variables in your program that will tell the printer to print a bar code in a paticular format/size, in additon you enter the value(s) which your program generates which is unique to each bar code, &amp;nbsp;and &amp;nbsp;then write them to a file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Usually, I duplicate the test data file in the program, with the correct bar code formatting from the printer's reference guide, found on the internet from the manufacturer's web site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2014 13:36:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/barcode-printing/m-p/6602302#M37389</guid>
      <dc:creator>Tom Wetty</dc:creator>
      <dc:date>2014-09-05T13:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode Printing</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/barcode-printing/m-p/6602648#M37390</link>
      <description>&lt;P&gt;There are a wide variety of bar codes and barcode printers, and many differences exist. &amp;nbsp;How this all works and which escape and control sequences, or PCL or Postscript, or whatever else is needed by the barcode printer varies. &amp;nbsp;Widely.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The answer here also depends on how familiar you are with VMS and C, and with using either printf or $qio[w] I/O calls, as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also on whether the printer is attached to a terminal, some random serial port, or connected via the network.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without&amp;nbsp;more details, there's nothing more than a generic answer feasible — one such as this generic&amp;nbsp;reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are seeking&amp;nbsp;an example of some C code that deals with printers and &lt;A target="_blank" href="http://labs.hoffmanlabs.com/node/92"&gt;escape sequences&lt;/A&gt;, then &lt;A target="_blank" href="http://h71000.www7.hp.com/wizard/wiz_4935.html"&gt;here is an example program I wrote a while back&lt;/A&gt;. &amp;nbsp; This program queries an attached printer, which may or may not be the case here, but it is (was) a common printing with classic VT terminals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it's not an attached printer but rather an IP-connected printer involved, &lt;A target="_blank" href="http://labs.hoffmanlabs.com/node/129"&gt;read this&lt;/A&gt;, and expect to be setting up a reverse telnet connection, and performing I/O with that printer via a channel opened to the TN device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're not familiar with programming in C on VMS in general — no offense intended, I do not know your experience and familiarity here — then see an&amp;nbsp;&lt;A target="_blank" href="http://labs.hoffmanlabs.com/node/562"&gt;example OpenVMS C hello world&lt;/A&gt;, and&lt;A target="_blank" href="http://labs.hoffmanlabs.com/node/273"&gt; here are some of the OpenVMS wrinkles C programmers will usually need to know&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want the C code necessary here either reviewed or possibly even written for you, please post the URL of the C code that you are working from, the specific identification of the printer vendor and model involved, and the applicable project specification. &amp;nbsp; (Posting a P.O. number will definitely&amp;nbsp;help expedite things, if you're in a hurry.)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2014 19:58:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/barcode-printing/m-p/6602648#M37390</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2014-09-05T19:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Barcode Printing</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/barcode-printing/m-p/6602736#M37391</link>
      <description>&lt;P&gt;I used to port a barcode program to OpenVMS during a UNIX porting seminar I used to teach at DECUS and such.&amp;nbsp; Check out &lt;A target="_blank" href="http://www.gnu.org/software/barcode/"&gt;http://www.gnu.org/software/barcode&lt;/A&gt; for a program that will create postscript output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If postscript won't work for you, then, you need to identify what kind of output you want and find a program that creates that output.&amp;nbsp; It should be rather straightforward to port it to VMS if it's not already ported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might also want to check out this discussion from a couple years ago in these very same comunities:&amp;nbsp; &lt;A target="_blank" href="http://h30499.www3.hp.com/t5/Languages-and-Scripting/Need-help-using-PCL-to-print-barcode/td-p/4741734#.VAo0AxbCtJ0"&gt;http://h30499.www3.hp.com/t5/Languages-and-Scripting/Need-help-using-PCL-to-print-barcode/td-p/4741734#.VAo0AxbCtJ0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brad McCusker&lt;/P&gt;&lt;P&gt;Software Concepts International&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.sciinc.com"&gt;www.sciinc.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2014 22:09:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/barcode-printing/m-p/6602736#M37391</guid>
      <dc:creator>Brad McCusker</dc:creator>
      <dc:date>2014-09-05T22:09:19Z</dc:date>
    </item>
  </channel>
</rss>

