How to pass a smartforms to a local printer for printing

I have converted my smartforms to PDF.
I need to pass the PDF to a local printer for printing the PDF.
How can I achieve that?
Any tips in this issue will be of great help.
Thanks
Surkumar

Hi Surkumar,
plz go through this link
To send the output thro
Thanks
Mohinder

Similar Messages

  • How to find total recs in a local table for a particular condition

    Hi,
    How to find total recs in a local table for a particular condition?
    Thanks,
    CD

    Well, you may want to try this as well, and compare to the LOOP way.  Not sure what kind of overhead you may get doing this way. Here ITAB is our main internal table, and ITAB_TMP is a copy of it.  Again I think there may be some overhead in doing the copy.  Next, delete out all records which are the reverse of your condition.  Then whatever is left is the rows that you want to count.  Then simply do a LINES operator on the internal table, passing the number of lines to LV_COUNT.
    data: itab type table of ttab.
    data: itab_tmp type table of ttab.
    itab_tmp[] = itab[].
    delete table itab_tmp where fld1 <> 'A'.
    lv_count = lines( itab_tmp ).
    Regards,
    Rich Heilman

  • How to pass apex item value into custom xml for chart or guage?

    Re-opening the old thread : Re: How to pass apex item value into custom xml for chart or guage?
    Which was not answered.
    Roel - Thanks. Its working - but in a semi quotes in the custom XML
    <pointers>
    <pointer value= '&P5_RUNNING_TOTAL.'
    <label enabled="true">
    <position placement_mode="ByPoint" x="50" y="15" />
    <format>{%Value}{numDecimals:1}</format>
    <background enabled="false" />
    </label>
    </pointer>
    </pointers>This question was helpful for us to resolving one recent thread : AnyChart - set Dial axis intervals dynamically?
    (Re: AnyChart - set Dial axis intervals dynamically?
    Edited by: P.Ranish on Dec 13, 2012 6:23 AM

    P.Ranish wrote:
    Is there any update for this question ???
    Edited by: P.Ranish on Dec 13, 2012 3:36 AMNo, And there won't be in the future.
    Please stop posting followup's to old threads, if you have a real problem please search the forum first and post a new question with all information
    Roel wrote:
    Try using &P5_RUNNING_TOTAL. or #P5_RUNNING_TOTAL#Just to make it clear - this will only work if page is reloaded after setting the item values dynamically via AJAX

  • How to pass a value to the export parameter for a method (public instance)?

    Hello,
      I am trying ABAP OO newly. How to pass a value to the export parameter for a method (public instance) called in a report? This *export parameter has a reference type of structure.
    Thanks in advance,
    Ranjini

    Hi,
    "class definition
    class lcl... definition.
      public section.
        method m1 imporitng par type ref to data.  "now you can pass any reference to the method, but this way you have to maintain this reference dynamically inside the method (you can't be sure what that reference is really "pointing" at)
    endclass.
    "in program
    data: r_lcl type ref to lcl...
    create object r_lcl.
    call method r_lcl
      exporting
         par    =  "pass any reference variable here
    Regards
    Marcin

  • I'm a brand new Mac user. I want to send photos from Iphoto to my local store for printing, like I can do in Picasa. I can't find that option in Iphoto.

    I'm a brand new Mac user. I want to send photos from Iphoto to my local store for printing, like I can do in Picasa. I can't find that option in Iphoto. I do not want to order them through Itunes.

    I have not idea how you do it with Picasa but with iPhoto you either export the photos to a desktop folder and upload from there or burns that folder to CD - or from the upload window use the media browser in the lower left hand corner of the upload windows - media ==> photos ==> iPhoto
    For pictures see -  https://discussions.apple.com/thread/3547767?tstart=0
    LN

  • I have justed upgraded CS2 to CS5. How do I set artboard crop or trim marks for printing?

    I have justed upgraded CS2 to CS5. How do I set artboard crop or trim marks for printing?  It was under the "OBJECTS" menu in CS2, but I can't find it in CS5.

    it actually works the same way but better you don't see it that way but with perhaps more experience you might catch on and say "oh now I see that' all I have to do.
    Multiple artboards, which you did not have in CS 2 , changes the equation.
    When you open a new document you can set up a gangup in the new document dialog then say for a business card then do one business card in the first one.
    Then copy the art and text of that first one and in one command paste that art in all of the artboards with one command, you can then make another artboard that encompasses all the artboards and you now have a gang up say six up you can now print all a once as a gang up or print a range of the artboards or specific artboards.
    As a matter of fact now that you can paste on all artboards with one command AI CS 5 actually has a step and repeat feature that works verticaly and horizontally at the same time. And an improved version is easily had.
    Also since you probably know how many you need of this first artboard then you can simply make one rectangle for for the first artboard and give it a crop area effect and when you do your copy include the rectangle and then paste on all artboards and there you are
    look at the video, see how cool. less complicated not more complicated. And as other users explore this function I bet they come up with even better ideas.
    http://mysite.verizon.net/wzphoto/Artboards.mov
    I am going to make one adjustment here instead of doing a command c to copy the first artboard it would be better to do a command x to cut the first one since the command paste on all artboard does exactly that. So if you do a command c and a command option shift v then you have two rectangles and art and crop marks pasted on top of each other. Probably won't do any harm but might be confusing in the layers panel.

  • Using LP01 printer for printing smartforms in BSP

    Hi fellow BSPers,
    I have developped a BSP application in CRM which allows users to have a consolidated view on the data in an order.
    Also there is a button which can print a smartform of the order using the PostProcessingFramework of CRM.
    It works great but...
    For printing the user needs to use a printer which is defined in the system.
    As expected most users would like to print on the printer they defined in windows as their default printer. From SAPGUI this can be done using printer LP01 which sends the spool to the client printer deamon.
    Does anybody know how I can use this deamon via BSP?

    I hit similar requirements in the past.  You can't use LP01 because it needs the Gui Framework to communicate with the frontend of course. 
    I like the solution of converting the SmartForm (or Sapscript or Adobe Form for that matter) to PDF.  I then display the PDF out of the BSP application (there are several weblogs on different techniques for displaying PDF and Non-HTML documents - I like the ICM Cached Response and IFrame approach).  The user then can print the PDF with their local printers (or email the document, or save it, etc).  This give considerable flexibility.

  • How to find out the driver program and script for print preview for PO

    Hi All,
    We are getting some text output on the print preview of a purchase order.
    How can we determine the driver script and the corresponding print program for this.
    Can you please guide on this.
    Thanks in advance.
    Regards,
    Sanjeet

    Hi,
    check with  below table
    TNAPR   ---  Processing programs for output
    and NACE Transaction code
    NACE  --  out types
    Regards,
    Madhu

  • How to set up postscript Printer for printing graphics

    We have a requirement to print Structured graphics. I found out that we need to set up a postscript printer for it. After debugging I found out that the Device Type name should be either GRAPHICS or POSTGR or ZGRAP.
    How can we set up such a printer?
    Thanks in adv.

    Hi,
    The Device Type names that you have provided are not listed in the SAP Central Note for Printers/device Types
    https://service.sap.com/sap/support/notes/8928
    However, you can again re-check this note with your printer model and check what suitable device types should be used. As you will find inthis note:
    "Device type definitions are stored completely in tables and can be individually adapted, modified or enhanced. If SAP performs such an adjustment for a customer, it constitutes a consulting service, and is generally charged seperately"
    SAP has now released the SAP Printer Vendor Program - https://service.sap.com/sap/support/notes/1130927, printer manufacturers can develop and release device types for their printers.
    https://service.sap.com/sap/support/notes/1100779 contains a list of all participants
    Information about the support for new printer models is contained in the "Printer Vendor Wizard Note" of the relevant manufacturer. A complete list of all "Printer Vendor Wizard Notes" is available in Note 1097990. If your printer model is not listed in one of these "Printer Vendor Wizard Notes", proceed as described in Note 1103826.
    - Regards, Dibya

  • How to convert editable pdf into non-editable version for printing option only without setting up passwards?

    I am using IOS system with pdf preview functions. I try to convert editable pdf file into read only for others to print without access to edit the file.
    The only way I can do now is to convert to jpeg for each page and convert back to pdf then combine all pages together. It takes a lot of time in this case.
    Can anyone tell me how to do the conversion without setting up passwards for protection?
    Thank you very much!

    First of all, don't use all CAPS as it means shouting.
    Second, your question is completely off-topic for this forum which discusses Microsoft Office Outlook.
    Third, this is a peer-to-peer forum, don't count on anyone calling you. If you want dedicated support from Microsoft, contact Microsoft Support directly.
    Anyway, you can insert the picture in to OneNote and then have OneNote convert it into text. This usually isn't very accurate for scans though.
    A better solution would be to use a application which is dedicated to OCR. There are various out there. I suggest you try their demo versions to find out which works best with your handwriting.
    Robert Sparnaaij
    [MVP-Outlook]
    Outlook guides and more: HowTo-Outlook.com
    Outlook Quick Tips: MSOutlook.info

  • How to pass the context from Portal to Database for fine grain access?

    Hi,
    I am developing an omniportlet and I need to pass on the context of the logged in user to the database so that when the user tries to access data in the omniportlet, he can see data relevant to him only. Does anyone know how to do that?
    I have set up a light weight user scott and also has a schema in the database by the same name (scott)..
    what I am trying is when the user logs in as scott in the portal site and runs an omniportlet, he should be dynamically be logged in to scott the schema so that the data visible to him can be restricted. Same should happen for other users as well.
    Does anyone know in which table in the PORTAL schema is this connection information stored, so that I can override it using some API..?
    Thanks,
    Abhi

    I had tried sending the user_name in the sql and that works fine. but my requirement is that the user should login to his schema and only his schema directly and automatically.. such that even if an omniportlet is created using some default schema, when user logs in he can access only the schema meant for him..
    e.g. While running the omniportlet when logged-in as user scott, he should be logged-in to scott schema in the database, so that the fine grain access can be enabled ..
    Edited by: user6386347 on Mar 12, 2009 12:15 PM

  • How do I keep a rented movie locally stored for the authorised period?

    Okay, so just bought an Apple TV for the first time, so this is all new to me! So far, most of it makes sense, but I'm wondering about how the unit manages downloaded content.
    It seems to me that you rent a movie, Apple TV starts downloading it and makes it available to play. I live in Australia, so I have 30 days to start watching it, and once I've started, I have 48hrs to finish watching it.
    So, I downloaded our first movie the other night. We watched half of it before sending the kids to bed (school night) and watching the rest of it ourselves. The next day we went to start watching it again, but from about halfway through so the kids could see the end of it. All was fine, except I noticed that Apple TV was downloading it again.
    This puzzled me - that is, it didn't seem to make sense - I assumed the onboard 8GB would be used to store it for 48 hours from when we started playing it? So, is there some way to achieve this? For eg, if I set Apple TV to never sleep prior to renting a movie, then rent a movie, will it keep it stored for the authorised period because it hasn't gone to sleep?
    If not, is there some way to achieve this outcome? I just don't see the point of using up a data allowance by downloading the exact same thing - even if I change my settings to standard definition it's still a waste of data.
    I did do a few online searches of various FAQs, but couldn't find the answer to this question, so hopefully someone can shed some light on this for me or refer me to a good source of info.
    Thanks!

    Joe Felice wrote:
    Thanks Brian. I realise the OS controls memory management, but was wondering what "rules" it used to manage it and whether any of the user settings (such as sleep) would affect it?
    So, if there's nothing the user can do to impact this, would it make more "sense" to rent the movie on iTunes on your Mac and then watch it on the Apple TV? Would that negate the need to re-download the movie each time you watched it? And, if so, what are the disadvantages of this approach?
    Or should I just forget the whole thing, increase my data allowance, and not worry about it?
    Still, it'd be nice not to have to redownload it if that was inconvenient for some reason.
    Simple things like watching a movie preview or playing content from local iTunes will flush the buffered rental from ATV 2/3 - they only have 8GB of solid state storage and if you rent more than 1 HD movie (4GB or so) they will be competing for download/buffering space.
    The only disadvanatges of renting in iTunes are:
    - need for itunes to be running to play
    - some titles available in HD on ATV are only in SD via iTunes!
    AC

  • How to pass parameter (tray name) to event handler for Trays?

    Hi,
         I've several UI tray elements in my view and all these elements are associated with the action onToggleTrays.
         I want to capture the name of the Tray and state of tray(expanded/collapsed).
         For this when I try to add parameters to this event handler method, through IWD ParameterPassing, I can add only the expanded property. I'm not able to add the UI element (tray name).
         Can you please suggest how to add/pass tray name and tray state to the event handler method?
    Regards
    Sagar Nanda

    create a parameter for the action OnToggle say "id".
    In wdDoModifyView get the reference of tray element and map its id to this parameter.
    IWDTray tray=(IWDTray)view.getElement("Tray1");
    tray.mappingOfOnToggle().addParameter("id",tray.getId());
    IWDTray tray2=(IWDTray)view.getElement("Tray2");
    tray2.mappingOfOnToggle().addParameter("id",tray2.getId());
    Hope it helps.

  • How to pass the condition vallues in bapi BAPI_PO_CREATE1 for items as well

    HI,
    where to pass the condition value table in bapi BAPI_PO_CREATE1 item level as well as header level
    Like Frieght charges,discounts, basic price ,VAT,CST etc.
    Is there any BAPI for GR tcode MIGO.
    Pl send along with simple examples .
    Your answeres will be rewarded.

    Pass the condition value to the following parameters.
      POCONDHEADER                 =
      POCONDHEADERX                =
      POCOND                       =
      POCONDX                      =
    For GR u case use the following BAPI.
    GMCODE Table T158G - 01 - MB01 - Goods Receipts for Purchase Order
                         02 - MB31 - Goods Receipts for Prod Order
                         03 - MB1A - Goods Issue
                         04 - MB1B - Transfer Posting
                         05 - MB1C - Enter Other Goods Receipt
                         06 - MB11
    Domain: KZBEW - Movement Indicator
         Goods movement w/o reference
    B - Goods movement for purchase order
    F - Goods movement for production order
    L - Goods movement for delivery note
    K - Goods movement for kanban requirement (WM - internal only)
    O - Subsequent adjustment of "material-provided" consumption
    W - Subsequent adjustment of proportion/product unit material
             call function 'BAPI_GOODSMVT_CREATE'
               exporting
                   goodsmvt_header             = gmhead
                   goodsmvt_code               = gmcode
                 *   TESTRUN                     = ' '
              IMPORTING
                  goodsmvt_headret            = mthead
             *   MATERIALDOCUMENT            =
      MATDOCUMENTYEAR             =
               tables
                 goodsmvt_item               = itab
      GOODSMVT_SERIALNUMBER       =
                return                      = errmsg.

  • How to pass the low value and high  values for select options.

    Hi,
           In selection screen I want to display the first date, last date of this month as a default value in low and high fields.  Please exaplain me how.
    Thanks and Regards,
    Surya

    hI,
         Very thanks ,
            I  did it what u said now. but those contents does not displaying on the screen.
    In this order I write the code. Please explain me
    SELECT-OPTIONS s_date FOR likp-wadat_ist.
    DATA  BEGIN TYPE wadat_ist.
    DATA LAST TYPE wadat_ist.
    initialization.
    s_date-low = BEGIN.
    s_date-high = LAST.
    at selection-screen output.
    CALL FUNCTION 'HRWPC_BL_DATES_MONTH_INTERVAL'
      EXPORTING
        datum                =  SY-DATUM
        month_pst            =  '0'
        month_ftr            =   '0'
    IMPORTING
       BEGDA                =  BEGIN
       ENDDA                =   LAST
    EXCEPTIONS
      INVALID_VALUES       = 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.

Maybe you are looking for