<?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: Problem in converting Spool Request into PDF format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-request-into-pdf-format/m-p/1073430#M95552</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;You can check that appropriate fonts variations have been loaded with report RSTXPDF2 - "Administration of softfonts for SAPscript and PDF converter". &lt;/P&gt;&lt;P&gt;If there is no one for specific SAP font family (exactly one you are using in your smartform) try to upload it. You can find various TrueType fonts in your C:\WINDOWS\Fonts directory for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maxim.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Dec 2005 01:59:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-05T01:59:53Z</dc:date>
    <item>
      <title>Problem in converting Spool Request into PDF format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-request-into-pdf-format/m-p/1073427#M95549</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;  I am facing problem to convert spool request (which store output of sap script) in to PDF format. Actually I have converted it with function module 'CONVERT_OTFSPOOLJOB_2_PDF' and it is working properly but the problem occurs where the BOLD fonts are used. I am unable to see the Text/Address where i have used Bold Font in script (PDF FORMAT). Even though in (SPO1) spool request shows every thing perfectly (along with Bold Font). It will great if you could suggest me something.&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;Pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2005 09:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-request-into-pdf-format/m-p/1073427#M95549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-04T09:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in converting Spool Request into PDF format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-request-into-pdf-format/m-p/1073428#M95550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt;Hope these will work out for....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: t_otfdata_tab LIKE ITCOO OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CLOSE_FORM'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;OTFDATA                  = t_otfdata_tab&lt;/P&gt;&lt;P&gt;fill the exceptions..&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;then pass the t_otfdata_tab to this function module..&lt;/P&gt;&lt;P&gt;CONSTANTS: c_pdf(03) VALUE 'PDF'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PDF File size&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: w_file_size TYPE I.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal Table to hold Form contents in PDF format&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: t_pdfdata_tab LIKE tline OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for converting. the output format from OTF to PDF&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_OTF'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt; FORMAT   eq        c_pdf&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt; BIN_FILESIZE          = w_file_size&lt;/P&gt;&lt;P&gt; TABLES&lt;/P&gt;&lt;P&gt;  OTF    eq    t_otfdata_tab&lt;/P&gt;&lt;P&gt;  LINES  eq    t_pdfdata_tab&lt;/P&gt;&lt;P&gt;  EXCEPTIONS...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Amitav Mohapatra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2005 14:14:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-request-into-pdf-format/m-p/1073428#M95550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-04T14:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in converting Spool Request into PDF format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-request-into-pdf-format/m-p/1073429#M95551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Closing the Sapscript, we save data (OTF) in a table &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'CLOSE_FORM' &lt;/P&gt;&lt;P&gt;TABLES &lt;/P&gt;&lt;P&gt;otfdata = t_otfdata &lt;/P&gt;&lt;P&gt;EXCEPTIONS &lt;/P&gt;&lt;P&gt;unopened = 1 &lt;/P&gt;&lt;P&gt;bad_pageformat_for_print = 2 &lt;/P&gt;&lt;P&gt;send_error = 3 &lt;/P&gt;&lt;P&gt;spool_error = 4 &lt;/P&gt;&lt;P&gt;OTHERS = 5. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF t_otfdata2 OCCURS 0. &lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE solisti1. &lt;/P&gt;&lt;P&gt;DATA: END OF t_otfdata2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Move OTF data to another table with lenght 255 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT t_otfdata. &lt;/P&gt;&lt;P&gt;CONCATENATE t_otfdata-tdprintcom t_otfdata-tdprintpar INTO t_otfdata2. &lt;/P&gt;&lt;P&gt;APPEND t_otfdata2. &lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Convert OTF format to PDF &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;format_src = 'OTF' &lt;/P&gt;&lt;P&gt;format_dst = 'PDF' &lt;/P&gt;&lt;P&gt;devtype = 'PRINTER' &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FUNCPARA = &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;len_in = len_in &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;len_out = len_out &lt;/P&gt;&lt;P&gt;TABLES &lt;/P&gt;&lt;P&gt;content_in = t_otfdata2 &lt;/P&gt;&lt;P&gt;content_out = t_pdfdata &lt;/P&gt;&lt;P&gt;EXCEPTIONS &lt;/P&gt;&lt;P&gt;err_conv_failed = 1 &lt;/P&gt;&lt;P&gt;OTHERS = 2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at Progs. RSTXPDF4 and RSTXPDFT2 for converting the Spool to PDF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rajasekhar Dinavahi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rajasekhar Dinavahi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2005 18:44:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-request-into-pdf-format/m-p/1073429#M95551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-04T18:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in converting Spool Request into PDF format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-request-into-pdf-format/m-p/1073430#M95552</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;You can check that appropriate fonts variations have been loaded with report RSTXPDF2 - "Administration of softfonts for SAPscript and PDF converter". &lt;/P&gt;&lt;P&gt;If there is no one for specific SAP font family (exactly one you are using in your smartform) try to upload it. You can find various TrueType fonts in your C:\WINDOWS\Fonts directory for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maxim.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2005 01:59:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-request-into-pdf-format/m-p/1073430#M95552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-05T01:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in converting Spool Request into PDF format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-request-into-pdf-format/m-p/1073431#M95553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maxim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Thanks for the reply. I think it can solve my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2005 08:44:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-request-into-pdf-format/m-p/1073431#M95553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-05T08:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in converting Spool Request into PDF format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-request-into-pdf-format/m-p/1073432#M95554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maxim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I have done as you have suggested and uploaded the fonts via RSTXPDF2 program. But still while I am opening PDF file, I am getting an error message "Can not Extract the embedded font 'Humnst777LTBT'. Some character may not display or print correctly." even though I am able to see the fonts 'Humnst777LTBT' in system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Pls suggest what can be the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your kind co operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2005 09:44:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-request-into-pdf-format/m-p/1073432#M95554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-05T09:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in converting Spool Request into PDF format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-request-into-pdf-format/m-p/1073433#M95555</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;Here you can try the following - delete and re-upload your fonts with option "Do not insert font in PDF" and ensure you use Adobe Reader version 7 or higher - there are problems in earlier versions of Reader with display of PDF with not embedded fonts. One more option you can try - select another font for converter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maxim.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2005 01:43:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-converting-spool-request-into-pdf-format/m-p/1073433#M95555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-06T01:43:45Z</dc:date>
    </item>
  </channel>
</rss>

