<?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: Duplex printing from oracle forms fix needed using SED in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950531#M115848</link>
    <description>perhaps you can just use a bunch of -e's to grep. For instance grep -e '^ITEM1' -e '^ITEM2' etc.&lt;BR /&gt;</description>
    <pubDate>Mon, 14 Apr 2003 12:03:41 GMT</pubDate>
    <dc:creator>Tore_1</dc:creator>
    <dc:date>2003-04-14T12:03:41Z</dc:date>
    <item>
      <title>Duplex printing from oracle forms fix needed using SED</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950530#M115847</link>
      <description>I have a problem duplex printing from oracle forms 6.&lt;BR /&gt;i have fount what seems to be the answer but are having problems making the SED script work.&lt;BR /&gt;the report looks like the before example in the attachment and i need it to look like the after example in the attachment.&lt;BR /&gt;it is worth mentioning that there is one instance of the BeginSetup section but multiple of the BeginPageSetup and all the instances need Setting as in the after section of the attachment.&lt;BR /&gt;There are currently two scripts that i have to run the output file though to get the desired affect they are as follows i want to do it in one script. i thought i had but it doesn't work( see Duplex2) and i still have to run it though Duplex1 manually as well.&lt;BR /&gt;Duplex1&lt;BR /&gt;s/Duplex None/Duplex/g &lt;BR /&gt;s/Duplex false/Duplex true/g &lt;BR /&gt;/^%%BeginPageSetup/,$ { &lt;BR /&gt;/^%%BeginFeature/,/^%%EndFeature/d &lt;BR /&gt;} &lt;BR /&gt;&lt;BR /&gt;Duplex2&lt;BR /&gt;s/Duplex None/Duplex/g &lt;BR /&gt;s/Duplex false/Duplex true/g &lt;BR /&gt;/^%%BeginPageSetup/,$ { &lt;BR /&gt;/^%%BeginFeature/,/^%%EndFeature/d &lt;BR /&gt;} &lt;BR /&gt;/^%%BeginSetup/,$ { &lt;BR /&gt;/^%%BeginFeature/,/^%%EndFeature/d &lt;BR /&gt;} &lt;BR /&gt;&lt;BR /&gt;help this has been giong on to long.&lt;BR /&gt;andrew&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Apr 2003 11:12:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950530#M115847</guid>
      <dc:creator>system administrator_15</dc:creator>
      <dc:date>2003-04-14T11:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Duplex printing from oracle forms fix needed using SED</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950531#M115848</link>
      <description>perhaps you can just use a bunch of -e's to grep. For instance grep -e '^ITEM1' -e '^ITEM2' etc.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Apr 2003 12:03:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950531#M115848</guid>
      <dc:creator>Tore_1</dc:creator>
      <dc:date>2003-04-14T12:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Duplex printing from oracle forms fix needed using SED</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950532#M115849</link>
      <description>Andrew,&lt;BR /&gt;&lt;BR /&gt;Your example didn't have the Duplex settings in it, so I'm not sure where those fall.  If they're not in one of the "Feature" sections, then the following seems to do what you want:&lt;BR /&gt;&lt;BR /&gt;sed '/^%%BeginFeature/,/^%%EndFeature/d;s/Duplex None/Duplex/g;s/Duplex false/Duplex True/g'&lt;BR /&gt;&lt;BR /&gt;If the Duplex settings are in the Feature sections, you'll have to play around with the hold space so you can put the change to the hold space, then copy it back out.  It might be ugly, though.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;Seth</description>
      <pubDate>Tue, 15 Apr 2003 17:10:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950532#M115849</guid>
      <dc:creator>Seth Parker</dc:creator>
      <dc:date>2003-04-15T17:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Duplex printing from oracle forms fix needed using SED</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950533#M115850</link>
      <description>Thanks seth &lt;BR /&gt;this seems to work fine if i run it manually, but i need it to run from a batch job using forms 6.&lt;BR /&gt;i have been trying to use the TK_PRINT variable set up in the .KSHRC file in the users home directory.&lt;BR /&gt;but it doesn't seem to like the command when applied to a sed script and then read in at the appropriate time using TK_PRINT and sugestions as to what i should include in the sed script to get this to work.&lt;BR /&gt;regards &lt;BR /&gt;       Andrew&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Apr 2003 13:11:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950533#M115850</guid>
      <dc:creator>system administrator_15</dc:creator>
      <dc:date>2003-04-22T13:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Duplex printing from oracle forms fix needed using SED</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950534#M115851</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is this a network printer.&lt;BR /&gt;&lt;BR /&gt;If so set up a copy of the printer only for the ORACLE and change the script for the copy printer to do duplex by default.&lt;BR /&gt;&lt;BR /&gt;                    Steve Steel</description>
      <pubDate>Tue, 22 Apr 2003 13:30:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950534#M115851</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-04-22T13:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Duplex printing from oracle forms fix needed using SED</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950535#M115852</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;If you are usig a network printer then make a new printer in your spooler which is only for ORACLE and chenge the script in &lt;BR /&gt;/etc/lp/interface/model.orig to do duplex by default.&lt;BR /&gt;&lt;BR /&gt;             Steve Steel</description>
      <pubDate>Tue, 22 Apr 2003 13:33:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950535#M115852</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-04-22T13:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Duplex printing from oracle forms fix needed using SED</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950536#M115853</link>
      <description>Thanks for the thought steve but already tried that and it doesn't work due to the fact that the begin feature/end feature section is overriding the default setting.&lt;BR /&gt;it seems to see this section and think that it is a new page each time.&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Apr 2003 13:59:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950536#M115853</guid>
      <dc:creator>system administrator_15</dc:creator>
      <dc:date>2003-04-22T13:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Duplex printing from oracle forms fix needed using SED</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950537#M115854</link>
      <description>Thanks for the thought steve but already tried that and it doesn't work due to the fact that the begin feature/end feature section is overriding the default setting.&lt;BR /&gt;it seems to see this section and think that it is a new page each time.&lt;BR /&gt;regards &lt;BR /&gt;   andy&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Apr 2003 13:59:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950537#M115854</guid>
      <dc:creator>system administrator_15</dc:creator>
      <dc:date>2003-04-22T13:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Duplex printing from oracle forms fix needed using SED</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950538#M115855</link>
      <description>Unfortunately, I'm not familiar with Oracle Forms 6.  How does it submit the jobs?  If there's no spot for calling in an external process, I think you're out of luck.&lt;BR /&gt;&lt;BR /&gt;Here's to good luck..!&lt;BR /&gt;Seth</description>
      <pubDate>Tue, 22 Apr 2003 15:18:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/duplex-printing-from-oracle-forms-fix-needed-using-sed/m-p/2950538#M115855</guid>
      <dc:creator>Seth Parker</dc:creator>
      <dc:date>2003-04-22T15:18:37Z</dc:date>
    </item>
  </channel>
</rss>

