<?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: Create Postscript with extra comment lines in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342993#M173343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how about trying this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;RSPO_OUTPUT_POSTSCRIPT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jun 2006 13:28:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-01T13:28:08Z</dc:date>
    <item>
      <title>Create Postscript with extra comment lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342988#M173338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope anyone can help me out on this subject. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our customer sent's its formatted invoices to a partner firm that prints them. The partner needs to receive postscript files with some lines of comment at the top. These comments are command instruction on how to print and handle the invoice. I.e. paper type, folding, priority etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Any ideas on how to get specific comment lines in the postscript file?&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My own idea is to add comments to the OTF, but I don't know if they will be transferred to the postscript file.&lt;/P&gt;&lt;P&gt;Btw I would rather add the comments within the smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional info:&lt;/P&gt;&lt;P&gt;- SAP R/3 Enterprise (6.20)&lt;/P&gt;&lt;P&gt;- The invoices are printed through a Z-program, which is an adjusted copy of RLB_INVOICE. &lt;/P&gt;&lt;P&gt;- The invoice is formatted using a smartform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hans van der Kooij&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 11:07:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342988#M173338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T11:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create Postscript with extra comment lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342989#M173339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Would suggest to create a standard text (IF the text is static) in so10 and then include the standard text in the smartformlayout itself.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 11:24:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342989#M173339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T11:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create Postscript with extra comment lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342990#M173340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once if u hav added the required commentary lines to the OTF u can convert it to post script using this FM&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;OTF_POSTSCRIPT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 11:31:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342990#M173340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T11:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create Postscript with extra comment lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342991#M173341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply, but the tekst should be a comment and not to be printed at all. So I can't use your option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 13:04:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342991#M173341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T13:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create Postscript with extra comment lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342992#M173342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply, but FM OTF_POSTSCRIPT is empty. There is some comment on using RSPO_PROCESS_DIALOG_JOB instead, but that FM requires a spool ID which I do not (yet) have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW Using the spool in this way is not a such good option, because we have high volumes which I don't want to add to the spool first, get the spool ID and then convert it to postscript. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RSPO_PROCESS_DIALOG_JOB uses "CALL 'C_RSPO_PROCESS_DIALOG'". Maybe anyone who knows a better system CALL (to use with an OTF)?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 13:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342992#M173342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T13:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create Postscript with extra comment lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342993#M173343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how about trying this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;RSPO_OUTPUT_POSTSCRIPT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 13:28:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342993#M173343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T13:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create Postscript with extra comment lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342994#M173344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure about this FM. It uses an untyped tables parameter POSTSCRIPT_DATA. This data is send to the spool. So it looks like it sents postscript to the spool, not OTF. &lt;/P&gt;&lt;P&gt;But I'll give it try and get back to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 14:32:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342994#M173344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T14:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create Postscript with extra comment lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342995#M173345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your postscript comments going to be constant or have few variations then using HEX ENDHEX migth help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Post script comment begin with %, it's hex value is 25, convert all characters after % to hex, for Ex: if your comment is %ABC, it's hex equivalent is 25414243&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add the following lines to a standerd text in SO10:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: HEX TYPE POST&lt;/P&gt;&lt;P&gt;/* following line is hex equivalent of %ABC, &lt;/P&gt;&lt;P&gt;/ 25414243&lt;/P&gt;&lt;P&gt;/: ENDHEX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Include the standard text into ur smartform header window.&lt;/P&gt;&lt;P&gt;The  comment lines appear after about 200 lines in the postscript file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to add comment lines after first line of the postscript file, best way is to modify the postscript file using a unix script before sending it to the partner. u don't need to do any coding in smartform if u choose to use unix script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 22:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342995#M173345</guid>
      <dc:creator>sridhar_k1</dc:creator>
      <dc:date>2006-06-01T22:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create Postscript with extra comment lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342996#M173346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried RSPO_OUTPUT_POSTSCRIPT and also tried function module SX_OBJECT_CONVERT_OTF_PRT (as mentioned by &amp;lt;a href="http://help.sap.com/saphelp_45b/helpdata/en/08/e043c4c18711d2a27b00a0c943858e/content.htm"&amp;gt;SAP Help on Formats&amp;lt;/a&amp;gt;). Both functions have a performance not good enough for high volume printing (they write a PS file to the server somewhere and then read it again).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So we still need a another solution:&lt;/P&gt;&lt;P&gt;- I.e. Can we add commands to the OTF before convertion to PS?&lt;/P&gt;&lt;P&gt;- Is there another high performance solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 14:38:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342996#M173346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-16T14:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create Postscript with extra comment lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342997#M173347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sridhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are now going to try your solution. We have tried a simular trick by adding comments to the OTF. But had no good result so far. Hope your solution will have a better result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt; Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 14:45:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-postscript-with-extra-comment-lines/m-p/1342997#M173347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-16T14:45:09Z</dc:date>
    </item>
  </channel>
</rss>

