Converting AutoCAD to PDF (in monochrome)

Objective: to convert multiple AutoCAD files (via Windows Explorer) to PDF - converting from color to monochrome.
Now......I can successfully print to pdf from within AutoCAD and get monochrome outcome by selecting appropriate plotter configuration.
My problem is stemming from attempting for this same outcome by selecting multiple files within Windows Explorer, right clicking, and selecting "Convert to..." options. 
1. I always get the color version
2. PDF plots tend to have additional white space/margins (not printing to page size).
- I've played with default settings in the print driver itself.
- I've been in Distiller and attempted some customized settings there.
I just can't seem to find where/how to get a positive outcome on this one.
Since my job entails me to do this routine quite often I would greatly appreciate any assistance I can get from you "pro's" out there.
Cuz' this "one at a time" routine in AutoCAD is wayyyy too time consuming. 
With great appreciation!
Tracy
I should also include the facts that I am using:  AutoCAD 2011, and Adobe Acrobate 9 Pro.

I am also having trouble with converting AutoCAD DWG to Adobe PDF.  I have tried several different methods.  I've tried outputing the color PDF to a post script file, however that is still in color.  I've tried using custom Color Plot Styles (monochrome.ctb) and Named Plot Styles (monochrome.stb), but since I did not create the original AutoCAD DWG (it is 10 years old from 2004), they are not the correct plot style files.  I do not have AutoCAD and use ProE/Creo instead.  I've tried importing into my CAD tool, however all the fonts are different.  I've also tried exporting the PDF to a raster format like TIFF but the resolution is really bad for engineering drawings.  If I increase the resolution, then it sometimes will say that the image is too big and in cannot save/export the image.
It seems like this should be really simple to do in Adobe.  I have Adobe Acrobat Pro 10.  I can go to Tools > Print Production > Preflight > PDF Fixups > Convert to grayscale, which will convert to grayscale, but not to monochrome.  Similarly I can go to Tools > Print Production > Convert Colors and select Conversion Profile to Gray Gamma 2.2, however that still will produce grayscale, but not monochrome.
References:
Converting Color PDF to Greyscale PDF (An Update)
Converting Color PDFs to Greyscale or Black and White
Convert autocad to PDF in black and white

