Converting eps to pdf in Preview

I have a large quantity of eps files that I would prefer to be in a much more useful and accessible format.
In tests that I have made, I have found that Preview is not only very fast at converting the eps files to pdfs, it also crops them to their bounding box and results in an extremely tight file size.
I would love to use Preview now to convert my collection but it is a massive job and I need to batch convert them, resaving converted pdfs back into the same folders with their original names or some sensible over-arching name + numbers for sets of files.
Also useful would be to create a custom preview icon on each file so I can scour them in Finder
I looked at Automator and smart folders to do this for me, but I can't see how to actually get it to work. It only shows bitmap formats in the Preview actions.
Anybody have any practical solutions?
I could see similar tasks with other file formats as being extremely useful too.
Thanks for any assistance you can offer.
btw iPhoto doesn't like pdfs! Any other way to get a neat catalog of the collection when I'm finished?
Beaut iMac G5 2Ghz + G4 400 AGP upgraded to G4 1000 that bombs all the time   Mac OS X (10.4.9)  

I recommend Graphic Converter: http://lemkesoft.de/ which is capable of converting any image format to any other. It has batch actions too, but they may be disabled in the free trial version. Batch actions are extremely convenient. If you get GC I will help set you up.
Preview is not scriptable.

Similar Messages

  • Adjust page boundary when converting eps to pdf

    Hi, I have a problem with the page boundaries when converting eps files to pdf files. The resulting pdf page boundary is the bare minimum around the eps objects, leading to different page sizes when the pdf is viewed on screen. I would like all of my pdf objects to have the standard letter (8.5 by 11 inch) page boundary. Furthermore, when the pdf is printed the size of the objects is not to to the same scale as the eps file (which was created in adobe illustrator), and the orientation of the picture is often rotated to what is displayed on the eps or pdf file! Can anybody help me with this problem?

    I opened Distiller from the regular programs menu. I have a job settings file selected that has a 8.5X11 size. I opened a 5.5X7.5 EPS file in Distiller and it creates a PDF with the image at the bottom of the 8.5X11 page. You can also simply open the PDF that you already have and print to a new PDF -- selecting expand to fit if desired.

  • Problems converting eps to PDF in Distiller - claims "file is in use"

    Hi,
    I've recently starting having a problem in Distiller (the version that same with Acrobat 9). When I try to convert EPS files, I get the message "Cannot open the file. The file is being used by another process". This is a new problem, only a month or two ago it worked fine. The only thing I can think of that may have changed is
    a) Adobe Reader was updated, I believe
    b) in an effort to speed up my computer, I tried removing a number of items from my startup. But I've put them all back in, I think. Here's what's running (although I did start Acrotray manually, and it seems to close when Disteller closes.
    Any suggestions?

    Hi, Bill,
    Ok, well, the problem is still here. I have updated the program. Created
    new eps files that have never been open in Distiller (or any other
    program) .When I try to use Distiller, I get the same message; Cannot
    open this file. The file is being used by another process."
    i have copied the directory to another drive - no change.
    Possible clue: If I try to delete a file from Distiller/File/Open, it
    again tells me that the file is already open and so can't be deleted.
    How strange that it would think the file is still open. It does this
    after a fresh boot, when my first action after booting is to open
    Distiller and try to convert an EPS file.
    I CAN combine the EPS files within Acrobat by using Combine/Merge files
    into a single PDF. But of course that's horribly slow and only an
    emergency solution.
    Using Acrobat 9 Pro version 9.2.0
    Windows 7 professional service pack 1
    16 gigs of RAM
    Here's what's running:
    any more ideas?
    Thanks!
    Peter S. aka PeterCymbal

  • Convert PS to PDF with Preview

    I've been using Preview forever to open PS files. Recently, when I try to open the PS file, I get a file error following the converting PS to PDF bubble. There is nothing wrong with the PS file (can open with ColorSync or GIMP). Any idea on a fix?
    Cliff

    By a PS file, I assume you mean Photoshop file. I also use Preview to open my PS files.
    Try converting the PS file to a PDF in Photoshop.
    In PS choose File > Save As... then choose PDF from the settings list.
    Remember to mark as helpful or solved.

  • Converting JPGs to PDFs with Preview

    I have a large collection of jpgs I would like to convert into multi-page PDFs. However, whenever I use Preview to save a jpg as a PDF, it ends up cropping the image. Am I doing something wrong?

    Doesn't crop when I do it your way, so I can't offer any direct suggestions, but perhaps try using Print to save as a pdf.

  • How to preserve original size when converting to PDF in Preview.

    I'm using Preview in Snow Leopard.
    Trying to create multipage PDFs from document scans.
    I'm finding that when the scanned image (tiff, png, jpg) is converted to PDF in Preview the size reduces.
    Selecting 'View actual size' shows the image with sometimes drastically impaired quality.
    This does not always happen. I have some images that stay the same size and quality.
    What factors cause this reduction in size in some images but not in others?
    I'm not sure but this could be only images that have been scanned by me. If so, what do I need to do to prevent the problem?
    These are not large images, just standard size pages.
    I have all the preferences to view at 100%
    This is not for printing, only for viewing on-screen.

    Please!!
    I'm not silly...
    As I said, selecting View actual size shows the image with sometimes drastically impaired quality (regardless of the window size).
    I also said I have preferences set to view at 100%
    It now seems as if this is only happening with scans I've made here.
    Images downloaded from the internet are converting indentically, no problem. But my scans are being resized when converting.
    I wonder if anyone with a bit of technical know-how can give me some clues as to why this is happening. It would seem to be something to do with the file itself.
    (There was another post on here with the same problem but for some reason its been 'archived' though the last posting was this month and the query was not answered. So I've posted the question again.)

  • Preview Problem when converting .jpg to .pdf

    My scanner isn't producing sharp enough images, so I am:
    1. Saving the 300 dpi scanned file in .jpg format
    2. Opening the .jpg file in Preview.
    3. Sharpening the image.
    4. Saving the .jpg file as a .pdf file.
    But Preview saves the .pdf file with huge dimensions (as though it had been scanned at 72 dpi instead of 300 dpi). So when I open the file in Acrobat, to OCR it, Acrobat thinks the file is huge (over 30" wide and over 40" tall) and the OCR chokes with a message that the page dimensions are too big. Obviously I could simply resave the sharpened .jpg file in .jpg format, and use Acrobat to convert it to PDF, which gives it the correct page dimensions. But the sharpened .pdf file looks better on screen when created by Preview. Is there any way to convert the .jpg file to .pdf within Preview which will keep the correct page size information? (Or, as a last resort, is there a Mac utility which will resize PDF dimensions?)

    Hi Bruce, and a warm welcome to the forums!
    You can create a Colorsync Filter to save a PDF/x-3 at your chosen resolution...

  • Acrobat 9.0 (Windows XP) I Need help converting an EPS to PDF

    When I try to convert an eps to pdf in acrobat 9.0 I get this error message %%[ Warning: Empty job. No PDF file produced. ] %%
    Does anyone know how to fix this problem? If you could give me a step by step instruction on how to do so it would be great because I am a new user.

    Try opening Distiller first (do not drag it) so that you can see the messages on screen. There is typically a log file produced also. For some reason, it appears that you are getting the message and it has no basic info included, but it may not be complete. I will not say that I can read all of the log files, but it is the starting place. Another alternative is to try to post the EPS file (hopefully not too big) for us to download and try ourselves. Unfortunately, I can not try AA9 that I do not have, only 4 different earlier versions.

  • Converting Smartforms to PDF and displaying Smartforms on print preview

    Hi,
    How to convert smartforms to pdf?
    How to attach this pdf to email?
    How to attach this pdf to the email and at the same time can print preview the smartforms?
    Thanks.

    Hi Navi,
    Code Snippet for Simple Mail
    *& Report  ZZ_TEST                                                     *
    REPORT  zz_test                                 .
    INCLUDE zz_test_top.
    INCLUDE zz_test01.
          FORM entry                                                    *
    -->  RETURN_CODE                                                   *
    -->  US_SCREEN                                                     *
    FORM entry USING return_code us_screen.
      CLEAR retcode.
      xscreen = us_screen.
      PERFORM processing USING us_screen.
      CASE retcode.
        WHEN 0.
          return_code = 0.
        WHEN 3.
          return_code = 3.
        WHEN OTHERS.
          return_code = 1.
      ENDCASE.
    ENDFORM.                    "entry
    *&  Include           ZZ_TEST_TOP                                      *
      TABLES : nast,
               tnapr.
    TYPES : BEGIN OF t_SOUDNAMEI1.
            INCLUDE STRUCTURE SOUDNAMEI1.
    TYPES : END OF t_SOUDNAMEI1.
    Internal Table declarations
      DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
      i_tline TYPE TABLE OF tline WITH HEADER LINE,
      i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
      i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    *Objects to send mail.
      i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
      i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
      i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
      i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
      i_lips LIKE lips OCCURS 0 WITH HEADER LINE,
      i_SOUDNAMEI1 TYPE STANDARD TABLE OF t_SOUDNAMEI1.
    Work Area declarations
      DATA:w_objhead TYPE soli_tab,
      wa_control_parameters TYPE ssfctrlop,
      wa_output_options TYPE ssfcompop,
      w_return TYPE ssfcrescl,
      w_doc_chng TYPE sodocchgi1,
      w_data TYPE sodocchgi1,
      w_buffer TYPE string,"To convert from 132 to 255
      wa_SOUDNAMEI1 TYPE t_SOUDNAMEI1,
    Variables declarations
      w_form_name TYPE rs38l_fnam,
      w_len_in LIKE sood-objlen,
      w_len_out LIKE sood-objlen,
      w_len_outn TYPE i,
      w_lines_txt TYPE i,
      w_lines_bin TYPE i,
      retcode      TYPE sy-subrc,
      xscreen      TYPE c,
      w_spld TYPE usr01-spld,
      w_receiver TYPE SOXNA-FULLNAME,
      w_OBJ_RECORD TYPE OBJ_RECORD,
      w_user type sy-uname,
      w_email TYPE ad_smtpadr.
    Constants Declaration
      CONSTANTS : c_x TYPE c VALUE 'X',
                  c_atrate(1) TYPE c VALUE '@'.
    *&  Include           ZZ_TEST01                                        *
          FORM PROCESSING                                               *
    FORM processing USING proc_screen.
      SELECT * FROM lips
        INTO TABLE i_lips
        WHERE vbeln = nast-objky.
    Call Function module to Getfunction Module name Generated by Smartform
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = tnapr-sform
        IMPORTING
          fm_name            = w_form_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
        retcode = sy-subrc.
      ENDIF.
      CLEAR : wa_control_parameters,
              wa_output_options.
      CASE nast-nacha.
        WHEN '1'.
          wa_control_parameters-device    = 'PRINTER'.
        WHEN '7'.
          DATA: l_email TYPE ad_smtpadr.
          wa_output_options-tdnoprev = c_x.
          wa_control_parameters-getotf  = c_x.
    To get the default output device maintained in the
    User profile
         SELECT SINGLE spld FROM usr01
          INTO w_spld
          WHERE bname EQ nast-usnam.
          IF sy-subrc EQ 0.
            MOVE w_spld TO  wa_output_options-tddest   .
          ENDIF.
          wa_output_options-tdnoprev = c_x.
          wa_control_parameters-getotf  = c_x.
    To get the email address maintained for the particular output
          CALL FUNCTION 'NAST_GET_MESSAGE_OBJECT_RECV'
            EXPORTING
              pi_objkey             = nast-tdname
            IMPORTING
              pe_addr               = w_receiver
            CHANGING
              pc_objhandle          = w_obj_record
            EXCEPTIONS
              maildata_not_readable = 1
              OTHERS                = 2.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
           WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          IF w_receiver NA c_atrate.
    To retrieve the E-Mail Id in case we get the User name from NAST
            CLEAR wa_soudnamei1.
            REFRESH i_soudnamei1.
            MOVE w_receiver TO wa_soudnamei1-fullname.
    To get the user name
            CALL FUNCTION 'SO_NAME_CONVERT_API1'
              EXPORTING
                name            = wa_soudnamei1
              TABLES
                names           = i_soudnamei1
              EXCEPTIONS
                user_not_exist  = 1
                parameter_error = 2
                x_error         = 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.
            CLEAR wa_soudnamei1.
            READ TABLE i_soudnamei1 INTO wa_soudnamei1 INDEX 1.
            MOVE wa_soudnamei1-sapname TO w_user.
    To get the e-mail Id maintained in the user profile
            CALL FUNCTION 'FTR_CORR_CHECK_EMAIL_SAP_USER'
              EXPORTING
                i_user              = w_user
              IMPORTING
                e_email_address     = l_email
              EXCEPTIONS
                mail_address        = 1
                determination_error = 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.
            MOVE l_email TO w_receiver.
          ENDIF.
          MOVE  w_receiver TO w_email.
      ENDCASE.
      wa_control_parameters-no_dialog = c_x.
      wa_control_parameters-langu     = nast-spras .
      wa_output_options-tdteleland    = nast-tland.
      wa_output_options-tdtelenum     = nast-telfx .
      wa_output_options-tdsenddate    = nast-erdat .
      wa_output_options-tdsendtime    = nast-eruhr .
      wa_output_options-tddataset     = nast-dsnam .
      wa_output_options-tdsuffix1     = nast-dsuf1 .
      wa_output_options-tdsuffix2     = nast-dsuf2 .
      wa_output_options-tdimmed       = nast-dimme .
      wa_output_options-tddelete      = nast-delet .
      wa_output_options-tdautority    = nast-tdautority.
      wa_output_options-tdcovtitle    = nast-tdcovtitle .
      wa_output_options-tdcover       = nast-tdocover .
      wa_output_options-tdreceiver    = nast-tdreceiver.
      wa_output_options-tddivision    = nast-tddivision.
      wa_output_options-tdcopies      = nast-anzal .
      wa_output_options-tdnewid       = c_x.
      wa_output_options-tdarmod       = nast-tdarmod.
      wa_output_options-tdnoarmch     = c_x.
      CALL FUNCTION w_form_name
        EXPORTING
         archive_index      = toa_dara
         archive_parameters = arc_params
          control_parameters = wa_control_parameters
          output_options     = wa_output_options
          user_settings      = ' '
        IMPORTING
          job_output_info    = w_return
        TABLES
          it_lips            = i_lips
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      IF nast-nacha EQ 7 AND sy-subrc EQ 0.
        i_otf[] = w_return-otfdata[].
        CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            format                = 'PDF'
            max_linewidth         = 132
          IMPORTING
            bin_filesize          = w_len_in
          TABLES
            otf                   = i_otf
            lines                 = i_tline
          EXCEPTIONS
            err_max_linewidth     = 1
            err_format            = 2
            err_conv_not_possible = 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.
    Convert PDF from 132 to 255.
        LOOP AT i_tline.
    Replacing space by ~
          TRANSLATE i_tline USING ' ~'.
          CONCATENATE w_buffer i_tline INTO w_buffer.
        ENDLOOP.
    Replacing ~ by space
        TRANSLATE w_buffer USING '~ '.
        DO.
          i_record = w_buffer.
    Appending 255 characters as a record
          APPEND i_record.
          SHIFT w_buffer LEFT BY 255 PLACES.
          IF w_buffer IS INITIAL.
            EXIT.
          ENDIF.
        ENDDO.
        REFRESH: i_reclist,
        i_objtxt,
        i_objbin,
        i_objpack.
        CLEAR w_objhead.
    Object with PDF.
        i_objbin[] = i_record[].
        DESCRIBE TABLE i_objbin LINES w_lines_bin.
    Document information.
        w_doc_chng-obj_name = 'Smartform'.
        w_doc_chng-expiry_dat = sy-datum + 10.
        CONCATENATE 'Delivery' 'Note'
        INTO w_doc_chng-obj_descr.
    *w_doc_chng-obj_descr = 'Smart form output'.
        w_doc_chng-sensitivty = 'F'. "Functional object
        w_doc_chng-doc_size = w_lines_txt * 255.
    Pack to main body as RAW.
    Obj. to be transported not in binary form
        CLEAR i_objpack-transf_bin.
    Start line of object header in transport packet
        i_objpack-head_start = 1.
    Number of lines of an object header in object packet
        i_objpack-head_num = 0.
    Start line of object contents in an object packet
        i_objpack-body_start = 1.
    Number of lines of the object contents in an object packet
        i_objpack-body_num = w_lines_txt.
    Code for document class
        i_objpack-doc_type = 'RAW'.
        APPEND i_objpack.
    Packing as PDF.
        i_objpack-transf_bin = 'X'.
        i_objpack-head_start = 1.
        i_objpack-head_num = 1.
        i_objpack-body_start = 1.
        i_objpack-body_num = w_lines_bin.
        i_objpack-doc_type = 'PDF'.
        i_objpack-obj_name = 'Smartform'.
        CONCATENATE 'Delivery' 'Note' '.pdf'
        INTO i_objpack-obj_descr.
        i_objpack-doc_size = w_lines_bin * 255.
        APPEND i_objpack.
    Document information.
        CLEAR i_reclist.
    e-mail receivers.
        i_reclist-receiver = w_email.
        i_reclist-express = 'X'.
        i_reclist-rec_type = 'U'. "Internet address
        APPEND i_reclist.
    sending mail.
        CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data              = w_doc_chng
            put_in_outbox              = 'X'
          TABLES
            packing_list               = i_objpack
            object_header              = w_objhead
            contents_bin               = i_objbin
       contents_txt               = i_objtxt
            receivers                  = i_reclist
          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.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
    ENDFORM.                    "processing
    OTF to PDF
    ========================================================================
    Program1
    *& REPORT  zpmm_print1
    REPORT  zpmm_print1.
    DATA : gw_ssfcrescl TYPE ssfcrescl.
    DATA: gt_otf TYPE STANDARD TABLE OF itcoo ,
          gt_tline TYPE STANDARD TABLE OF tline,
          gv_len LIKE sood-objlen,
          gw_ssfctrlop TYPE ssfctrlop, "for CONTROL_PARAMETERS
          gw_ssfcompop TYPE ssfcompop. "for OUTPUT_OPTIONS
    DATA  fm_name TYPE rs38l_fnam.
    gw_ssfctrlop-getotf = 'X'.
    gw_ssfctrlop-no_dialog = 'X'.
    gw_ssfcompop-tdnoprev = 'X'.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname           = 'ZPMM_1'
      IMPORTING
        fm_name            = fm_name
      EXCEPTIONS
        no_form            = 1
        no_function_module = 2
        OTHERS             = 3.
    IF sy-subrc <> 0.
    <error handling>
    ENDIF.
    CALL FUNCTION fm_name
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
       control_parameters         = gw_ssfctrlop
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
       output_options             = gw_ssfcompop
       user_settings              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
       job_output_info            = gw_ssfcrescl
      JOB_OUTPUT_OPTIONS         =
    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.
    gt_otf[] = gw_ssfcrescl-otfdata[].
    CALL FUNCTION 'CONVERT_OTF'
      EXPORTING
        format                = 'PDF'
        max_linewidth         = 132
      IMPORTING
        bin_filesize          = gv_len
      TABLES
        otf                   = gt_otf
        lines                 = gt_tline
      EXCEPTIONS
        err_max_linewidth     = 1
        err_format            = 2
        err_conv_not_possible = 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.
    DATA : gv_filename LIKE rlgrap-filename VALUE 'C:\swet.pdf'.
    CALL FUNCTION 'DOWNLOAD'
      EXPORTING
        bin_filesize     = gv_len
        filename         = gv_filename
        filetype         = 'BIN'
        filetype_no_show = 'X'
      IMPORTING
        act_filename     = gv_filename
        filesize         = gv_len
       cancel           = ''
      TABLES
        data_tab         = gt_tline.
    Program 2
    *& REPORT  zpmm_print2
    REPORT  zpmm_print2.
    DATA : gw_ssfcrescl TYPE ssfcrescl.
    DATA: gt_otf TYPE STANDARD TABLE OF itcoo ,
          gt_tline TYPE STANDARD TABLE OF tline,
          gv_len LIKE sood-objlen,
          gw_ssfctrlop TYPE ssfctrlop, "for CONTROL_PARAMETERS
          gw_ssfcompop TYPE ssfcompop. "for OUTPUT_OPTIONS
    DATA  fm_name TYPE rs38l_fnam.
    gw_ssfctrlop-getotf = 'X'.
    gw_ssfctrlop-no_dialog = 'X'.
    gw_ssfcompop-tdnoprev = 'X'.
    CALL FUNCTION '/1BCDWB/SF00000041'
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
       control_parameters         = gw_ssfctrlop
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
       output_options             = gw_ssfcompop
       user_settings              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
       job_output_info            = gw_ssfcrescl
      JOB_OUTPUT_OPTIONS         =
    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.
    gt_otf[] = gw_ssfcrescl-otfdata[].
    CALL FUNCTION 'CONVERT_OTF'
      EXPORTING
        format                = 'PDF'
        max_linewidth         = 132
      IMPORTING
        bin_filesize          = gv_len
      TABLES
        otf                   = gt_otf
        lines                 = gt_tline
      EXCEPTIONS
        err_max_linewidth     = 1
        err_format            = 2
        err_conv_not_possible = 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.
    DATA : gv_filename LIKE rlgrap-filename VALUE 'C:\swet.pdf'.
    CALL FUNCTION 'DOWNLOAD'
      EXPORTING
        bin_filesize     = gv_len
        filename         = gv_filename
        filetype         = 'BIN'
        filetype_no_show = 'X'
      IMPORTING
        act_filename     = gv_filename
        filesize         = gv_len
       cancel           = ''
      TABLES
        data_tab         = gt_tline.
    =========================================================================
    Cheers
    Mohinder Singh Chauhan

  • How to stop Preview from changing resolution when converting JPEGs into PDF

    I am combining several JPEGs of identical resolution into a PDF using Preview, using either the sidebar or Automator action (http://discussions.apple.com/thread.jspa?messageID=11893607). For some reason, Preview changes the resolution of the PDF so viewing it at actual size (100% zoom) is bigger and pixellated. Example: a 960x600 JPEG becomes approx 1355x845. I figured it had something to do with dpi and indeed if I do the calculation and open up each JPEG in Photoshop and resize (without resampling, i.e. without changing pixels) to 101.5, the resulting PDF is pretty close to what it should be. (Calculation = 1355/960 * 72dpi.) But the slight resize and recompression lowers quality, plus it's a huge pain to go through all of that for every image.
    This issue is the same for simple saving a single image, the combining and use of Automator script has no impact.
    My question, in summary: how do I get Preview to save a JPEG as a PDF without changing its resolution?

    I have the same problem. I have a bunch of scanned documents (jpeg), and have been trying to make them a multi page document, instead of 20+ images.
    Using the Automator "New PDF from Images" preview action v1.0, supplied by Apple with Snow Leopard, and I am able to convert the images to a PDF.
    Using these images, the first page being 1032 x 1600 pixels, and telling the automator action to +size each page to fit image+, I convert them into a PDF.
    Converted PDF is viewable here.
    The original JPG is clearly higher resolution than the PDF, and the PDF loses the crispness of the original scan. Even using "+size each page to fit image+" does not make the page the original image size.
    What's happening here, and does anyone know a better way to convert Jpegs to PDF on the Mac - and keep the image resolution? I don't care about files sizes here, but keeping resolution and maintaining quality.

  • 93mb PM7 doc converts to 394mb PDF file

    last month i converted a 99mb pagemaker document to 5.97mb pdf.
    this month when i converted a 93mb document it resulted in a whopping 394mb pdf.
    i'm using the same distiller job options, style, etc.
    can anyone suggest what to change, check, kick?
    many thanks for any help!

    Here's the knowledge that was accumulated in old AdobeForum PM section about importing images and common issues.
    http://bigjohnd.org.uk/PM_FAQs/imported%20graphics.pdf (PDF, about 900kb - note that many of the links are now obsolete)
    Do NOT copy/paste graphics from other applications.
    The Windows clipboard will lose information required by PageMaker for high quality output.
    ONLY use File>Place to bring graphics into PageMaker
    When placing images in a PageMaker file, the following message appears:
    “The graphic in the linked file would occupy xxxxxxx bytes in the publication. Include the complete copy in the publication anyway?”
    The correct answer to this question is always "NO".
    (You can permanently avoid this popup in future docs by unchecking "store copy in publication" under Element -> Link Options with no publication open. You can do the same to avoid further prompts in pre-existing documents.)
    Do NOT use Insert Object or Paste Special
    Object Linking and Embedding is highly problematic in the Postscript environment (e.g. creating PDFs), severely restricts portability (other applications have to be present) and is really only present in PageMaker to gain Microsoft approval as a Windows application. It has been dispensed with in newer applications, e.g. InDesign.
    Other tips for reducing filesize
    If you have placed any *.EPS files, check the preview settings generated by PM - previews set to millions of colours at 300 dpi are very large.
    Under File -> Preferences -> General, select "Save Smaller" under Save options.
    Resave your publication using "Save as…" giving it a new name/location.
    Iechyd da! John
    19:56 22/10/2009 BST

  • Preserving filename when encrypting PDFs in Preview

    Dear All,
    When I encrypt PDFs using Preview in the normal way (Print -> PDF -> Set Security) everything works fine and the filename is preserved. However if I do this in Automator the filename gets given an alphanumeric name. I don't understand why this is. When I open that file, it asks for the password that I had originally set and it reveals the document.
    My workflow is like the following:
    Get Selected Finder Items (i am only selecting doc not docx)
    Convert Format of Word Documents (to pdfs)
    Encrypt PDF (Picked out from the Documet list)
    Move Finder Items (To desktop)
    Quit Application (Word in this case)
    All of the above seems to be just fine only that the filename gets converted to something else.
    On the system.log file I get the following entries (hope this helps!)
    Feb 1 12:07:10 Macintosh [0x0-0x300300].com.apple.Preview[17593]: Sun Feb 1 12:07:10 Macintosh.home Preview[17593] <Error>: CGCryptorProcessBytes: CCCryptorUpdate failed: error -4300.
    Feb 1 12:07:42: --- last message repeated 2 times ---
    Feb 1 12:09:38 Macintosh mdworker[17730]: (Error) Import: Importer force killed!
    Feb 1 12:09:38 Macintosh com.apple.launchd[1] (0x1004a0.mdworker[17730]): Exited with exit code: 1
    Feb 1 12:10:42 Macintosh /Applications/Microsoft Office 2008/Microsoft Word.app/Contents/MacOS/Microsoft Word[18057]: CPSGetProcessInfo(): This call is deprecated and should not be called anymore.
    Feb 1 12:10:42 Macintosh /Applications/Microsoft Office 2008/Microsoft Word.app/Contents/MacOS/Microsoft Word[18057]: CPSPBGetProcessInfo(): This call is deprecated and should not be called anymore.
    Feb 1 12:10:54 Macintosh /Applications/Automator.app/Contents/MacOS/Automator[4259]: setting security information: /Users/rjani5/Desktop/1zwCC1.pdf: Operation not permitted
    Many thanks in advance.
    Kind regards,
    Vnayak

    I played with the encrypt pdf action and it seems buggy. it can't replace the original (non-encrypted) pdf. instead it creates a temp file with a random alpha-numeric name and passes it to the next action. the way around it as i see it should be to first save the name of your word file in a text variable and after the encrypt action (or maybe after the move action) rename the resulting file. "rename finder items" doesn't seem to want to accept variables so you'll have to do the renaming via apple or shell script.

  • Problem in converting Smartform as PDF

    Hi experts,
    I am going to convert smartfrom as PDF.
    when i am going to execute the smartfrom first it is displaying print priview window ,if yes press print preview,smartfrom is dispalying.if i press back then one pop window will come to confirm PDF..if press yes..again it is showing print preview.if again i  press print preview option..then PDF will be genarted..
    but req is  the second Print preview window i have to avoid...so for this if deelete the code call function fmname after popup window( PDF conformation)..then PDF is not genaration...
    can anybody tell me what to do? as of now my code is
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    FORMNAME = 'ZQMIN_GC_SF'
    IMPORTING
    FM_NAME  = GS_FMNAME.
    CALL FUNCTION GS_FMNAME
    EXPORTING
    GV_INVNO = GV_INVNO.
    CALL FUNCTION 'POPUP_TO_CONFIRM'
    EXPORTING
    text_question               = 'Do You Want to Create Guarantee Certificate as PDF'
    IMPORTING
    answer                       = lv_ucomm.
    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 for PDF Conversion
    IF lv_ucomm EQ '1'.
    ls_control_param-getotf = 'X'.
    CALL FUNCTION GS_FMNAME
    EXPORTING
    ARCHIVE_INDEX       = toa_dara
    ARCHIVE_PARAMETERS  = arc_params
    CONTROL_PARAMETERS  = ls_control_param
    GV_INVNO = GV_INVNO
    IMPORTING
    document_output_info = lt_ssfcrespd
    job_output_info      = lt_job_output_info
    job_output_options   = lt_ssfcresop.
    lt_otf = lt_job_output_info-otfdata.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
      EXPORTING
      percentage = 0
      text       = 'Generating the PDF file'.
      CALL FUNCTION 'CONVERT_OTF'
      EXPORTING
      format                = 'PDF'
      max_linewidth         = 132
      IMPORTING
      bin_filesize          = lv_bin_filesize
      TABLES
       otf                   = lt_otf
       lines                 = lt_pdf_tab
      EXCEPTIONS
      err_max_linewidth     = 1
      err_format            = 2
      err_conv_not_possible = 3
      err_bad_otf           = 4
      OTHERS                = 5.
         IF sy-subrc  <> 0.
           MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3
         endif.
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    def_filename     = '*.pdf'
    mode             = 'O'
    title            = 'Down load file'
    IMPORTING
    filename         = lv_file
    EXCEPTIONS
    inv_winsys       = 1
    no_batch         = 2
    selection_cancel = 3
    selection_error  = 4
    OTHERS           = 5.
    lv_full_path = lv_file .
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
              bin_filesize            = lv_bin_filesize
              filename                = lv_full_path
              filetype                = 'BIN'
              confirm_overwrite       = 'X'
            TABLES
              data_tab                = lt_pdf_tab
            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  NE 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    Else.
    CALL FUNCTION GS_FMNAME
    EXPORTING
    GV_INVNO = GV_INVNO.
    endif.

    Hi Veena,
    Ur post is a little confusinng...From what i have gathered from your requirement, U want to supress the print preview of the samrtform.
    This could be done thru the control parameter - PREVIEW field, and NO DIALOG = 'X'.
    In case u dont want to issue a printout n just ahve the PDF downloadded, then  -
    *Setting for not issuing a printout and getting the OTF data
          ls_control_param-getotf = 'X'.
          ls_composer_param-tdnoprint = 'X'.
          ls_composer_param-tdimmed = ' ' .
    Let us know in case ur concerned issue is not pertaining to the above.
    Cheers,
    Varna

  • Difference b/w scanning TEXT vs. IMAGES (or printing to pdf in PREVIEW)?

    I have my scanner set to 300 dpi Color TIFF.
    Is this giving me something different when I scan a text document or when I scan a series of images? Do these then get /converted/ in some way that I am not understanding when I print to pdf in PREVIEW? I run File > Print > Pulldown to pdf and SaveAs pdf. Does this do something to the images that it doesn't do to the text or vice-versa?
    I have pdf's that are from 100 MB to 900 MB and I am trying to downsize them with this set of "quartz filters" (whatever that is).
    https://discussions.apple.com/thread/1292868?start=0&tstart=0
    But doing this on a text pdf seems to work great and doing it on a pdf of scans of images (scanned with the same settings) doesn't reduce the file size?! I have a 33 page pdf of images and it is 66 GB in size and my email pipe is choking on it.
    TIA

    Hi Jason.
    Interesting about the jpg's not degrading much upon compression. For some reason I have moved to TIFF due to recommendations on quality (?) and to png due to recommendations on bandwidth (?).
    Also thanks for 150 px.
    For me it is a little hard to switch back and forth between image settings and b + w settings but I will start keeping an eye on line art settings for b + w. Thanks again.
    Is it possible anyone knows of a way to downsample a color pdf of images that are TIFF and 300 dpi or to downsample a black and white pdf that is in the same settings but is in Color Currently?
    I'm running some quartz filter reduction routines on my largest pdf's (500 MB?!) and in some cases dropping it down to the 150 Average Compression is totally trashing these files. I can't understand what is going on or whether it is only doing it to the images and /why/ it is doing this to the images.
    I mean, I'm getting ready to move these off my mac hard drive and onto a windows hard drive just to downsize them so I can move along...
    Thanks.

  • Batch Sequences can't convert 10.000 pdf-files at one time

    I have Acrobat Professional 7.0 and I am running on Windows XP.
    To convert from PDF to EPS I am using Advanced - Batch processing - Batch Sequences.
    Every week I have around 5.000 PDF-files which have to convert to EPS without any problems.
    Sometimes I have more than 10.000 PDF-files. After converting to EPS I thought Acrobat Pro was finishing to convert all the PDF, but if I look at the number of EPS, it seems Acrobat Pro didn't convert them all and it didn't give any error message.
    This always happened when I have more than 10.000 PDF-files.I think Batch sequences cannot convert above 10.000 files at one time.
    Is this a known issue? Is there any solution?

    File > Export >  Export Multiple Files will work as well.
    You can choose your conversion settings in Edit > Preferences > General > Convert from PDF.

Maybe you are looking for