<?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: VMS Print Queues in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197169#M14652</link>
    <description>PaulJ,&lt;BR /&gt;&lt;BR /&gt;  If you find the idea of writing a symbiont too daunting, you could also try STOPping the queue and examining the entries that your program submits to it. Depending on the mechanism, the entry may point to a file, which you can access directly or copy elsewhere for processing.&lt;BR /&gt;&lt;BR /&gt;  So a quick and dirty implementation would be to keep the queue stopped, scan it every so often for pending entries, copy or process the files pointed to by the entries, then delete the entries when completed.&lt;BR /&gt;&lt;BR /&gt;  An even dirtier mechanism would be to direct the printer to a serial port, loop it back to a second serial port and have a process reading and processing the data as it arrives.</description>
    <pubDate>Wed, 14 May 2008 01:25:06 GMT</pubDate>
    <dc:creator>John Gillings</dc:creator>
    <dc:date>2008-05-14T01:25:06Z</dc:date>
    <item>
      <title>VMS Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197160#M14643</link>
      <description>I need to capture the print stream of a print job in a VMS queue.  Ideally, I would like the job to go to the printer and a copy of the print stream go to a location on the system in a directory.  Is it possible to capture the print stream, (actually data that is sent to the printer), from a VMS print queue?&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;PaulJ&lt;BR /&gt;</description>
      <pubDate>Tue, 13 May 2008 19:42:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197160#M14643</guid>
      <dc:creator>PaulJ_2</dc:creator>
      <dc:date>2008-05-13T19:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197161#M14644</link>
      <description>PaulJ,&lt;BR /&gt;&lt;BR /&gt;First, please allow me to welcome you the OpenVMS Forum!&lt;BR /&gt;&lt;BR /&gt;There are several questions that are relevant:&lt;BR /&gt;- How is the data being written?&lt;BR /&gt;- Is the data being written to a spooled printer (e.g., LPT1:, TTxxx:, etc.)?&lt;BR /&gt;- Is the data being written to a file which is then spooled for printing?&lt;BR /&gt;(The above should be straightforward to determine from the queue entry, if is not clear, please cut out the appropriate section of the output from a $ SHOW QUEUE/PRINT/FULL and attach it to the posting.)&lt;BR /&gt;&lt;BR /&gt;Depending on the answer to the above, there are a variety of different solutions.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 13 May 2008 19:51:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197161#M14644</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-05-13T19:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197162#M14645</link>
      <description>-The data is being written by a cobol   program using a PRINTER SELECT definition&lt;BR /&gt;&lt;BR /&gt;-I believe it is a spooled printer&lt;BR /&gt;&lt;BR /&gt;-I do not have a queue entry example, but here is the show queue&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;BLVA&amp;gt; show queue/full FMSDEN2&lt;BR /&gt;Printer queue FMSDEN2, idle, on BLVA::NLP46:, mounted form UHAWB&lt;BR /&gt;  &amp;lt;7.231.123.200:8002 - IP chgd 3/27/07&amp;gt;&lt;BR /&gt;  /BASE_PRIORITY=4 /DEFAULT=(FORM=UHAWB) /NOENABLE_GENERIC Lowercase &lt;BR /&gt;  /OWNER=[SYSTEM] /PROCESSOR=MULTINET_STREAM_SYMBIONT &lt;BR /&gt;  /PROTECTION=(S:M,O:D,G:R,W:SM) /RETAIN=ERROR&lt;BR /&gt;BLVA&amp;gt;</description>
      <pubDate>Tue, 13 May 2008 20:29:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197162#M14645</guid>
      <dc:creator>PaulJ_2</dc:creator>
      <dc:date>2008-05-13T20:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197163#M14646</link>
      <description>As others here like to say, "What problem are you trying to solve"?  Capturing data sent to the printer has different meanings depending upon whether you are trying to diagnose a printer problem versus making some kind of audit trail.&lt;BR /&gt;&lt;BR /&gt;If you are trying to diagnose a problem and it is a network printer, you could possibly use TCPTRACE to capture the dialog.</description>
      <pubDate>Tue, 13 May 2008 20:38:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197163#M14646</guid>
      <dc:creator>David Jones_21</dc:creator>
      <dc:date>2008-05-13T20:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197164#M14647</link>
      <description>Sorry, new project to eliminate the printing of data on forms.  We are using some 3rd party software to process the print stream and mary it with an image of the form in a PDF file.  The PDF file would then be sent to a new laser printer.  We have tried using the Flat Text file but the 3rd party software is having a problem with it.  The 3rd party software needs the actual Print Stream that is sent to the printer.  So, my questions is, how can I capture this Print Stream to use as an input file for the new process?&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;PaulJ</description>
      <pubDate>Tue, 13 May 2008 20:46:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197164#M14647</guid>
      <dc:creator>PaulJ_2</dc:creator>
      <dc:date>2008-05-13T20:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197165#M14648</link>
      <description>Sorry, new project to eliminate the printing of data on forms.  We are using some 3rd party software to process the print stream and marry it with an image of the form in a PDF file.  The PDF file would then be sent to a new laser printer.  We have tried using the Flat Text file but the 3rd party software is having a problem with it.  The 3rd party software needs the actual Print Stream that is sent to the printer.  So, my questions is, how can I capture this Print Stream to use as an input file for the new process?&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;PaulJ&lt;BR /&gt;</description>
      <pubDate>Tue, 13 May 2008 20:48:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197165#M14648</guid>
      <dc:creator>PaulJ_2</dc:creator>
      <dc:date>2008-05-13T20:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197166#M14649</link>
      <description>PaulJ,&lt;BR /&gt;&lt;BR /&gt;Having been down this path more than a few times, there are more details needed.&lt;BR /&gt;&lt;BR /&gt;To start:&lt;BR /&gt;- Which third-party package?&lt;BR /&gt;- Exactly what are the COBOL statements used to open the file? What logical names are defined at the time that the file is opened?&lt;BR /&gt;&lt;BR /&gt;This problem could be as simple as a parameter setting or a small change to the source program. I have seen it in the past. Without the details however, it is not possible to say.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;&lt;BR /&gt;P.S. If there is a lack of comfort with posting the details publicly, I can be contacted offline, as can other active contributors to this forum.</description>
      <pubDate>Tue, 13 May 2008 21:53:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197166#M14649</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-05-13T21:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197167#M14650</link>
      <description>PaulJ,&lt;BR /&gt;&lt;BR /&gt;re: the SHOW QUEUE output. The printer appears to be a network printer. However, such a printer could be used as either the target of a file, or transparently spooled. &lt;BR /&gt;&lt;BR /&gt;The correct solution depends on the answer. &lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 13 May 2008 21:55:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197167#M14650</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-05-13T21:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197168#M14651</link>
      <description>My usual off-the-cuff answer for "I need a print symbiont to do..." questions...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://mvb.saic.com/freeware/freewarev80/execsymb/" target="_blank"&gt;http://mvb.saic.com/freeware/freewarev80/execsymb/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Or roll your own symbiont.  That's fully supported, and there are various examples around.  dbs-nullsymbiont is on the same Freeware, and there are examples in the manuals and around the freeware at mvb.saic.com.&lt;BR /&gt;&lt;BR /&gt;Use the google Site:mvb.saic.com keyword to restrict your Google search to the Freeware archives, as that site has an archive far larger than any Freeware archive at HP.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 May 2008 00:10:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197168#M14651</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-05-14T00:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197169#M14652</link>
      <description>PaulJ,&lt;BR /&gt;&lt;BR /&gt;  If you find the idea of writing a symbiont too daunting, you could also try STOPping the queue and examining the entries that your program submits to it. Depending on the mechanism, the entry may point to a file, which you can access directly or copy elsewhere for processing.&lt;BR /&gt;&lt;BR /&gt;  So a quick and dirty implementation would be to keep the queue stopped, scan it every so often for pending entries, copy or process the files pointed to by the entries, then delete the entries when completed.&lt;BR /&gt;&lt;BR /&gt;  An even dirtier mechanism would be to direct the printer to a serial port, loop it back to a second serial port and have a process reading and processing the data as it arrives.</description>
      <pubDate>Wed, 14 May 2008 01:25:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197169#M14652</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-05-14T01:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197170#M14653</link>
      <description>PaulJ,&lt;BR /&gt;&lt;BR /&gt;Normally, I am in almost complete agreement with Hoff and John. Indeed, John's comment about "looping a serial port" back did occur to me. In this case, WADR, I must demurr.&lt;BR /&gt;&lt;BR /&gt;While it is not a guarantee, it has generally been my experience that such measures are more drastic than what is needed in most situations, and give rise to more maintenance than is necessary. If we can look at the basics of what is actually happening (e.g., identify the actual source construct(s), the third party package, and some other details), there is a good chance that a very straightforward solution will present itself. I have seen issues as simple as a program's choice of file format. Insignificant to the program, and the print symbiont, but occasionally of great significance to some other tool.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Wed, 14 May 2008 08:29:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197170#M14653</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-05-14T08:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197171#M14654</link>
      <description>There are a couple of possible reasons that your third party software can't directly process the "flat" file that gets printed.&lt;BR /&gt;The most likely ones are:&lt;BR /&gt;&lt;BR /&gt;* The print form used by the print job has one or more /SETUP modules associated with it.  If this is the case (check with SHOW ENTRY/FULL and then SHOW QUEUE/FORM/FULL) you can extract the module(s) from the text /LIBRARY associated with the queue (use SHOW QUEUE/FULL) using the DCL command $LIBRARY/EXTRACT=module/OUTPUT=file library and then insert the module(s) text at the head of the print file.&lt;BR /&gt;&lt;BR /&gt;* The print file may be in a RMS record format that your third party software doesn't know how to process such as variable length records.  You can check this with DIRECTORY/FULL.  If so you can convert the file to stream records with:&lt;BR /&gt;$CONVERT oldfile newfile /FDL=SYS$INPUT:&lt;BR /&gt;RECORD&lt;BR /&gt;FORMAT STREAM&lt;BR /&gt;or your application might need STREAM_LF.&lt;BR /&gt;</description>
      <pubDate>Wed, 14 May 2008 14:56:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197171#M14654</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2008-05-14T14:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197172#M14655</link>
      <description>shameless plug ... see my DRAIN program on Freeware v7 and at &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wvnvaxa.wvnet.edu/vmswww/drain.html" target="_blank"&gt;http://wvnvaxa.wvnet.edu/vmswww/drain.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Warnings:&lt;BR /&gt;&lt;BR /&gt;1) it was written for the Multinet TCP/IP stack&lt;BR /&gt;&lt;BR /&gt;2) it was written with just plain text files in mind&lt;BR /&gt;&lt;BR /&gt;--------------------------------------&lt;BR /&gt;&lt;BR /&gt;BUT ... it could give you a starting point for what you need  :-)&lt;BR /&gt;&lt;BR /&gt;FYI, DRAIN captures a print stream and saves it to a file.&lt;BR /&gt;&lt;BR /&gt;Good Luck  !!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Verne Britton&lt;BR /&gt;</description>
      <pubDate>Wed, 14 May 2008 16:56:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-print-queues/m-p/4197172#M14655</guid>
      <dc:creator>Verne Britton</dc:creator>
      <dc:date>2008-05-14T16:56:40Z</dc:date>
    </item>
  </channel>
</rss>