Similar Messages

  • Controlling PDF Output Resolution when converting AutoCAD to PDF

    I have a standalone java application that converts AutoCAD formats to PDF using the VectorConvertOptions AutoVue API settings. The transformations work fine but on some documents the PDF output quality is bad. Any tips or code snippets as to how to manipulate the transformation in order to create higher resolution PDF's? Im thinking I have do something with the pen settings?
    Thanks in advance!

    DPI is controlled by the AutoVue Document Converter driver
    It can not be modified through the convert options
    Your drawing is probably small enough so that it does not fit the default settings, but printing uses a 150 DPI by default and convert defaults to 300 or 600 depending on the version you have
    So getting a better picture when you print than convert is something you would not expect, unless DPI for convert has already been modified.
    Even through PDF is a vector format, it uses integer number for the coordinates (in points)
    so you are bound to run into this issues the smaller the drawing you are trying to convert
    That is even more problematic if you have fixed width line styles (like acad has)
    Which version of AutoVue are you using?

  • Lines Not Converting From Autocad to Pdf

    I am using Windows 7 Pro, Autocad 2011 (full version), Acroplot Pro 2013 and Adobe Acrobat Pro.
    Using Acroplot Pro, we convert Autocad files to pdf. We are having issues with some lines, or entire sections of a drawing, not converting to pdf file. As if someone erased random lines from the drawing.
    I've walked through this process with Acroplots help line and they say it's not on their end. I know the issues has nothing to do with Autocad because I can re-do this process and the pdf will come out fine the 2nd time. It's rare and random, maybe one file per 100, but causes a problem when you're converting hundreds of files and don't know which one may be wrong.
    Thanks in advance.

    Sorry if I was unclear, we load our cad files into Acroplot which then utilizes Adobe Acrobat Pro claims it's an issue with Acrobat Pro to create the pdf. After walking through the process with Acroplot, they say it's an issue with Acrobat Pro.

  • Convertir fichero Autocad a PDF

    Buenos dias, dispongo de una licencia de Adobe Acrobat 7 Profesional, con la que se supone que puedo convertir mis archivos de autocad a pdf, simplemente pulsando un boton que debería de aparecer en Autocad.
    El problema es que dicho boton no aparece. He estado averiguando un par de cosas, entre ellas que la version 7.0 de Adobe Acrobat NO es compatible con la version 2006 de Autocad.
    ¿Alguien conoce o sabe si hay algun parche o forma de convertir estos archivos???
    Muchas Gracias.

    Adria:
    Si te manejas en inglés, lee esto:
    Simon ATS, "11.4-- How do I convert a PDF file to a Word, WordPerfect, or any other type of file format?" #2, 9 Jun 2005 8:05 am
    Si no lees inglés, pasa el texto por cualquier programa traductor. Lo que obtendrás estará muy lejos de ser buen castellano, pero seguro podrás entenderlo.
    He leido que hay programas (no de Adobe) que permiten transformar archivos PDF en archivos Word, pero no he conservado sus nombres, ni tengo ninguna información sobre cuán bien (o mal) lo hacen. No recuerdo tener noticias de alguno que transforme de PDF a AutoCad.
    Como el formato PDF no está pensado para modificarlo o para transformarlo a otros formatos, sino que para intercambiar archivos viéndolos como en el original, independientemente de la plataforma empleada por el usuario o de las tipografías que tenga, ¿podría preguntarte para qué quieres pasar archivos PDF a formato AutoCad?

  • Convert .dwg to .pdf in Acrobat X Standard

    I have Acrobat X Standard running on Windows 7.  Can I convert .dwg files to .pdf files without having AutoCAD installed?

    With Acrobat X Standard, you cannot convert .dwg to .pdf without installing AutoCAD but with Acrobat X or XI Professional, you can.
    Please see more info at below link:
    Adobe Acrobat X Pro * Convert AutoCAD files to PDF (Windows)
    Regards,
    Anoop

  • AutoCAD to PDF in Acrobat Pro 9.2 - not supported file or damaged error

    After watching the online Adobe eSeminar regarding 30 tips and tricks with Acrobat, I thought I'd try converting some sample AutoCAD files to PDF to show my wife who is an architect.
    I've downloaded several different sample files in both dwg and dwf format. None of them will convert to a PDF. I keep getting a not supported or damaged file error. I'm using File->Create PDF->From File
    I went through the Acrobat help search and it said that the default installation of Acrobat includes what is necessary to convert these files.
    I'm running Snow Leopard with Acrobat 9.2 as part of the Design Premium Suite, which was installed originally with Leopard. Are there more files on the installation disk that are needed to be able to do this feature?
    Steve

    SEEverist wrote:
    After watching the online Adobe eSeminar regarding 30 tips and tricks with Acrobat, I thought I'd try converting some sample AutoCAD files to PDF to show my wife who is an architect.
    I've downloaded several different sample files in both dwg and dwf format. None of them will convert to a PDF. I keep getting a not supported or damaged file error. I'm using File->Create PDF->From File
    I went through the Acrobat help search and it said that the default installation of Acrobat includes what is necessary to convert these files.
    I'm running Snow Leopard with Acrobat 9.2 as part of the Design Premium Suite, which was installed originally with Leopard. Are there more files on the installation disk that are needed to be able to do this feature?
    Steve
    You can't just drop such files on Acrobat. You at least need to run them through distiler, or Open a Cad Program and the go to print menu and click Save as PDF button and choose save as PDF, or Save as Adobe quility PDF. The only file that acrobat open natively other than PDF is PostScript which iy converts to PDF through Distiller.
    (Please note information is given by an Experienced User of Acrobat. I am not an employee of Adobe.)

  • I'm using Adobe Acrobat X (Ver 10.1.4) and up until recently i've been able to convert Autocad 2012

    I'm using Adobe Acrobat X (Ver 10.1.4) and up until recently i've been able to convert Autocad 2012 .dwg files to .pdf, but after one of the automatic updates I get an error now that says "Cannot convert file type". Any ideas why Autocad .dwg files aren't supported anymore?

    I've tried to print to the Adobe PDF printer and that doesn't work anymore either. I used to be able to go into windows explorer and select multiple files, right click them, then select "Combine supported files in Acrobat...". This method used to work until the latest automatic upgrade.

  • Help - AutoCAD to PDF

    Is there any java free api to convert AutoCAD formats (DWG or DXF) into PDF?
    Thanks

    Is there any java free api to convert AutoCAD formats
    (DWG or DXF) into PDF?
    Thankswww.lowagie.com/iText/
    Check out iText for creating PDF documents. I have used it in a project before and it works great for most things.
    AutoCAD files are proprietary though so there really is nothing out there, (for free at least) that can automagically convert DWG to PDF.
    I would consult Autodesk and see if they have a Java API for what you are describing.
    Otherwise the best solution I can think of is make the CAD drawers save there files in PDF format, because that can be easily done using AutoCAD.

  • Convert DWF to PDF "Missing PDFMaker files" error

    I am trying to convert an Autocad DWF file to Adobe PDF using the right click "convert to adobe pdf option" but keep getting the error message of 'missing PDFMaker files". I have tried the repair option on my installation of Adobe Acrobat 8.2.2 but this makes no difference.
    If i open the file in Autocad Design Review and select print to the Adobe printer the file converts to PDF fine. however can't do it from right click on the file.
    Does anyone know which PDFMaker files I need to enable this function. I can use Office files ok in this way and looking at Adobe compatibility lists appears that should work fine with DWF files.
    Thanks

    If you open AutoCAD, do you have the Adobe menu for PDF Maker? If not, you need to get that working before you play with the right click option. In the meantime, you should be able to print to the Adobe PDF printer.

  • Converting Autocad .Dwg files to .U3d Files

    Hello,
    I have Adobe Acrobat Professional Version 8 and I am required to pdf 3D models from Autocad 2008.
    The help index explains that you can pdf drawing models with Adobe Professional if the files are in .u3d version 1.0 file format.
    Can any one please advise of free conversion software which will convert Autocad .dwg files to .U3d files?
    Or is there an Acrobat 3D Toolkit plug in which could be used for this purpose?
    Any advice would be most appreciated as I am new to Adobe 3D Modeling.
    Thank you.

    The best luck I've had was importing DXF or CGM files (sometimes one works better than the other) that had been exported from AutoCAD.

  • How to convert html to pdf using acrobat sdk 8.0?

    hi
    I am a beginner of acrobat sdk .
    I want to know How to use acrobat sdk 8.0 to convert html to pdf?
    herere some questions :
    1:How to support navigation inside PDF file that generated using acrobat sdk 8.0? For example: theres catalog in the top of HTML file, customer hopes can navigate inside the PDF file just like navigating inside the HTML file.
    2:How to support operating some controls in the PDF file that generated using acrobat sdk 8.0? For example: therere some drop down list and text box in HTML file, customer hopes can input text in the text box, click the drop down list to see available options in it just like in HTML file.
    Thanks in advance for any help and suggestion.

    Hello,
    I want a system to re-brand my 37 pages PDF for affiliates.
    I want a php dynamic link in the PDF online in order to personalize automatically the PDF for each affiliate. I need to change 2 links each time. The affiliate ID and the Paypal email (payment button) in page 36.
    Can you help?
    Please let me know
    Thank you
    Alex
    PS My system is online and i can give you the url if it helps.

  • URGENT -----  Problem in converting spool to pdf .

    Error - File cannot be opened because of no pages ......
    Hi experts,
    I am passing internal table contents to spool   -->  then spool to pdf  -
    >  then mail sending.
    Everything is fine but only error is in the receiving mail the above error is coming.
    given the code...
    <b>I think the error is in converting into pdf function module</b>
    <b>Help me to solve this problem as it is very urgent</b>
    include data_declare.       "  pasted down
    select * from kna1 into table itab up to 50 rows.
    CALL FUNCTION 'RSPO_OPEN_SPOOLREQUEST'
    EXPORTING
    dest = 'LP01'
    immediate_print = 'X'
    IMPORTING
    handle = handle
    SPOOLID = spoolid.
    loop at itab.
    concatenate itab-kunnr itab-name1 itab-land1 into text separated by
    space.
    CALL FUNCTION 'RSPO_WRITE_SPOOLREQUEST'
    EXPORTING
    handle = handle
    text =  text.
    endloop.
    CALL FUNCTION 'RSPO_CLOSE_SPOOLREQUEST'
    EXPORTING
    handle = handle.
    Convert Spool to PDF **********************************
      <b>CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
                src_spoolid              = spoolid "gd_spool_nr
                no_dialog                = c_no
                dst_device               = c_device
           IMPORTING
                pdf_bytecount            = gd_bytecount
           TABLES
                pdf                      = it_pdf_output
           EXCEPTIONS
                err_no_abap_spooljob     = 1
                err_no_spooljob          = 2
                err_no_permission        = 3
                err_conv_not_possible    = 4
                err_bad_destdevice       = 5
                user_cancelled           = 6
                err_spoolerror           = 7
                err_temseerror           = 8
                err_btcjob_open_failed   = 9
                err_btcjob_submit_failed = 10
                err_btcjob_close_failed  = 11
                OTHERS                   = 12.
      CHECK sy-subrc = 0.
    Transfer the 132-long strings to 255-long strings
      LOOP AT it_pdf_output.
        TRANSLATE it_pdf_output USING ' ~'.
        CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
      ENDLOOP.
      TRANSLATE gd_buffer USING '~ '.
      DO.
        it_mess_att = gd_buffer.
        APPEND it_mess_att.
        SHIFT gd_buffer LEFT BY 255 PLACES.
        IF gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.</b>
    Processing Mail Sending ************************************
      DATA: p_email LIKE somlreci1-receiver,
            p_sender LIKE somlreci1-receiver,
            sub(40).
      DESCRIBE TABLE it_mess_att LINES gd_recsize.
      CHECK gd_recsize > 0.
      REFRESH it_mess_bod.
    Default subject matter
      gd_subject         = 'Subject'.
      gd_attachment_desc = text-002.
      it_mess_bod        = text-001.
      APPEND it_mess_bod.
      IF p_sender EQ space.
        gd_sender_type  = space.
      ELSE.
        gd_sender_type  = 'INT'.
      ENDIF.
      MOVE 'Orders Rejeced on' TO sub.
      WRITE: sy-datum DD/MM/YYYY TO sub+27(10).
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   TABLES it_mess_bod
                                          it_mess_att
                                    USING
                                         p_email
                                           sub                  "text-009
                                          'PDF'
                                           gd_attachment_name
                                           gd_attachment_desc
                                         p_sender
                                         gd_sender_type
                                 CHANGING gd_error
                                          gd_reciever.
    ENDFORM.                    " process_email
    *&      Form  send_file_as_email_attachment
          text
         -->P_IT_MESS_BOD  text
         -->P_IT_MESS_ATT  text
         -->P_TEXT_009  text
         -->P_1058   text
         -->P_GD_ATTACHMENT_NAME  text
         -->P_GD_ATTACHMENT_DESC  text
         <--P_GD_ERROR  text
         <--P_GD_RECIEVER  text
    FORM send_file_as_email_attachment TABLES it_message
                                              it_attach
                                        USING
                                            p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                            p_sender_address
                                            p_sender_addres_type
                                     CHANGING p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
      DATA:   t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
              t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
              t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
              t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
              t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
              w_cnt TYPE i,
              w_sent_all(1) TYPE c,
              w_doc_data LIKE sodocchgi1.
    ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
    ld_sender_address      = p_sender_address.
    ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = it_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      CLEAR gt_mail.
      SELECT SINGLE * FROM zmail INTO gt_mail
                      WHERE grpnr = '1'.
      IF NOT gt_mail-mail1 IS INITIAL.
        t_receivers-receiver = gt_mail-mail1.
        APPEND t_receivers.
      ENDIF.
      IF NOT gt_mail-mail2 IS INITIAL.
        t_receivers-receiver = gt_mail-mail2.
        APPEND t_receivers.
      ENDIF.
      IF NOT gt_mail-mail3 IS INITIAL.
        t_receivers-receiver = gt_mail-mail3.
        APPEND t_receivers.
      ENDIF.
      IF NOT gt_mail-mail4 IS INITIAL.
        t_receivers-receiver = gt_mail-mail4.
        APPEND t_receivers.
      ENDIF.
    LOOP AT gt_mail.
       t_receivers-receiver = gt_mail-mailid..
       APPEND t_receivers.
    ENDLOOP.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_receivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.                    " send_file_as_email_attachment
    Data Declaration ************************************
    DATA : handle LIKE sy-tabix.
    data itab like kna1 occurs 0 with header line.
    data: text(50) type c.
    data: spoolid type TSP01-RQIDENT.
    DATA : gt_listobject LIKE abaplist OCCURS 10 .
    DATA : gt_objcont LIKE soli OCCURS 10 WITH HEADER LINE.
    DATA : gt_objcont1 LIKE soli OCCURS 10 WITH HEADER LINE.
    DATA : gt_objhead LIKE soli OCCURS 10 WITH HEADER LINE.
    DATA : gt_att_head LIKE soli OCCURS 10  WITH HEADER LINE.
    DATA : gt_receivers LIKE soos1 OCCURS 10 WITH HEADER LINE.
    DATA : gt_packing_list LIKE soxpl OCCURS 10 WITH HEADER LINE.
    DATA : gt_so_ali LIKE soli OCCURS 100 WITH HEADER LINE.
    DATA : gt_so_ali1 LIKE soli OCCURS 100 WITH HEADER LINE.
    DATA : gt_document_data LIKE sood1.
    DATA: lineno TYPE i , length TYPE i , size TYPE i.
    DATA: gt_message LIKE soli OCCURS 10 WITH HEADER LINE,
          gt_message1 LIKE soli OCCURS 10 WITH HEADER LINE.
    DATA: gt_scheme LIKE ztrc_scheme OCCURS 0 WITH HEADER LINE,
         gt_mail LIKE zmail_prov OCCURS 0 WITH HEADER LINE.
          gt_mail LIKE zmail." occurs 0 with header line.
    DATA: gd_recsize TYPE i.
    Spool IDs
    TYPES: BEGIN OF t_tbtcp.
            INCLUDE STRUCTURE tbtcp.
    TYPES: END OF t_tbtcp.
    DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
          wa_tbtcp TYPE t_tbtcp.
    Job Runtime Parameters
    DATA: gd_eventid LIKE tbtcm-eventid,
          gd_eventparm LIKE tbtcm-eventparm,
          gd_external_program_active LIKE tbtcm-xpgactive,
          gd_jobcount LIKE tbtcm-jobcount,
          gd_jobname LIKE tbtcm-jobname,
          gd_stepcount LIKE tbtcm-stepcount,
          gd_error    TYPE sy-subrc,
          gd_reciever TYPE sy-subrc.
    DATA:  w_recsize TYPE i.
    DATA: gd_subject   LIKE sodocchgi1-obj_descr,
          it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          gd_sender_type     LIKE soextreci1-adr_typ,
          gd_attachment_desc TYPE so_obj_nam,
          gd_attachment_name TYPE so_obj_des.
    Spool to PDF conversions
    DATA: gd_spool_nr LIKE tsp01-rqident,
          gd_destination LIKE rlgrap-filename,
          gd_bytecount LIKE tst01-dsize,
          gd_buffer TYPE string.
    Binary store for PDF
    DATA: BEGIN OF it_pdf_output OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA: END OF it_pdf_output.
    CONSTANTS: c_dev LIKE  sy-sysid VALUE 'DEV',
               c_no(1)     TYPE c   VALUE ' ',
               c_device(4) TYPE c   VALUE 'LOCL'.
    DATA: check TYPE c,
          days TYPE i.
    <b></b><b></b><b></b>

    Hi Prashant,
    Thanks for your reply. Really it is very useful one.
    In this, the output list is getting populated into spool and to pdf.
    But my requirement sending the internal table contents to spool directly without dispalying in the output list.
    I did the program like the above mentioned one already. But my requirement is not that one.
    Regards
    chakradhar

  • Converting report to PDF and mailing

    Hi every one,
    I've gone through various threads and i'm aware of the Functional module's used to
    convert the report to pdf and mail it back.Like CONVERT_OTFSPOOLJOB_2_PDF, CONVERT_OTF_2_PDF and for mailing we have SEND_NEW_DOCUMENT_ATT_SEND_API1.
    I've worked with this but my problem is i'm not able to convet the report output to pdf.When i'm doing this i'm getting the output of my functional module converted to pdf like the number of header and item records available for the given data in the selection screen.
    Since all the threads i've gone through is converting the single internal table which has the output to pdf.
    But i've got the REUSE_ALV_HIERSQL_LIST_DISPLAY, hierarchial report which as known has got two internal tables.How to the same to this kind of report....More over is it possible to convert report to pdf in online without transfering it to spool and getting the spool id to convert it to pdf.........
    Any help or suggestions will surely be rewarded......
    Thanks in Advance.....

    Here is the complete code for you;
    It Converts spool request into PDF document and emails it.
    <b>http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm</b>
    Regards,
    Vishal

  • Convert OTF to PDF and print PDF from Spool

    Hi,
    I have searched all the forums and service market place but could not find solution to my problem.
    I am using Function module
      CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid              = p_spool
          no_dialog                = 'X'
          dst_device               = 'ISJB'
          pdf_destination          = 'S'
        IMPORTING
          pdf_bytecount            = lv_bytecount
          pdf_spoolid              = lv_spoolid
          otf_pagecount            = lv_pagecount
          btc_jobname              = lv_jobname
          btc_jobcount             = lv_jobcount
        TABLES
          pdf                      = gt_pdf
        EXCEPTIONS
          err_no_otf_spooljob      = 1
          err_no_spooljob          = 2
          err_no_permission        = 3
          err_conv_not_possible    = 4
          err_bad_dstdevice        = 5
          user_cancelled           = 6
          err_spoolerror           = 7
          err_temseerror           = 8
          err_btcjob_open_failed   = 9
          err_btcjob_submit_failed = 10
          err_btcjob_close_failed  = 11
          OTHERS                   = 12.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    this generates spool in SP01. Ideally it should generate a PDF spool file but it generates a BIN file of Format G_RAW. When I display the spool it displays all kinds of japanese characters which does not make sense,.
    I setup printer ISJB with device type JPPDF (PDF converted for Japanese characters). Does any one know where the problem could be? Why I could not print the Spool in PDF?
    Thank you,
    Jagadish

    Hi,
    check out this program which will convert spool to pdf
    REPORT  zsmartform_spool_g.
    *************Types Declaration ****************************
    TYPES : BEGIN OF gty_tab,                          " Spool Requests
            rqident   TYPE tsp01-rqident,              " Spool request number
            rqdoctype TYPE tsp01-rqdoctype,            " Spool: document type
            rqo1name  TYPE tsp01-rqo1name,             " TemSe object name
           END OF gty_tab.
    *********Work Area ****************************************
    DATA: form_name TYPE rs38l_fnam,      " Used to get the function module of Smartform
          wa_outopt TYPE ssfcompop,       " SAP Smart Forms: Smart Composer (transfer) options
          gs_tab    TYPE gty_tab.         " Spool Requests
    *******Internal Table Declarations ************************
    DATA: gt_tab TYPE STANDARD TABLE OF gty_tab,       " Spool Requests
          gt_pdf TYPE STANDARD TABLE OF tline,         " SAPscript: Text Lines
          gt_spoolid TYPE tsfspoolid,                  " Table with Spool IDs
          gt_otfdata TYPE ssfcrescl.                 " Smart Forms: Return value at end of form prnt
    *********Variable Declarations ****************************
    DATA: gv_bytecount   TYPE i,               "#EC NEEDED " PDF Byte Count
          gv_file_name   TYPE string,                    " File name
          gv_file_path   TYPE string,                    " File Path
          gv_full_path   TYPE string,                    " Path
          gv_binfilesize TYPE i,                         " Bin File size
          gv_rqident   TYPE tsp01-rqident,               " Spool request number
          gv_name TYPE tst01-dname,                      " TemSe object name
          gv_objtype TYPE rststype-type,                 " TemSe: Object type name
          gv_type TYPE rststype-type.                    " TemSe: Object type name
    START-OF-SELECTION.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'ZPDF_G'
        IMPORTING
          fm_name            = form_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    *Get Spool IDs
      wa_outopt-tdnewid = 'X'.
      wa_outopt-tddest = 'LP01'.
      CALL FUNCTION form_name
        EXPORTING
          output_options   = wa_outopt
          user_settings    = 'X'
        IMPORTING
          job_output_info  = gt_otfdata
        EXCEPTIONS
          formatting_error = 1
          internal_error   = 2
          send_error       = 3
          user_canceled    = 4
          OTHERS           = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    *Assign the spool id
      gt_spoolid = gt_otfdata-spoolids.
    Generate spool and pdf for the output of the form
      PERFORM sub_generate_spool_pdf.
    END-OF-SELECTION.
    *&      Form  sub_generate_spool_pdf
          Generate Spool and PDF output
    FORM sub_generate_spool_pdf .
      DATA: ls_spoolid LIKE LINE OF gt_spoolid.
    *----Get the Spool Number
      CLEAR ls_spoolid.
      READ TABLE gt_spoolid INTO ls_spoolid INDEX 1.
      IF sy-subrc = 0.
        gv_rqident = ls_spoolid.
      ENDIF.
      CLEAR gt_tab.
      SELECT  rqident rqdoctype rqo1name INTO TABLE gt_tab
               FROM tsp01 WHERE rqident = gv_rqident.
      IF sy-subrc = 0.
        CLEAR gs_tab.
    Get the TemSe: Object name into variable gv_name
        READ TABLE gt_tab INTO gs_tab INDEX 1.
        IF sy-subrc = 0.
          gv_name = gs_tab-rqo1name.
        ENDIF.
      ENDIF.
      CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
        EXPORTING
          authority     = 'SP01'
          client        = sy-mandt
          name          = gv_name
          part          = 1
        IMPORTING
          type          = gv_type
          objtype       = gv_objtype
        EXCEPTIONS
          fb_error      = 1
          fb_rsts_other = 2
          no_object     = 3
          no_permission = 4
          OTHERS        = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Check if temse object name type is 'OTF' or 'LIST'
      IF gv_objtype(3) = 'OTF'.
        PERFORM get_otf_spool_in_pdf.
      ELSE.
        PERFORM get_abap_spool_in_pdf.
      ENDIF.
    Generate F4 functionality from spool to pdf
      PERFORM write_pdf_spool_to_pc.
    ENDFORM.                    " sub_generate_spool_pdf
    *&      Form  get_abap_spool_in_pdf
          Generate the Spool number
    FORM get_abap_spool_in_pdf .
      REFRESH gt_pdf.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid              = gv_rqident
        IMPORTING
          pdf_bytecount            = gv_bytecount
        TABLES
          pdf                      = gt_pdf
        EXCEPTIONS
          err_no_abap_spooljob     = 1
          err_no_spooljob          = 2
          err_no_permission        = 3
          err_conv_not_possible    = 4
          err_bad_destdevice       = 5
          user_cancelled           = 6
          err_spoolerror           = 7
          err_temseerror           = 8
          err_btcjob_open_failed   = 9
          err_btcjob_submit_failed = 10
          err_btcjob_close_failed  = 11
          OTHERS                   = 12.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " get_abap_spool_in_pdf
    *&      Form  get_otf_spool_in_pdf
          Generate OTF data from the Spool Number
    FORM get_otf_spool_in_pdf .
      REFRESH gt_pdf.
      CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid              = gv_rqident
        IMPORTING
          pdf_bytecount            = gv_bytecount
        TABLES
          pdf                      = gt_pdf
        EXCEPTIONS
          err_no_otf_spooljob      = 1
          err_no_spooljob          = 2
          err_no_permission        = 3
          err_conv_not_possible    = 4
          err_bad_dstdevice        = 5
          user_cancelled           = 6
          err_spoolerror           = 7
          err_temseerror           = 8
          err_btcjob_open_failed   = 9
          err_btcjob_submit_failed = 10
          err_btcjob_close_failed  = 11
          OTHERS                   = 12.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " get_otf_spool_in_pdf
    *&      Form  write_pdf_spool_to_pc
          Generate PDF format
    FORM write_pdf_spool_to_pc .
      CALL METHOD cl_gui_frontend_services=>file_save_dialog
        CHANGING
          filename             = gv_file_name
          path                 = gv_file_path
          fullpath             = gv_full_path
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          OTHERS               = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ----DOWNLOADING THE PDF DATA***
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          bin_filesize            = gv_binfilesize
          filename                = gv_full_path
          filetype                = 'BIN'
        TABLES
          data_tab                = gt_pdf
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6
          header_not_allowed      = 7
          separator_not_allowed   = 8
          filesize_not_allowed    = 9
          header_too_long         = 10
          dp_error_create         = 11
          dp_error_send           = 12
          dp_error_write          = 13
          unknown_dp_error        = 14
          access_denied           = 15
          dp_out_of_memory        = 16
          disk_full               = 17
          dp_timeout              = 18
          file_not_found          = 19
          dataprovider_exception  = 20
          control_flush_error     = 21
          OTHERS                  = 22.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " write_pdf_spool_to_pc

  • How do I convert an Adobe pdf file with sound assist for the visually impaired to use the keyboard to play audio?

    I am trying to convert an Adobe pdf article file with a play button to an iTunes or other accessible file for people with visual impairments.  The file has been converted to a format that has a play button; however, the computer does not have a keyboard stroke that leads to the play button.  In other words, the play button isn't integrated into the accessible format; only sighted people can access the play button.  The individual is using an Apple laptop.
    Can someone help me please?
    Thanks!

    http://www.macworld.com/article/1162699/how_to_convert_pdfs_to_word_and_other_fo rmats_.html
    https://itunes.apple.com/us/app/pdf-converter-free/id422540367

Maybe you are looking for

  • My 7th Generation iPod Nano shuts off whenever I press a button.

    I bought my iPod nano 16 GB a few months ago, and I noticed that sometimes, when I tried to open the screen (pressing the top button or the menu button) instead of opening, the iPod shut itself completely, and then rebooted, I could see the Apple log

  • JPEGs corrupted

    Help I have corrupt JPEGs. The pictures show up fine in in thumbnail but when opened up in preview they only show half of the picture. Thanks again Carl

  • ZEN 20GB - firmware

    Hi, is it possible to put on my player ZEN 20GB (this one which looks like micro) firmware for? example from micro 2.xx. Or playsforsure? Please answer, because i'm tryingto start scrobbling my zen for lastfm

  • How do i get the render option back in project settings?

    I used to have the option of selecting the mercury accelarated playback now it's greyed out on the mercury playback software only option.  How does one get the mercury accelarated option back?

  • Find all child tables - validate sql

    I have a table (tabA), In tabA i have a column (id) which is part of primary key Question: I need to know all the tables which have foreign keys refererring to tabA.id I used the following sql, please let me know if this is correct: select table_name