Sending a PDF to printer

Hi,
I have a requirement to send the PDF file to the printer/spool in my BADI implementation.
I have generated the pdf file using web service, got it converted to binary/byte stream. Now i want to send that to the printer for printing.
Please help me out with any function module / method for the same.
Thanks
Manish Mittal

Hi,
For smartform I was able to send it to the printer by settign the following:
    str_control_parameters-preview = ' '.
    str_output_options-tddest = l_outputdevice.
    str_output_options-tdnewid = 'X'.
    str_output_options-tdimmed = 'X'.
Arash

Similar Messages

  • When i send a PDF file to out side print, some of the things I aded dose not print. Is there a way I can "close" the PDF when i finish the work- so' every thing will be printed for sure

    when i send a PDF file to out side print, some of the things I aded dose not print.
    Is there a way I can "close" the PDF when i finish the work- so' every thing will be printed for sure

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback
    Or you can use your Apple ID to register with this site and go the Apple BugReporter. Supposedly you will get an answer if you submit feedback.
    Feedback via Apple Developer

  • When I try and send an e-mail via the PDF in print it gives a warning

    When I try and send an e-mail via the PDF in print it gives a warning saying :
    “” does not appear to be a valid e-mail address. Verify the address and try again.
    For whatever reason it is putting a "" in front of the address that I get from the address book.
    There is nothing in my previous recipients and if I copy and paste the info from the e-mail to another e-mail from mail directly the address is fine and it sends without and problems.
    Any ideas or web site I can visit to remove this ?
    Greg

    Quote :  So you start typing in the recipients name and it puts the name in quotes?
    Yes.
    As is normal, I type in a few letters and the auto fills in the name and the name is highlighted in blue as always.
    It does not happen if I send it from the SHARE dropdown.
    However in the SHARE I have to send all the pages.
    I have to use the FILE dropdown and then the PRINT, pick the first page (single) and then go to the MAIL PDF.
    That is the one I am having the issue with.
    Thanks for taking the time to help.
    Greg

  • How to send converted PDF direct to a printer

    Hi, I have a .net app that calls LiveCycle ES2 service in order to convert an EPS into a PDF. My question is does anyone know how once the PDF has been generated to have LiveCycle ES2 send it directly to a printer? Also, is there any way to set the printer settings appropriately (i.e. Simulate Overprinting) before sending it into the printer?

    If you don't have Output, the best way would possibly be to handle this in your application by receiving the pdf and then send it to the printer.

  • How can I get Acrobat Reader X to send my pdf to the printer?

    My pdf just looks at me while I push all of the buttons, file menus and keyboard shortcuts associated with printing and it does nothing. No dialog box, no nothing. All three of my printers work and i've tried them all. It just doesn't do anything. Any suggestions? I really need help here.

    From: Pat Willener [email protected]
    Sent: Monday, July 30, 2012 9:16 PM
    To: vinniereed
    Subject: How can I get Acrobat Reader X to send my pdf to the printer?
    Windows 7; Acrobat Reader 10.0; local and online.
    Thanks,
    Vinnie
    Re: How can I get Acrobat Reader X to send my pdf to the printer?
    created by Pat Willener <http://forums.adobe.com/people/pwillener>  in Adobe Reader - View the full discussion <http://forums.adobe.com/message/4588698#4588698

  • Can't print .indd booklet to PDF; opens print utility instead of Acrobat

    Thanks in advance for any help you can lend.
    I have a 16 page .indd document that I'm trying to export via "print booklet", using Adobe PDF 9.0 as my printer. Every time I try to print as a PDF, it goes through the process of compiling the images, loading fonts, etc., but then my printer utility opens (obviously giving an error) instead of Acrobat. When I just choose export as PDF I have no issues whatsoever; Acrobat opens and it saves properly. I need the document, though, in a saddle stitch imposed format for the printer.
    I'm on Mac OSX Lion 10.7.2
    Acrobat X version 10.1.3
    Adobe InDesign CS5.5
    The setting summary of the print dialogue is as follows:
    Print Preset: [Custom]
    Printer: Adobe PDF 9.0
    PPD: Adobe PDF 9.0
    PPD File: /var/folders/74/_l7wb86j7plcvb5kz2hwgmh00000gn/T//4f9757064d509
    Print Booklet
        Booklet Type: 2-up Saddle Stitch
        Auto Adjust Margins: On
        Top Margin: 0.2917 in
        Bottom Margin: 0.2917 in
        Left Margin: 0.2917 in
        Right Margin: 0.2917 in
        Space Between Pages: N/A
        Creep: 0 in
        Bleed Between Pages: N/A
        Signature Size: N/A
        Print Blank Printer Spreads: On
    General
        Copies: 1
        Collate: Off
        Reverse Order: Off
        Pages: All
        Sequence: All Pages
        Spreads: Off
        Print Master Pages: Off
        Print Layers: Visible & Printable Layers
        Print Non-printing Objects: Off
        Print Blank Pages: Off
        Print Visible Guides and Baseline Grids: Off
    Setup
        Paper Size: Tabloid Oversize
        Paper Width: 12 in
        Paper Height: 18 in
        Page Orientation: Landscape
        Paper Offset: 0 in
        Paper Gap: 0 in
        Transverse: Off
        Scaling: 100%
        Constrain Proportions: On
        Page Position: Centered
        Thumbnails: Off
        Tiling: Off
    Marks and Bleed
        Crop Marks: On
        Bleed Marks: Off
        Registration Marks: Off
        Color Bars: Off
        Page Information: Off
        Printer Mark Type: Default
        Crop Mark Weight: 0.25 pt
        Mark Offset from Page: 0.0833 in
        Use Document Bleed Settings: On
        Bleed Top: 0 in
        Bleed Bottom: 0 in
        Bleed Inside: 0 in
        Bleed Outside: 0 in
        Include Slug Area: Off
    Output
        Color: Composite CMYK
        Text As Black: Off
        Trapping: Off
        Flip: None
        Negative: Off
        Screening: Default
        Simulate Overprint: Off
        Frequency: 60
        Angle: 45
    Graphics
        Send Data: Optimized Subsampling
        Download: Complete
        Download PPD Fonts: On
        PostScript®: Level 2
        Data Format: ASCII
    Color Management
        Document Profile: U.S. Web Coated (SWOP) v2
        Color Handling: Let InDesign Determine Colors
        Printer Profile: Document CMYK - U.S. Web Coated (SWOP) v2
        Preserve CMYK Numbers: On
        Proof Profile: Document CMYK
        Simulate Paper Color: On
    Advanced
        Print &as Bitmap: On
        Bitmap Resolution: 300
        OPI Image Replacement: Off
        EPS: Off
        PDF: Off
        Bitmap Images: Off
        Transparency Flattener Preset: [Medium Resolution]
        Ignore Spread Overrides: Off
    I'm on Mac OSX Lion 10.7.2
    Acrobat X version 10.1.3

    I'm a Windows user, so I may not have this exactly right, but printing to PDF from Print Booklet on Mac is a two-step process -- first you printto Postscript file using the Acrobat 9 ppd, then you distill the file. I think you'll find more details at InDesignSecrets » Blog Archive » Acrobat’s Adobe PDF Printer Replaced in Snow Leopard

  • PDFs created from Save As PDF when Printing?

    I a m working in QuarkXPress 6.5, creating a business card using PMS colors and CMYK tifs. When I "Save As a PDF…" from the Print dialog box, I think everything is okay. Then I send it to a printing company and they double-check the image and say it is a RGB, not CMYK, And also, the fonts print as outlines, causing the characters to spread. They are using a PC & Adobe Acrobat to check the files. I need help — fast!!
    Mac Intel Duo Core Mini   Mac OS X (10.4.6)   printers are Epson CX4200 & HP 5000

    Hi JackieDesigns2,
    I always tell people to make the PDF with the end result in mind. If you're wanting to "print" the PDF, then make the PDF CMYK and not RGB. This goes for sending the resulting PDF to another printer or whatever.
    Here's a link to help you with the settings:
    http://www.aapg.org/advertise/AAPGPDFSettings.pdf
    The PDF X-1a specification forces all fonts to embedd, CMYK color space, no ICC profiles, no transparency and some other little goodies made for printing everyone can go by.
    I will say that while many applications have their own why to "make" a PDF, the best, most consistant method is to make a postscript file and distill the postscript file.
    Keep in mind that programs that write postscript, write (or speak) postscript with different dialect's so-to-speak. Some interpeters can understand the common dialect where it cannot understand others. This is why some app's are more problematic than others in making good postscript.
    Quark writes fairly clean postscript (or used to), distilling your files from Quark should work well.

  • Adobe Acrobat Pro 9.0.0 PDF docs print differently to different printers

    I have a a saved PDF file.(it was created in FileMaker).
    It looks perfect on screen.  It has a signature line____________ date_________ at the bottom of the page.
    When I send to our color printer, the signature line moves up to the middle of the page, which is where the text info ends.
    When I send to my black and white printer, the signature line remains at the bottom of the page where it belongs.
    I have also resent the same pdf to 2 other printers, 1 black and white, and 1 color, and it prints correctly.
    So basically, 3 out of 4 printers print correctly.
    I have contacted out IT department and was told it was an Adobe problem and not a color printer driver problem.
    I don't understand that part of it.
    Why would a pdf move information around based on the printer it is sent to?
    Any suggestions?
    Is is an Adobe setting for that color printer or is it the printers problem?
    Thanks in advance.

    I have now checked other people in my departments Adobe versions.
    I have Adobe Pro V9.0.0, and does not print correctly.
    1 person has Adobe XI Pro and prints correctly.
    1 person has Adobe Pro 9.5.5 and prints correctly.
    1 person has Adobe Pro V9.0.0 and does not print correctly
    I have now installed the available upgrades which only took me to 9.2.0 and still prints incorrectly.
    I wil try and find the other updates and see if that helps.
    thx.

  • How to export a CMYK document to a black/white or greyscale pdf for print?

    Hello, I have some knowledge in graphics design, but very little about color management.
    Currently I need to convert an instruction manual I made to black and white output only. We'd prefer to keep the indesign (.indd) and it's source images in their respective colors, but when exporting the document to a pdf my printer can use, we'd like to make that document a black and white pdf, as it's a black/white manual anyway. A little color conversion isn't to bad, as long as it's reasonable. all images that might give trouble are in greyscale anyway.
    So how do I export a full color indesign document to a black&white/greyscale pdf?
    ps:
    very newb question, but if you don't ask, you never learn:
    When do you use the colours "registration", and when do you use "paper"?

    I am also trying desperately to convert my CMYK colors into a grayscale so that when I print the document the printer only uses K (and C=0 M=0 Y=0)
    And I saw this bit of info you wrote a few months ago. I am working working with photoshop CS4. I tried to follow it but I found the following difficulties. Hope you don't mind me writing over your text.
    RGB image --> Grayscale
    New doc --> CMYK image,same size, empty
    Copy Grayscale and paste into the K-channel of the CMYK image. - (It only allows me to copy onto the CMYK layer but not onto the Black so I had to Drag layer onto channel delete the black layer and rename my new layer as black but then the document changes from CMYK to Multichannel and I have to re-change the mode again to CMYK but this already prints CMYK...)
    Place image in InDesign doc.
    Everything else (vector, text) by K-only.
    (...then when I placet that CMYK file into InDesign, and PDF it, on the output preview still separates the grayscale image into CMYK and when I print, the printer still prints CMYK instead of only K)
    So then I say OK so.. let's use the Multichannel document instead, which it actually seems to print on K only (while CMY=0), it only allows me to save as PSD. and when I try to place it on Indesign... I have a message saying that this file is using an unsupported colour space, only RGB,CMYK, lab, indexed, and bitmap are supported by the photoshop filter
    On top of that I have been asked for a Jpeg image in black and white which prints only K (while CMY=0). I have tried with channel mixed presets and even though the info on screen is now C=0, M=0, Y=0 and K= various values, when I send it to print. The printer still prints with all the CMYK colours
    Any advice would be so much appreciated!
    Thank you

  • CONVERTING SMARTFORM INTO PDF AND PRINTING DIRECTLY

    Hai guys,
       I got a problem.
    First the Smartform I created doesnt show all TABLE LINES(the rows coloumns)...
    so I have converted the SMART FORM to ADOBE FORM PROGRAMITICALY ...
    now in order to PRINT ..
    one has to first SAVE the FORM(adobe form) onto desktop(or whereever) and give it to PRINT...
    unfortunately my CLIENT doeasnt like the EXTRA STEP..
    so i best i can SAVE the file to a hardcoded location and
    OPEN it ..
    But then CAN I
    a)PRINT DIRECTLY without SAVING??
    b)ISSUE PRINT PROGRAMITICALY
    c)I learnt that a SMARTFORM can be GENERATED INTO PDF only at RUNNTIME(from SMARTFORMS>UTILITIES etc)..i briefly tried that..can I use that to GET THE PDF to PRINT when one gives PRINT from SPOOL REQUEST(sp01)
    hoping to give some quick points

    Hi,
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    or
    *& Report  ZSPOOLTOPDF                                                 *
    *& Converts spool request into PDF document and emails it to           *
    *& recipicant.                                                         *
    *& Execution                                                           *
    *& This program must be run as a background job in-order for the write *
    *& commands to create a Spool request rather than be displayed on      *
    *& screen                                                              *
    REPORT  zspooltopdf.
    PARAMETER: p_email1 LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_sender LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_delspl  AS CHECKBOX.
    *DATA DECLARATION
    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'.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Write statement to represent report output. Spool request is created
    if write statement is executed in background. This could also be an
    ALV grid which would be converted to PDF without any extra effort
      WRITE 'Hello World'.
      new-page.
      commit work.
      new-page print off.
      IF sy-batch EQ 'X'.
        PERFORM get_job_details.
        PERFORM obtain_spool_id.
    Alternative way could be to submit another program and store spool
    id into memory, will be stored in sy-spono.
    *submit ZSPOOLTOPDF2
           to sap-spool
           spool parameters   %_print
           archive parameters %_print
           without spool dynpro
           and return.
    Get spool id from program called above
    IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
        PERFORM convert_spool_to_pdf.
        PERFORM process_email.
        if p_delspl EQ 'X'.
          PERFORM delete_spool.
        endif.
        IF sy-sysid = c_dev.
          wait up to 5 seconds.
          SUBMIT rsconn01 WITH mode   = 'INT'
                          WITH output = 'X'
                          AND RETURN.
        ENDIF.
      ELSE.
        SKIP.
        WRITE:/ 'Program must be executed in background in-order for spool',
                'request to be created.'.
      ENDIF.
          FORM obtain_spool_id                                          *
    FORM obtain_spool_id.
      CHECK NOT ( gd_jobname IS INITIAL ).
      CHECK NOT ( gd_jobcount IS INITIAL ).
      SELECT * FROM  tbtcp
                     INTO TABLE it_tbtcp
                     WHERE      jobname     = gd_jobname
                     AND        jobcount    = gd_jobcount
                     AND        stepcount   = gd_stepcount
                     AND        listident   <> '0000000000'
                     ORDER BY   jobname
                                jobcount
                                stepcount.
      READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
      IF sy-subrc = 0.
        message s004(zdd) with gd_spool_nr.
        gd_spool_nr = wa_tbtcp-listident.
        MESSAGE s004(zdd) WITH gd_spool_nr.
      ELSE.
        MESSAGE s005(zdd).
      ENDIF.
    ENDFORM.
          FORM get_job_details                                          *
    FORM get_job_details.
    Get current job details
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
           IMPORTING
                eventid                 = gd_eventid
                eventparm               = gd_eventparm
                external_program_active = gd_external_program_active
                jobcount                = gd_jobcount
                jobname                 = gd_jobname
                stepcount               = gd_stepcount
           EXCEPTIONS
                no_runtime_info         = 1
                OTHERS                  = 2.
    ENDFORM.
          FORM convert_spool_to_pdf                                     *
    FORM convert_spool_to_pdf.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
                src_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.
    ENDFORM.
          FORM process_email                                            *
    FORM process_email.
      DESCRIBE TABLE it_mess_att LINES gd_recsize.
      CHECK gd_recsize > 0.
      PERFORM send_email USING p_email1.
    perform send_email using p_email2.
    ENDFORM.
          FORM send_email                                               *
    -->  p_email                                                       *
    FORM send_email USING p_email.
      CHECK NOT ( p_email IS INITIAL ).
      REFRESH it_mess_bod.
    Default subject matter
      gd_subject         = 'Subject'.
      gd_attachment_desc = 'Attachname'.
    CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
      it_mess_bod        = 'Message Body text, line 1'.
      APPEND it_mess_bod.
      it_mess_bod        = 'Message Body text, line 2...'.
      APPEND it_mess_bod.
    If no sender specified - default blank
      IF p_sender EQ space.
        gd_sender_type  = space.
      ELSE.
        gd_sender_type  = 'INT'.
      ENDIF.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_mess_bod
                                          it_mess_att
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'PDF'
                                          gd_attachment_name
                                          gd_attachment_desc
                                          p_sender
                                          gd_sender_type
                                 changing gd_error
                                          gd_reciever.
    ENDFORM.
          FORM delete_spool                                             *
    FORM delete_spool.
      DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
      ld_spool_nr = gd_spool_nr.
      CHECK p_delspl <> c_no.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
           EXPORTING
                spoolid = ld_spool_nr.
    ENDFORM.
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    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-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      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.
    Regards,
    Kumar

  • Printing to PDF adds printer margins

    I have an extremely frustrating problem. I have a large Word doc with a full bleed border. I need to convert it to PDF for printing, but when I try, I get "the footer/margins in Section X are outside the printable area of the page." If I hit "ok," the PDF is created with a white border all the way around (as if it were printed on a printer without bleed capabilities. This doesn't happen to me in Windows. I've looked at all the print settings and am at my wits end. I really don't want to have to re-edit the document in Windows (the formatting changes quite a bit, and it's a 200-pager). What do I have to do to get bleed edges in Acrobat?
    FYI - I'm using Word for Mac 2008, Leopard OS X 10.5.2 and Acrobat Pro 8.1.2 (part of CS3)

    Yes, it is a problem with Mail when either the message subject or the pdf document (or any other document type) contain accented characters, I believe.
    Until Apple fixes this (which worked in previous Leopard versions), I do not use accented characters when I want to send an attached document via Mail.
    HTH ;-))

  • "AcroRd32.exe  /t" print a PDF document ( print only, no need to open )

    I'm using the following command to print a PDF document:
    "D:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe" /t "D:\R104-20071025165656.pdf" "\\192.168.0.4\hp" "hp LaserJet 1000" "\\192.168.0.4\hp"
    Now it works fine! But I have more request:
    I want a command that only send the file to printer and no need to open the PDF file on local system.
    So anybody can help me?
    Thanks in advance!

    Dear Pedja,
    My program is a desktop application, no a web application. It's not the same as you. And hope the following codes can help you :)
    private void exportReportToPrinter(JasperPrint jasperPrint,int copyNum, String printerName, MediaSizeName mediaSizeName) throws Exception
    // create the print service exporter so that we can print to a named
    // printer
    JRPrintServiceExporter exporter = new JRPrintServiceExporter();
    // set the report to print
    exporter.setParameter(JRPrintServiceExporterParameter.JASPER_PRINT, jasperPrint);
    // tell the exporter to print 1 copy on A4 paper
    PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
    aset.add(new Copies(copyNum));
    aset.add(mediaSizeName);
    exporter.setParameter(JRPrintServiceExporterParameter.PRINT_REQUEST_ATTRIBUTE_SET, aset);
    // let the exporter know which printer we want to print on
    PrintServiceAttributeSet serviceAttributeSet = new HashPrintServiceAttributeSet();
    serviceAttributeSet.add(new PrinterName(printerName, null));
    exporter.setParameter(JRPrintServiceExporterParameter.PRINT_SERVICE_ATTRIBUTE_SET, serviceAttributeSet);
    // print it
    exporter.exportReport();
    Muiz

  • Can't export a pdf for printing?

    Hi,
    I'm working in Adobe Indesign CS6 and I can't export a print pdf, just interactive. When I choose print pdf nothing happens and the file size is ju 0 kb. What could I be doing wrong?? Can I export an interactive pdf and send that to the printing factory?
    Thanks in advance!

    Open the Background Tasks panel (Window > Utilities > Backround Tasks) to be sure you are waiting long enough for the export to finish. It's also convenient to check the View PDF After Export box in the export settings to have it open automatically when it's finished to let you know.
    If it still isn't actually producing a PDF, let us know.

  • Pdf file printing causes printer to reboot

    Hello!
    I got this nasty problem. I'm running OS X 10.9.5 on MBPro. I have HP LaserJet M1536dnf MFP (printer-scanner-fax-copier) connected over USB. All drivers and software installed and running ok. But. If I scan some document (with HP own utility) and save it to pdf file, through IRIS OCR to make it searchable, then open this pdf file with Preview, and it displays normally, then send it to the printer- it fails. The printer gets halted for about a minute, then it reboots. Like I power cycled it.
    The scanned file behaves ok. It's not abnormally large in size - a few MB usually. I can open it with Preview, Scroll, save, etc. And the printer behaves ok with other documents- text files, images, others. But whenever I send a scanned pdf to printer- it fails.
    I try to copy the file and print it being logged in under Administrator (I normally use non-admin user account for work). Same result. Below is extract from the printer error log.
    +++++++++++++++++++++++++++
    E [26/Sep/2014:17:41:35 +0500] [Job 349] Unable to send data to printer.
    E [26/Sep/2014:17:43:07 +0500] [Job 349] Unable to send data to printer.
    E [26/Sep/2014:17:44:39 +0500] AuthorizationCopyRights("system.print.admin") returned -60007 (The authorization was denied since no user interaction was possible.)
    E [26/Sep/2014:17:44:39 +0500] [Client 18] Returning HTTP Forbidden for CUPS-Get-Document (ipp://localhost/jobs/350) from localhost
    E [26/Sep/2014:17:44:39 +0500] AuthorizationCopyRights("system.print.admin") returned -60007 (The authorization was denied since no user interaction was possible.)
    E [26/Sep/2014:17:44:39 +0500] [Client 22] Returning HTTP Forbidden for CUPS-Get-Document (ipp://localhost/jobs/350) from localhost
    E [26/Sep/2014:17:44:52 +0500] [Job 350] Unable to send data to printer.
    E [26/Sep/2014:17:44:52 +0500] AuthorizationCopyRights("system.print.admin") returned -60007 (The authorization was denied since no user interaction was possible.)
    E [26/Sep/2014:17:44:52 +0500] [Client 22] Returning HTTP Forbidden for CUPS-Get-Document (ipp://localhost/jobs/350) from localhost
    E [26/Sep/2014:17:44:54 +0500] AuthorizationCopyRights("system.print.admin") returned -60007 (The authorization was denied since no user interaction was possible.)
    E [26/Sep/2014:17:44:54 +0500] [Client 19] Returning HTTP Forbidden for CUPS-Get-Document (ipp://localhost/jobs/350) from localhost
    E [28/Sep/2014:10:37:24 +0500] [Job 351] Unable to send data to printer.
    E [28/Sep/2014:10:48:44 +0500] [Job 352] Unable to send data to printer.
    E [28/Sep/2014:10:50:09 +0500] [Job 353] Unable to send data to printer.
    E [28/Sep/2014:10:51:38 +0500] [Job 353] Unable to send data to printer.
    E [28/Sep/2014:10:56:42 +0500] [Job 353] Stopping unresponsive job.
    +++++++++++++++++++++++++++
    I'd really appreciate any help. This thing is very annoying. Thanks!

    OK, I understand borderless printing is not supported on plain paper, but I don't think a hard crash is an acceptable result.
    I can live with the minimize margins turned on but that opens up another documented bug where the last line to line and a half are not printed on the last sheet in a print set, If you are only printing one sheet at a time than every sheet will be missing this print. Has HP come up with or even looked into why this is happening?
    Thanks,
    Don

  • AcroPDF in VB6 - Find text in PDF and print that page.

    Okay, so I'm certain that this question has been asked and answered a hundred times, but for some reason my googling skills are seriously failing me today...
    I have a legacy application built in VB6 that generates PDF documents of a particular form letter.  Each PDF contains all of the form letters that were printed on that particular day.  I actually have it all working rather decently, but something came up a little while ago that set me on a new programming obsession.  I want to enable the following functionality from my application:
    The user provides a text string that should be unique among all pages of all PDF's (customer ID).
    The application then finds the PDF that contains that text string and identifies which page number contains that text string.
    Finally, send only that page to the printer.
    Currently I can easily create, display and print the PDF from my application.  While the creation of the document is done through a third-party reporting system, all display and printing functions are basically handled using AcroPDF.dll.  Going through the available properties and methods for an AcroPDF object, I see that I can tell it to print only specified pages, which gives me the last part of my requirements, and I've got the user input part down pat.  I'm just totally stumped at finding a solution for "step 2".
    Any suggestions, ideas or comments would be greatly appreciated.  I'm kinda tired of banging my head against a wall.  Thank you for your time.

    If you are only using Adobe Reader, then that feature isn't available.
    If you have Adobe Acrobat, then you have a few options.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 26 Oct 2011 08:15:12 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: AcroPDF in VB6 - Find text in PDF and print that page.
    AcroPDF in VB6 - Find text in PDF and print that page.
    created by GHosaPhat<http://forums.adobe.com/people/GHosaPhat> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3991293#3991293

Maybe you are looking for

  • HT5262 My music in my iphone5 seems to skip if I want to play a song it goes to another song?

    My music in my iphone5 seems to skip if I want to play a song it goes to the next song or album?

  • Adobe flash player 10.2.159 needed for nexus 7

    i have a nexus 7 tablet .and to watch a tv show on the tablet it says this content requires adobe flash player 10.2.159 and when i hit download, it says it is not supported on this devise.what do i do?thank you.

  • Unable to connect to WPA after updates

    I'm trying to connect to a WPA2 AP with hidden ssid via wpa_supplicant (tried NM also, don't say that please). I have two machines: 1) rt61pci driver, wifi works, can connect to open APs, can't connect to WPA2 hidden ssid AP This machine used to be a

  • Structure of managed beans

    Hi All, I read a lot about managed beans and thought I understood how they are supposed to be used, but now I've seen some forum posts which makes me doubt whether what I'm doing is the correct way of doing things. I have a wizard-like sequence in my

  • Why?! My iPad crushes easily! N it's slow!

    The iPad crushes easily!! :( its iPad 1 with the latest iOS 5.01 but.. It crashes more than before! The apps would close suddenly n it would go bak to home menu ... N the iPad reacts super slow! Including the speed of typing n the time need to open a