<?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: PRINT PDF - XSTRING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-pdf-xstring/m-p/1303892#M159425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anybodye has any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jun 2006 07:32:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-07T07:32:57Z</dc:date>
    <item>
      <title>PRINT PDF - XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-pdf-xstring/m-p/1303887#M159420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is the following,&lt;/P&gt;&lt;P&gt;I hava a smartform to print the invoice but it's too heavy(8MB) because it has many graphics, so what I want to do is to convert to PDF and print the PDF but without save the PDF in my computer or in my file server.&lt;/P&gt;&lt;P&gt;When the smartform is launched I set the option GETOTF = 'X' in the exporting structure CONTROL_PARAMETERS. This retrieves the smartform in OTF format in the table JOB_OUTPUT_INFO-OTFDATA and I convert this table in a PDF with the function CONVERT_OTF. I can get the pdf in a table with structure TLINE or in a variable with structure XSTRING. I want to print this table or this xstring from sap but I don't know how to do it.&lt;/P&gt;&lt;P&gt;Can somebody help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance,&lt;/P&gt;&lt;P&gt;Manuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jun 2006 14:48:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-pdf-xstring/m-p/1303887#M159420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-04T14:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: PRINT PDF - XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-pdf-xstring/m-p/1303888#M159421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manuel-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What version of SAP are you in? Are you trying to print the PDF in background or online. If online, you might have some options! Let me know the version of SAP you are in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Krishnakumar Ramamoorthy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jun 2006 16:46:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-pdf-xstring/m-p/1303888#M159421</guid>
      <dc:creator>kkram</dc:creator>
      <dc:date>2006-06-04T16:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: PRINT PDF - XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-pdf-xstring/m-p/1303889#M159422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Manuel LZ ,&lt;/P&gt;&lt;P&gt;1.Define 2 variables &lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;num_1 TYPE i,&lt;/P&gt;&lt;P&gt;num_2 TYPE sy-tabix. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE it_table LINES num_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_table.&lt;/P&gt;&lt;P&gt;num_2 = sy-tabix.&lt;/P&gt;&lt;P&gt;CASE num_2.&lt;/P&gt;&lt;P&gt;WHEN 1.&lt;/P&gt;&lt;P&gt;control_parameters-no_open = ' '.&lt;/P&gt;&lt;P&gt;control_parameters-no_close = 'X'.&lt;/P&gt;&lt;P&gt;WHEN num_1.&lt;/P&gt;&lt;P&gt;control_parameters-no_open = 'X'.&lt;/P&gt;&lt;P&gt;control_parameters-no_close = space.&lt;/P&gt;&lt;P&gt;WHEN OTHERS.&lt;/P&gt;&lt;P&gt;control_parameters-no_open = 'X'.&lt;/P&gt;&lt;P&gt;control_parameters-no_close = 'X'.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;IF num_1 = 1.&lt;/P&gt;&lt;P&gt;CLEAR: control_parameters.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;control_parameters-langu = sy-langu.&lt;/P&gt;&lt;P&gt;control_parameters-no_dialog = 'X'.&lt;/P&gt;&lt;P&gt;control_parameters-preview = 'X'.&amp;lt;b&amp;gt;with print priview&lt;/P&gt;&lt;P&gt;or&amp;lt;/b&amp;gt; control_parameters-preview = 'X'.&amp;lt;b&amp;gt;Without print priview.This is direct printing&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION fm_name&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;EXPORTING&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ARCHIVE_INDEX =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ARCHIVE_INDEX_TAB =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ARCHIVE_PARAMETERS =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;control_parameters = control_parameters&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MAIL_APPL_OBJ =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MAIL_RECIPIENT =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MAIL_SENDER =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;output_options = gv_output&lt;/P&gt;&lt;P&gt;user_settings = space&lt;/P&gt;&lt;P&gt;gv_agmt = p_agr&lt;/P&gt;&lt;P&gt;gv_dist = gs_distributors-kunnr&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;IMPORTING&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DOCUMENT_OUTPUT_INFO =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; JOB_OUTPUT_INFO = output_info&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;JOB_OUTPUT_OPTIONS =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;lt;b&amp;gt;EXCEPTIONS&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;formatting_error = 1&lt;/P&gt;&lt;P&gt;internal_error = 2&lt;/P&gt;&lt;P&gt;send_error = 3&lt;/P&gt;&lt;P&gt;user_canceled = 4&lt;/P&gt;&lt;P&gt;OTHERS = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It solves ur problem.&lt;/P&gt;&lt;P&gt;Let me know ,if u have any problem.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Venkat.O&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 05:36:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-pdf-xstring/m-p/1303889#M159422</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2006-06-05T05:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: PRINT PDF - XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-pdf-xstring/m-p/1303890#M159423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi KK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My SAP version is SAP ERP Central Component 5.0&lt;/P&gt;&lt;P&gt;I'm trying to print in background but if I have some options in online we can try. &lt;/P&gt;&lt;P&gt;I know the function SSFCOMP_PDF_PREVIEW to preview the invoice in PDF but when you print from this preview Windows NT printer is used and what I want is to use the SAP printers because we have many printers instaled in SAP in different cities and countries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 07:31:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-pdf-xstring/m-p/1303890#M159423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T07:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: PRINT PDF - XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-pdf-xstring/m-p/1303891#M159424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat.O,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for you answer but I don't understand what you do with that program that I can use to solve my problem.&lt;/P&gt;&lt;P&gt;Could you please explain it better to me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 07:32:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-pdf-xstring/m-p/1303891#M159424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T07:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: PRINT PDF - XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-pdf-xstring/m-p/1303892#M159425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anybodye has any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 07:32:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-pdf-xstring/m-p/1303892#M159425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T07:32:57Z</dc:date>
    </item>
  </channel>
</rss>

