<?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: Server Que in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364792#M3514</link>
    <description>Hello Antonio,&lt;BR /&gt;the queue was stopped, because I didn't want any output. But upon re-reading your message I think I might have misunderstood you anyway - did you mean this?&lt;BR /&gt;&lt;BR /&gt;$ set prompt="$$ "&lt;BR /&gt;$$ prt == "@PRT"&lt;BR /&gt;$$ prt /queue=TCPIP$LPD_IN_ATHENA_1 login.com&lt;BR /&gt;%DCL-W-IVQUAL, unrecognized qualifier - check validity, spelling, and placement&lt;BR /&gt;$$ prt "/queue=TCPIP$LPD_IN_ATHENA_1 login.com&lt;BR /&gt;Job LOGIN (queue TCPIP$LPD_IN_ATHENA_1, entry 2) pending&lt;BR /&gt;     pending status caused by queue stopped state&lt;BR /&gt;$$ type prt.com&lt;BR /&gt;$ print/notify 'P1'&lt;BR /&gt;$ exit&lt;BR /&gt;$$</description>
    <pubDate>Mon, 30 Aug 2004 13:02:01 GMT</pubDate>
    <dc:creator>Uwe Zessin</dc:creator>
    <dc:date>2004-08-30T13:02:01Z</dc:date>
    <item>
      <title>Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364774#M3496</link>
      <description>Is there a way that I can set up a server que&lt;BR /&gt;to print to two different printers? Presntly our programs print only to one printer, but we would like the same job to print to two different printers. Thanks Joe</description>
      <pubDate>Wed, 25 Aug 2004 10:07:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364774#M3496</guid>
      <dc:creator>Joseph Drozdz</dc:creator>
      <dc:date>2004-08-25T10:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364775#M3497</link>
      <description>do you mean one copy of each file submited with be printered on both of two printers?</description>
      <pubDate>Wed, 25 Aug 2004 10:10:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364775#M3497</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-08-25T10:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364776#M3498</link>
      <description>Hello Ian&lt;BR /&gt;&lt;BR /&gt;Yes, the exact same file that prints on one printer, should be the same file print on the other printer.</description>
      <pubDate>Wed, 25 Aug 2004 10:13:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364776#M3498</guid>
      <dc:creator>Joseph Drozdz</dc:creator>
      <dc:date>2004-08-25T10:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364777#M3499</link>
      <description>Start a GOOGLE search for 'CTLSMB'. This is a server symbiont (written in Fortran), that starts a DCL subprocess for each entry. I have used it in the past to:&lt;BR /&gt;&lt;BR /&gt;- send output to two different queues (one local, the other was a DQS queue for printing in a different location)&lt;BR /&gt;&lt;BR /&gt;- adapt output that I have received from a IBM host via SNA/PRE (printer emulator) to send it to a laser printer.</description>
      <pubDate>Wed, 25 Aug 2004 10:32:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364777#M3499</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-08-25T10:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364778#M3500</link>
      <description>Joe,&lt;BR /&gt;&lt;BR /&gt;How are the jobs queued? With the PRINT command, with the SYS$SENDJBC system service, with opening a spooled device or something other?&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Wed, 25 Aug 2004 10:38:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364778#M3500</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-08-25T10:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364779#M3501</link>
      <description>Hi Bojan&lt;BR /&gt;&lt;BR /&gt;The job is currently qued with the PRINT command. Print/que=XXX.</description>
      <pubDate>Wed, 25 Aug 2004 10:53:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364779#M3501</guid>
      <dc:creator>Joseph Drozdz</dc:creator>
      <dc:date>2004-08-25T10:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364780#M3502</link>
      <description>If your program is a command procedure, then why not you modify it with another print command next to your existing one to print to another printer ? This may be the easiest solution.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Thanks &amp;amp; regards,&lt;BR /&gt;Lokesh</description>
      <pubDate>Wed, 25 Aug 2004 10:58:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364780#M3502</guid>
      <dc:creator>Lokesh_2</dc:creator>
      <dc:date>2004-08-25T10:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364781#M3503</link>
      <description>Joe,&lt;BR /&gt;&lt;BR /&gt;If you want a transparent way to yours problem, try to implement CTLSMB as mentioned by Uwe. With CTLSMB you will have a queue which works with all methods for submitting print jobs.&lt;BR /&gt;You can write your own print symbiont. (The hardest way).&lt;BR /&gt;&lt;BR /&gt;If you want a simplier way, you can write a simple command procedure which will substitute the print command. I give you a sample, which is not perfect but working:&lt;BR /&gt;&lt;BR /&gt;$ double=0&lt;BR /&gt;$ a=1&lt;BR /&gt;$l:&lt;BR /&gt;$ qual = p'a'&lt;BR /&gt;$ if f$extract(0,4,qual).eqs."/QUE"&lt;BR /&gt;$ then&lt;BR /&gt;$    que = f$element(1,"=",qual)&lt;BR /&gt;$    if que.eqs."DOUBLE"&lt;BR /&gt;$    then&lt;BR /&gt;$       double=1&lt;BR /&gt;$       p'a'=""&lt;BR /&gt;$    endif&lt;BR /&gt;$ endif&lt;BR /&gt;$ show symbol /all&lt;BR /&gt;$ a=a+1&lt;BR /&gt;$ if a.lt.9 then goto l&lt;BR /&gt;$ oldprint=print&lt;BR /&gt;$ print=="PRINT"&lt;BR /&gt;$ if double&lt;BR /&gt;$ then&lt;BR /&gt;$   print /queue=q1 'p2' 'p3' 'p4' 'p5' 'p6' 'p7' 'p8'&lt;BR /&gt;$   print /queue=q2 'p2' 'p3' 'p4' 'p5' 'p6' 'p7' 'p8'&lt;BR /&gt;$ else&lt;BR /&gt;$   print 'p2' 'p3' 'p4' 'p5' 'p6' 'p7' 'p8'&lt;BR /&gt;$ endif&lt;BR /&gt;$ print==oldprint&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You must define a symbol like this:&lt;BR /&gt;&lt;BR /&gt;$ PRINT == "@dev:[dir]PRINT.COM X"&lt;BR /&gt;&lt;BR /&gt;The X at the end is a dummy parameter to allow to have a qualifier as first parameter (Not allowed by command procedures).&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Wed, 25 Aug 2004 11:34:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364781#M3503</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-08-25T11:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364782#M3504</link>
      <description>Bojan,&lt;BR /&gt;&lt;BR /&gt;  Regarding your code:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;$ oldprint=print&lt;BR /&gt;&amp;gt;$ print=="PRINT"&lt;BR /&gt;&amp;gt;...&lt;BR /&gt;&amp;gt;$ print whatever&lt;BR /&gt;&amp;gt;...&lt;BR /&gt;&amp;gt;$ print==oldprint&lt;BR /&gt; &lt;BR /&gt;  You can replace this with&lt;BR /&gt;&lt;BR /&gt;$ printxx whatever&lt;BR /&gt;&lt;BR /&gt;  The additional "xx" will bypass symbol lookup, and since DCL doesn't look past the first 4 characters, it will invoke the real "PRINT" command. Purists will tell you that's not strictly supported, which is true (but I doubt very much it will ever break).&lt;BR /&gt;&lt;BR /&gt;  If you want fully supported, go with:&lt;BR /&gt;&lt;BR /&gt;$ SET SYMBOL/SCOPE=(NOLOCAL,NOGLOBAL)&lt;BR /&gt;&lt;BR /&gt;  This will prevent the translation of global symbols and local symbols from higher level procedures while executing your procedure.&lt;BR /&gt;&lt;BR /&gt;  Note that your existing code will break symbol contraction. Consider:&lt;BR /&gt;&lt;BR /&gt;$ PR*INT=="@dev:[dir]PRINT.COM X"&lt;BR /&gt;&lt;BR /&gt;this will allow the verb "PRINT" to be contracted down to PR (just like the real command), but after your code executes, the ability to contract will be lost.</description>
      <pubDate>Sun, 29 Aug 2004 23:01:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364782#M3504</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-08-29T23:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364783#M3505</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Thank you for your hint. The printxx reduces the procedure for some error handling (in my procedure if you get an error in the real print command you lose the print symbol). The procedure I posted is far away from perfection. There is much to do abbout qualifier recognition ( print /copy=3/queue=double or print /queue=double/copy=3 will not work properly because there is no space between qualifiers). Maybe a new lexical function, say f$dclparse, will be great for such procedures. &lt;BR /&gt;I also noted that there is an extra line in my code ($ show symbol /all) this was only for debuging purpouses.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Mon, 30 Aug 2004 01:12:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364783#M3505</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-08-30T01:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364784#M3506</link>
      <description>See if you can get hold of the old VMSTAILOR DCL procedure (VMS V4.x). It provided a user interface that did DCL-style parsing.</description>
      <pubDate>Mon, 30 Aug 2004 01:21:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364784#M3506</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-08-30T01:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364785#M3507</link>
      <description>Even better would be :&lt;BR /&gt;print/que=(prt1,prt2,prt3)&lt;BR /&gt;&lt;BR /&gt;But if they are not of the same type, you may run in into /form handling problems.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 30 Aug 2004 01:21:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364785#M3507</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-08-30T01:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364786#M3508</link>
      <description>Joseph,&lt;BR /&gt;&lt;BR /&gt;Are those multiple printers of the same type? If so, it might be feasable to create an execution queue for each of them, and one generic queue to print on all of these printers. This queue is to be used by your application.&lt;BR /&gt;&lt;BR /&gt;$ INIT/QUEUE/.... printer1&lt;BR /&gt;$ INIT/QUEUE/.... printer2&lt;BR /&gt;$ INIT/QUEUE/.... printer3&lt;BR /&gt;$ INIT/QUEUE/GENERIC=(Printer1, printer2, printer3).... printqueue&lt;BR /&gt;&lt;BR /&gt;And your programs shoud use:&lt;BR /&gt;&lt;BR /&gt;PRINT /QUEUE=printqueue &lt;FILE&gt;&lt;BR /&gt;&lt;BR /&gt;Willem&lt;/FILE&gt;</description>
      <pubDate>Mon, 30 Aug 2004 01:27:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364786#M3508</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-08-30T01:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364787#M3509</link>
      <description>Not sure if this would work on VMS but take a look at&lt;BR /&gt;&lt;A href="http://groups.google.com/groups?q=%22print+%22+%22to+2+printers%22+lpd&amp;amp;hl=nl&amp;amp;lr=&amp;amp;ie=UTF-8&amp;amp;selm=fa.svhddtj.1340roj%40ifi.uio.no&amp;amp;rnum=1" target="_blank"&gt;http://groups.google.com/groups?q=%22print+%22+%22to+2+printers%22+lpd&amp;amp;hl=nl&amp;amp;lr=&amp;amp;ie=UTF-8&amp;amp;selm=fa.svhddtj.1340roj%40ifi.uio.no&amp;amp;rnum=1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 30 Aug 2004 01:33:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364787#M3509</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-08-30T01:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364788#M3510</link>
      <description>Willem,&lt;BR /&gt;the challenge is to send the same output to two different printers at the same time, not to send output once to any set of printers.</description>
      <pubDate>Mon, 30 Aug 2004 01:49:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364788#M3510</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-08-30T01:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364789#M3511</link>
      <description>Hi Joseph,&lt;BR /&gt;if you redefine print command ad DCL level remember you can't type&lt;BR /&gt;PRINT /QUE=MyQue MyFile&lt;BR /&gt;because DCL command can't start with qualifier.&lt;BR /&gt;You must always type&lt;BR /&gt;PRINT MyFile /QUE=MyQue&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Aug 2004 10:34:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364789#M3511</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-08-30T10:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364790#M3512</link>
      <description>Interesting system...&lt;BR /&gt;&lt;BR /&gt;$ print/queue=TCPIP$LPD_IN_ATHENA_1 sys$login:login.com&lt;BR /&gt;Job LOGIN (queue TCPIP$LPD_IN_ATHENA_1, entry 1) pending&lt;BR /&gt;     pending status caused by queue stopped state&lt;BR /&gt;$ write sys$output f$getsyi("version")&lt;BR /&gt;V7.3-1  &lt;BR /&gt;$</description>
      <pubDate>Mon, 30 Aug 2004 11:22:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364790#M3512</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-08-30T11:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364791#M3513</link>
      <description>Uwe,&lt;BR /&gt;before submition, que was in idle state, isn't true?&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Aug 2004 11:42:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364791#M3513</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-08-30T11:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364792#M3514</link>
      <description>Hello Antonio,&lt;BR /&gt;the queue was stopped, because I didn't want any output. But upon re-reading your message I think I might have misunderstood you anyway - did you mean this?&lt;BR /&gt;&lt;BR /&gt;$ set prompt="$$ "&lt;BR /&gt;$$ prt == "@PRT"&lt;BR /&gt;$$ prt /queue=TCPIP$LPD_IN_ATHENA_1 login.com&lt;BR /&gt;%DCL-W-IVQUAL, unrecognized qualifier - check validity, spelling, and placement&lt;BR /&gt;$$ prt "/queue=TCPIP$LPD_IN_ATHENA_1 login.com&lt;BR /&gt;Job LOGIN (queue TCPIP$LPD_IN_ATHENA_1, entry 2) pending&lt;BR /&gt;     pending status caused by queue stopped state&lt;BR /&gt;$$ type prt.com&lt;BR /&gt;$ print/notify 'P1'&lt;BR /&gt;$ exit&lt;BR /&gt;$$</description>
      <pubDate>Mon, 30 Aug 2004 13:02:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364792#M3514</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-08-30T13:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Server Que</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364793#M3515</link>
      <description>Hi antonio,Uwe,&lt;BR /&gt;&lt;BR /&gt;If you look at my first post in this thread I suggest that Joseph define a symbol like:&lt;BR /&gt;&lt;BR /&gt;$ PRINT == "@dev:[dir]PRINT.COM X"&lt;BR /&gt;&lt;BR /&gt;The X at the end is a dummy parameter which will solve the problem which was mentioned by Antonio. So Uwes prt.com will look something like this:&lt;BR /&gt;$ print/notify 'P2'&lt;BR /&gt;$ exit&lt;BR /&gt;&lt;BR /&gt;Looking at Uwe test I realised that maybe something like this will also work (but i must test this and no VMS handy):&lt;BR /&gt;$ PRINT == "@dev:[dir]PRINT.COM"""&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Mon, 30 Aug 2004 15:33:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/server-que/m-p/3364793#M3515</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-08-30T15:33:00Z</dc:date>
    </item>
  </channel>
</rss>

