<?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>Operating System - OpenVMS의 주제 Re: duplicate print to two printer</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608700#M70544</link>
    <description>Tim,&lt;BR /&gt;&lt;BR /&gt;We have a similar requirement here. I implemented&lt;BR /&gt;it via a background job looking at specifically&lt;BR /&gt;named queues and using logicals. The code is in BASIC&lt;BR /&gt;and the processing is fairly trivial, it just checks&lt;BR /&gt;the queues at regular intervals and does the right &lt;BR /&gt;thing.&lt;BR /&gt;If you want more info contact me at&lt;BR /&gt;dbsneddon at bigpond dot com.&lt;BR /&gt;Another option would be to look at EXECSYM which&lt;BR /&gt;can be found at Hunter Goatley's site at&lt;BR /&gt;&lt;A href="http://vms.process.com/fileserv-software.html" target="_blank"&gt;http://vms.process.com/fileserv-software.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Dave&lt;BR /&gt;</description>
    <pubDate>Mon, 22 Aug 2005 10:07:48 GMT</pubDate>
    <dc:creator>David B Sneddon</dc:creator>
    <dc:date>2005-08-22T10:07:48Z</dc:date>
    <item>
      <title>duplicate print to two printer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608699#M70543</link>
      <description>I am looking for ideas to set up a queue to automatically print a job to two different printers at the same time.  &lt;BR /&gt;The standard generic queue would load balance between the two printers but I would like the jobs duplicated.&lt;BR /&gt;Looking for ideas that are simple, transparent yet elegant.&lt;BR /&gt;&lt;BR /&gt;Ideas:&lt;BR /&gt;1) create logical for print command that runs DCL that simply submits job to both queues.&lt;BR /&gt;2) modify print symbiont to duplicate the print process&lt;BR /&gt;&lt;BR /&gt;Any other ideas ?&lt;BR /&gt;&lt;BR /&gt;Thanks !!&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Aug 2005 09:56:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608699#M70543</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2005-08-22T09:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate print to two printer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608700#M70544</link>
      <description>Tim,&lt;BR /&gt;&lt;BR /&gt;We have a similar requirement here. I implemented&lt;BR /&gt;it via a background job looking at specifically&lt;BR /&gt;named queues and using logicals. The code is in BASIC&lt;BR /&gt;and the processing is fairly trivial, it just checks&lt;BR /&gt;the queues at regular intervals and does the right &lt;BR /&gt;thing.&lt;BR /&gt;If you want more info contact me at&lt;BR /&gt;dbsneddon at bigpond dot com.&lt;BR /&gt;Another option would be to look at EXECSYM which&lt;BR /&gt;can be found at Hunter Goatley's site at&lt;BR /&gt;&lt;A href="http://vms.process.com/fileserv-software.html" target="_blank"&gt;http://vms.process.com/fileserv-software.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Aug 2005 10:07:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608700#M70544</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2005-08-22T10:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate print to two printer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608701#M70545</link>
      <description>Another option: on some freeware and/or SIG tapes, there is a general symbiont software EXECSYMB. It basically runs any custom DCL command procedure, having all job parameters available.&lt;BR /&gt;It should be straightforward to write a DCL procedure to submit the files from there to the destination print queues with all the /form and /param qualifiers of the job.&lt;BR /&gt;And users still just do a PRINT command.</description>
      <pubDate>Mon, 22 Aug 2005 10:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608701#M70545</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2005-08-22T10:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate print to two printer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608702#M70546</link>
      <description>Tim,&lt;BR /&gt;what do you mean for Modify print symbiont?&lt;BR /&gt;Do you want recompile PRTSMB ?&lt;BR /&gt; &lt;BR /&gt;I think you can write a your own dcl command and redefine PRINT command. However, it's simpler use Dave's application.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Aug 2005 10:23:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608702#M70546</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-08-22T10:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate print to two printer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608703#M70547</link>
      <description>I saw the modification of a symbiont as a referenced option in the Managers guide and the old compaq search engine.  That one seemed to complicated :)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Aug 2005 10:26:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608703#M70547</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2005-08-22T10:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate print to two printer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608704#M70548</link>
      <description>Tim,&lt;BR /&gt;basically you have to define print command like follow command ended by twice double quotes:&lt;BR /&gt;$ PRINT=="@&lt;MYDCLPRINT&gt;"&lt;BR /&gt;In myDclPrint you have to do something like this:&lt;BR /&gt;$ SET SYMBOL /SCOPE=(NOLOCAL,NOGLOBAL)&lt;BR /&gt;$ IF F$LOC("/QUE=MYQUE",P2).LT.F$LEN(P2)&lt;BR /&gt;$ THEN&lt;BR /&gt;$ SUBMIT 'P1' /QUE=2NDQUE 'P3' ...&lt;BR /&gt;$ ENDIF&lt;BR /&gt;$ SUBMIT 'P1' 'P2' 'P3' 'P4' 'P5' 'P6' ...&lt;BR /&gt;$ EXIT&lt;BR /&gt; &lt;BR /&gt;It's just an example.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;&lt;BR /&gt;&lt;/MYDCLPRINT&gt;</description>
      <pubDate>Mon, 22 Aug 2005 10:47:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608704#M70548</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-08-22T10:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate print to two printer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608705#M70549</link>
      <description>===[Off topic post]===&lt;BR /&gt;Tim,&lt;BR /&gt;I hope you have e-mail reply active.&lt;BR /&gt;May I invite you to read here&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=950881" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=950881&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;===[Please no pts here]===&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Aug 2005 07:36:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608705#M70549</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-08-26T07:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate print to two printer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608706#M70550</link>
      <description>It's been 10+ years ago that I've implemented a similar solution using a server symbiont called "CTLSMB".&lt;BR /&gt;&lt;BR /&gt;Now, a 'server symbiont' has nothing to do with a 'terminal server'. It can do all kinds of work. If you're familiar with VMS's DQS (Distributed Queueing System), you have already used server symbionts - they move jobs from one queue to a queue on a remote system.&lt;BR /&gt;&lt;BR /&gt;The nice thing with a server queue is that an end-user can use standard '$PRINT' commands. In my case we had to duplicate print jobs for a local and a remote printer. A DCL procedure that was triggered by CTLSMB made two copies of the file, send one to the local print queue and the second one into a DQS queue which took the part of remote printing.&lt;BR /&gt;&lt;BR /&gt;I've later used this technology (a server queue) to modify files that were received from an IBM mainframe through the DECnet/SNA PRinterEmulator to adapt them to our printing needs. Don't ask me how they got into that situation, but they had to misalign the papier in the line printer to get a correct output!! Of course, that did not work when we moved to a laser printer with individual sheets of paper...</description>
      <pubDate>Fri, 26 Aug 2005 07:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608706#M70550</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-08-26T07:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate print to two printer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608707#M70551</link>
      <description>We have our DCPS queues configured to print to TCP ports on the local host that act as virtual printers.  A daemon listens on the ports relays the traffic to the real HP and xerox printers on their point 9100.  The daemon massages the traffic along way, such as echoing ctrl-D directly instead of sending it to a xerox (tektronix) printer. It's also useful for debugging some printing issues because you can directly capture the traffic.&lt;BR /&gt;&lt;BR /&gt;A similar daemon could be made to route the traffic to 2 printers, but that would have the problem of deciding whose status responses to return to the print symbiont.</description>
      <pubDate>Fri, 26 Aug 2005 09:26:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608707#M70551</guid>
      <dc:creator>David Jones_21</dc:creator>
      <dc:date>2005-08-26T09:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate print to two printer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608708#M70552</link>
      <description>All great ideas.  Right now I am looking towards using the EXECSYMB symbiont as I do not currently wish to effect all printers.  Redifining the PRINT command to use DCL is the easiest and probably could be written to ignore all other printers and pass along.&lt;BR /&gt;&lt;BR /&gt;10 ways to skin a cat I guess but that is what I was looking for.&lt;BR /&gt;&lt;BR /&gt;Thanks to all for the ideas !!!&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Fri, 26 Aug 2005 09:31:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608708#M70552</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2005-08-26T09:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate print to two printer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608709#M70553</link>
      <description>Tim,&lt;BR /&gt;&lt;BR /&gt;The EXECSYM its probably the simpliest way.&lt;BR /&gt;&lt;BR /&gt;My idea is similar to Davids idea:&lt;BR /&gt;Write a TCPIP service which will catch the symbiont output and redirect it to two (or more printers). For testing purpouses I write a short DCL script which writes the symbiont output to two files. (Its my opinion that will be better to write a program):&lt;BR /&gt;&lt;BR /&gt;$ open/read/write que sys$net&lt;BR /&gt;$ open/write prt1 sys$login:prt1.dat ! first printer&lt;BR /&gt;$ open/write prt2 sys$login:prt2.dat ! second printer&lt;BR /&gt;$l:&lt;BR /&gt;$ read que line/end=end&lt;BR /&gt;$ write/symbol prt1 line&lt;BR /&gt;$ write/symbol prt2 line&lt;BR /&gt;$ goto l&lt;BR /&gt;$end:&lt;BR /&gt;$ close prt1&lt;BR /&gt;$ close prt2&lt;BR /&gt;$ close que&lt;BR /&gt;$ logout&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now create a TCPIP service:&lt;BR /&gt;&lt;BR /&gt;$ TCPIP SET SERVICE DOUBL /PORT=9100/FILE=&lt;FULLPATHTOPROCEDURE&gt; -&lt;BR /&gt;/USER=&lt;USERNAME&gt;/PROC=DOUBL/LIMIT=1&lt;BR /&gt;$ TCPIP ENABLE SERVICE DOUBL&lt;BR /&gt;&lt;BR /&gt;When it is all OK dont forget:&lt;BR /&gt;$ TCPIP SET CONFIGURATION ENABLE SERVICE DOUBL&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now create a queue:&lt;BR /&gt;&lt;BR /&gt;$ INIT/QUE/ON="localhost:9100" - /PROC=TCPIP$TELNETSYM DOUBL&lt;BR /&gt;&lt;BR /&gt;If you try to print to the DOUBL queue you will receive two files on the &lt;USERNAME&gt; login directory. Obvious you have to write to the two printers.&lt;BR /&gt;&lt;BR /&gt;The second posibility is to print all jobs with the /TRAILER qualifier (you can instruct the queue to add the qualifier with /DEFAULT=TRAILER) and parse the trailer in which you receive all the informations on the job. When you are done, but before end of job you can copy the file to a safer position (to avoid deleting with the /DELETE qualifier) and resubmit the job with the same qualifiers in two different queues.&lt;BR /&gt;&lt;BR /&gt;I use the second version to print XML files to a Linux machine, running FOP on these files with a stylesheet depending on the specified form and creating pdf files which can be directly printed or moved to the intranet web server.&lt;BR /&gt; &lt;BR /&gt;Bojan&lt;/USERNAME&gt;&lt;/USERNAME&gt;&lt;/FULLPATHTOPROCEDURE&gt;</description>
      <pubDate>Fri, 26 Aug 2005 09:57:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608709#M70553</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-08-26T09:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate print to two printer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608710#M70554</link>
      <description>Another idea is to use /RETAIN=ALWAYS on the PRINT command and a command procedure that polls the print queue using F$GETQUI and redirects any completed jobs to the second queue.&lt;BR /&gt;&lt;BR /&gt;$ SET NOON&lt;BR /&gt;$OLOOP:&lt;BR /&gt;$ IF (F$GETQUI("DISPLAY_QUEUE",-       "RETAINED_JOB_COUNT",-&lt;BR /&gt;       "SYS$PRINT","WILDCARD") .GT. 0)&lt;BR /&gt;$ THEN&lt;BR /&gt;$ILOOP:&lt;BR /&gt;$    RETAIN = F$GETQUI("DISPLAY_JOB",-&lt;BR /&gt;       "JOB_RETENTION",,"ALL_JOBS")&lt;BR /&gt;$    IF (RETAIN)&lt;BR /&gt;$    THEN&lt;BR /&gt;$       ENTRY = F$GETQUI("DISPLAY_JOB",-&lt;BR /&gt;          "ENTRY_NUMBER",,"FREEZE_CONTEXT")&lt;BR /&gt;$       SET ENTRY 'ENTRY' /RETAIN=DEFAULT -&lt;BR /&gt;          /REQUEUE=SYS$PRINT2 /RELEASE&lt;BR /&gt;$    ENDIF&lt;BR /&gt;$    IF (RETAIN .NES. "") THEN GOTO ILOOP&lt;BR /&gt;$ ENDIF&lt;BR /&gt;$ DUMMY = F$GETQUI("CANCEL_OPERATION")&lt;BR /&gt;$ WAIT 00:00:10&lt;BR /&gt;$ GOTO OLOOP&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Aug 2005 15:41:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608710#M70554</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2005-08-26T15:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate print to two printer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608711#M70555</link>
      <description>(following up my own post above)&lt;BR /&gt;&lt;BR /&gt;Or if you don't want to change all the PRINT commands to add /RETAIN=ALWAYS, you can just modify the first print queue with SET QUEUE /RETAIN=ALL.  I changed the command procedure to use keyword "JOB_RETAINED" instead of "JOB_RETENTION", and with this approach /RETAIN=DEFAULT is not necessary with SET ENTRY.&lt;BR /&gt;&lt;BR /&gt;$ SET NOON&lt;BR /&gt;$OLOOP:&lt;BR /&gt;$ IF (F$GETQUI("DISPLAY_QUEUE",-  "RETAINED_JOB_COUNT",-&lt;BR /&gt;  "SYS$PRINT","WILDCARD") .GT. 0)&lt;BR /&gt;$ THEN&lt;BR /&gt;$ILOOP:&lt;BR /&gt;$   RETAIN = F$GETQUI("DISPLAY_JOB",-&lt;BR /&gt;    "JOB_RETAINED",,"ALL_JOBS")&lt;BR /&gt;$   IF (RETAIN)&lt;BR /&gt;$   THEN&lt;BR /&gt;$     ENTRY = F$GETQUI("DISPLAY_JOB",-&lt;BR /&gt;      "ENTRY_NUMBER",,"FREEZE_CONTEXT")&lt;BR /&gt;$     SET ENTRY 'ENTRY' -&lt;BR /&gt;      /REQUEUE=SYS$PRINT2 /RELEASE&lt;BR /&gt;$   ENDIF&lt;BR /&gt;$   IF (RETAIN .NES. "") THEN GOTO ILOOP&lt;BR /&gt;$ ENDIF&lt;BR /&gt;$ DUMMY = F$GETQUI("CANCEL_OPERATION")&lt;BR /&gt;$ WAIT 00:00:10&lt;BR /&gt;$ GOTO OLOOP</description>
      <pubDate>Fri, 26 Aug 2005 16:32:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-print-to-two-printer/m-p/3608711#M70555</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2005-08-26T16:32:55Z</dc:date>
    </item>
  </channel>
</rss>

