Passing Default printer options to SF through printer program

DATA: control TYPE ssfctrlop,"Smart Forms: Control structure
          output_options TYPE ssfcompop,"Smart Composer (transfer) options
control-preview = 'X'."Preview the output of Smartform
control-no_dialog = 'X'."Don't show Dialog
output_options-tddest = 'LOCL'."Spool: Output device
output_options-tdnoprint = 'X'."No printing from print preview
Iam using above code to assign printer options default to smart forms such that user need not select the printer in the runt time.It works well but only when there is no user input required.When the user has to input data for Eg:user enter range for pernr,the program display information between the range.The above code is not working,I have to select the printer again.Can anyone tell me why?
Thanks.

DATA: control TYPE ssfctrlop,"Smart Forms: Control structure
          output_options TYPE ssfcompop,"Smart Composer (transfer) options
control-preview = 'X'."Preview the output of Smartform
control-no_dialog = 'X'."Don't show Dialog
output_options-tddest = 'LOCL'."Spool: Output device
output_options-tdnoprint = 'X'."No printing from print preview
Iam using above code to assign printer options default to smart forms such that user need not select the printer in the runt time.It works well but only when there is no user input required.When the user has to input data for Eg:user enter range for pernr,the program display information between the range.The above code is not working,I have to select the printer again.Can anyone tell me why?
Thanks.

Similar Messages

  • Opening Default TextEditor Independent of OS through Java Program

    Hi All,
    I need a small help, I have a requirement in my program. I need to open default Text Editor of OS through Java Program independent of OS.Now i am using java 5.0. Is this facility available in java 5.0 API or I have to use any third party API is required, if yes then please suggest�
    I apologize for my poor English...
    Thanks in Advance�
    RamaDevi B.

    The concept of a default text editor is not OS-independent. Linux doesn't have one. (Yes, a shell can have one via the EDITOR environment variable, but you can invoke a jar from a window manager's desktop without running a shell. Nor does mailcap really count, because that defines a text viewer rather than a text editor). As far as I'm aware, OS X doesn't have one. In fact, Windows is the only OS which I know to have one.

  • Print PDF with special print options of Canon IR printer

    Hi,
    We have a collection (db driven) of PDF documents that we want to send to our network printers. Some document need a hole punch of some other specific printeroptions of a Canon IR printer.
    The ideal solutions is a windows application where i could define virtual printers with their print options (pdf and printer specific).
    Eg:
    A user creates in a the windows app a virtual printer with name and print options
    - FastPunch: Printer IR5570 with hole punch
    - Fast: Printer IR5570
    - Color: IR C4080
    - ColorBooklet: IR C4080 with booklet options
    When the app starts its batch it will look at de db and find rows with an PDF and the name of a virtual printer. The documents are printed with specific printer preferences.
    Does someone has experience with such an solution? Tips?
    Someone wants to make this in vb.net (or c#)? What cost?
    gtx, Pierre

    I have downloaded the Acrobat SDK but I haven't really waded through the documentation or samples yet. I've only been working on this project for about 3 days now and not full time. This isn't the highest priority at work. I've worked a bit with the adobe reader control and that looks like it has some promise.
    I have two significant problems:
    1) I don't want the user to see any windows appear other than my console application. That way I have it working right now, Acrobat is required and appears minimized while the file is spooled and then is closed after spooling completes. Not so horrible but I'd like to get away from it if possible. To print the file right now I'm using the startprocess module or something (new version of shell I think). I'm starting the pdf with the verb "Printto" and that tells Acrobat to print to a printer that I specify.
    2)Biggest problem. I have no reliable way to change the number of copies or any other print settings. I am not willing to write a program that spools a single copy multiple times just to get multiple copies. Currently my program uses rundll to open a printer preferences dialog, and SendKeys to modify the print settings. This means that the computer cannot be used while automated printing is occurring.
    Right now the program's only saving grace is that it allows the user to be ignorant of the job settings so that all the user has to do is indicate an item number and quantity and walk away (hoping nothing changes the focus and derails SendKeys - but we know that kind of thing never happens in XP :P )

  • Dashboard print options - PDF / GoURL Action=print&Format=PDF

    The dashboard print option ("Printer Friendly") is nothing but a GoURL call with Action=print and Format=PDF (in the case of PDF of course). So far so obvious.
    But does anyone know if we can interact with this in a more detailled way? I.e.: changing the pdf to be built in landscape format? And does anyone know which engine is actually used to create the pdf?
    Cheers,
    Christi@n

    Hello Christi@n,
    Only one little thing about landscape...
    Edit dashboard and after pages, is a button 'PDF and print control', There you can set Size (A4) , orientation, header + footer...
    Regards
    Nicolae Ancuta

  • 9.3.3 Acrobat Reader: Slow to get printer options tab prior to printing

    9.3.3 needs to be fixed.  It takes forever to get the Windows printer tab.  Went back to 8.2; no problems with that platform.  Running a Brother HL-2040 local printer.  Downloaded the latest XP driver.  It wasn't that.

    You have a lot of good information in your post, but I am still unclear  what the issue is. Possibilities to check out:
    - Is your question regarding printing pdf files to ink printers? If so, have you tried selecting "Choose paper source by PDF page size" instead of manually choosing the page size? This work well for most print situations.
    - If your question was regarding printing to pdf from programs like Word or Excel, those programs' page setup settings would determine the paper size; you would not alter the setting during print. As long as you did not change the default page setup settings, the settings would be on a document-by-document basis.

  • Reader X - Right Click & Print not keeping defaulted "Fit" option.

    Using Adobe Reader X (version 10.1.2) I have a number of PDF files to print and would simply like to right-click and print. However, the pages are cut off on the sides. If I open each document individually and click print (with a default Size Options = Fit), the documents print ok. How can I change the "right-click & print" option to default with Size Options = Fit?

    I was having the same problem with a pdf printing system we've developed.
    We had been using the /n (new window) /t (print) parameters when calling Reader, but I thought it would be a nice change to simply emulate the right-click print with code to make it a little friendlier for upgrades.  While that mostly worked, I ran into a couple of issues.
    When the right-click print is done, it appears Reader uses the Reader defaults and doesn't look at your particular settings.  If, however, Reader is already open it does use your settings.  Occasionally, we received a corrupted or password protected file that we couldn't automatically process.  To solve this issue, I decided to print the pdfs serially and kill acrord32.exe after each print job.  Since I was killing after each print job, it never used my settings but alwasy the default Reader settings.
    In my case, I switched the code back to use the /n /t parameters and it is working fine again.
    So, in your case, if you leave Adobe Reader running, it might resolve your issue.
    The right-click print does /p /h behind the scenes.  Perhaps another option is to change the registry to use /n /t instead of /p /h.

  • How to Hit Request of Invoice NO In print Option Conditionaly

    Dear Friend
    i want display to my print option enable and disable according to condition.So i have done some code in my Sql Query.Print Option is display me enable and disable condiotanly correctly but where Print option is ebalbe to print ,When i press print Link then it does not display me invoice details in PDF File to print .My Invoice no do not Hit invoice no as request to Print.
    What Shou.ld i do to pass invoice no to print Invoice.
    My print code which i have use to print
    CASE
                  WHEN NVL(VID.CONTROLSUM, 0) = NVL(VID.SUM, 0)
                  THEN
                     '<a href=http://org:1545/reports/rwservlet?SERVER=rep_inv_ora10gias+REPORT=REP_667.RDF+DESTYPE=CACHE+DESFORMAT=PDF+USERID=UDS/UDS@PROD+P_SBU_CODE=0002+P_INVOICE_NO=INVOICE_NO>Print</a>'
    WHEN NVL (VID.CONTROLSUM, 0) <> NVL (VID.SUM, 0)
                  THEN
                     'PRINT'
               END
                  AS the_PRINT,
    Here Request of inoice No Does not Hit.
    *P_SBU_CODE=0002+P_INVOICE_NO=INVOICE_NO*My Code
    This is my View code which i use in my Sql Query Report.View Name *VW_INVOICE_DTL_REPORT*
    SELECT   am.INVOICE_NO,
               CASE WHEN am.INVOICE_TYPE = 'C' THEN 'BLUE' END the_color,
               CASE
                  WHEN am.CURR_CODE = 'GBP' THEN 'GREEN'
                  WHEN am.CURR_CODE = 'EUR' THEN 'purple'
               END the_gbp,
               am.INVOICE_NO AS invoice,
               am.INVOICE_TYPE,
               am.INVOICE_DATE,
               am.CONSULTANT_NAME,       
    DECODE (am.INVOICE_TYPE,
                       'I', (NVL (SUM (al.AMOUNT), 0)),
                       (NVL (SUM (al.AMOUNT), 0)))
                  AS SUM,
               um.user_name,
               cm.name,  
             NVL (am.inv_dtl_amt, 0) AS CONTROLSUM,
               CASE
                  WHEN NVL (am.inv_dtl_amt, 0) <> NVL (SUM (al.AMOUNT), 0)
                  THEN
                     'RED'
               END
                  the_sum, 
               Inv_in_apps (Am.Invoice_no) AS apps_FLG
        FROM   AR_INVOICE_MAS am,
                AR_INVOICE_DISTRIBUTION_DTL al
       WHERE       am.invoice_no = al.invoice_no(+)
    GROUP BY   am.ID,
               am.invoice_no,
               am.INVOICE_TYPE,
               am.INVOICE_DATE,
               am.inv_dtl_amtThis is my Report SQL Query
    select
    VID.*
                  CASE
                  WHEN NVL(VID.CONTROLSUM, 0) = NVL(VID.SUM, 0)
                  THEN
                     '<a href=http://org:1545/reports/rwservlet?SERVER=rep_inv_ora10gias+REPORT=REP_667.RDF+DESTYPE=CACHE+DESFORMAT=PDF+USERID=UDS/UDS@PROD+P_SBU_CODE=0002+P_INVOICE_NO=INVOICE_NO>Print</a>'
    WHEN NVL (VID.CONTROLSUM, 0) <> NVL (VID.SUM, 0)
                  THEN
                     'PRINT'
               END
                  AS the_PRINT,
    CASE VID.APPS_FLG
                  WHEN  'N'
                  THEN
                     '<a href="f?p=&APP_ID.:5:&SESSION.:MODIFY:&DEBUG.:5:P5_SBU_CODE,P5_INVOICE_NO:
                     || VID.SBU_CODE
                     || ','
                     || VID.INVOICE_NO
                     || ':"><img src="#IMAGE_PREFIX#edit.gif" alt="Edit"></a>'
                  WHEN 'Y'
                  THEN
                     '<img src="#IMAGE_PREFIX#edit.gif" alt="Invoice Transfered">'
               END
                  AS the_Edit,
               CASE VID.APPS_FLG
                  WHEN 'Y'
                  THEN
                     '<font color ="Gray"></b>Revenue</b></font>'
                  ELSE
                     '<a href="f?p=&APP_ID.:41:&SESSION.:MODIFY:&DEBUG.:41:P41_sbu_code,P41_Invoice_no:'
                     || VID.SBU_CODE
                     || ','
                     || VID.INVOICE_NO
                     || ':">
    <font color =GRAY><b>Revenue</b></font></a>'
               END
                  AS Revenue
    FROM VW_INVOICE_DTL_REPORT VIDHow to Do This ?
    Thans
    Edited by: Vedant on May 17, 2013 12:03 AM

    I can, but I am usually not using my mbp at home and I wouldn't like to carry a keyboard around with me just to hit a right alt key. I am sure there's a solution for this...
    Thank you

  • Epson R1800 printer options missing when using AEBS wireless printing- WHY?

    I have run into a very odd problem with my Epson R1800 printer. When I install the printer for directly connecting via USB or FireWire the version 6.12 print driver appears with all of the options. When I install the same printer when connected through my AirPort extreme base station the print driver is lacking most of the adjustment features.
    Fire wire and USB contain the following menu items in the drop down print dialog"
    Print Settings (with basic and advanced tabs)
    Roll Paper Option
    Expansion
    Extension Settings
    The AEBS printer options only contains one printer specific selection called:
    Printer Features
    which has a very limited selection of options, an no options which allow me to turn off color management.
    Some additional information
    - I installed this same printer driver on one laptop back in the days of 10.5.2 and I was able to install a AEBS printer which allows all of the options. On that same computer if I now install a new printer with the same driver those extra options are missing.
    - I just upgraded a second laptop to Leopard today and went straight to 10.5.3 and the wireless driver for this printer only contains the limited menu items.
    - I am certain that I am using the Epson drivers and not the Gutenprint drivers. Please do not suggest the Gutenprint drivers, they do not handle color management properly.

    This is a real problem for this printer OS combination... I believe due to the crappy Epson driver. I searched the internet and found lots and lots of people having a similar problem. When I contacted Epson today they admitted there was a driver problem, but the tech told me they had no plans to improve the driver 'because the R1800 is a discontinued model'! How's that for support!
    Anyway...several people have had fairly decent luck removing the printer and all Epson software then re-installing it. When the 'correct' driver is installed it will say something like "Epson R1800 (sp) 1". My problem is there is no way to profile this printer and have the driver work as it should for proofing and color management. I know that doesn't help much, but if you google "Epson R1800 problems with Leopard" you'll see what I mean.

  • No printing options on epson r200

    i am unable to select any printing options
    such as paper type, print quality or anything
    where are my options?
    the Epson Stylus Photo R200
    is currently attached through usb on the airport
    but the situation is unchanged when directly connected
    i tried with both a MBP and Powerbook
    downloaded and installed Epson drivers as well as gimp
    the printer always worked fine when hooked up to my old PC
    Thanks for the help

    Hi Av,
    First, go to System Preferences > Print & Fax. You should see the Epson listed. Highlight it and click the minus button below the list of printers. This will remove the printer from the list.
    Next, click the plus button. OS X should automatically find the printer if it is connected to the network and turned on. At the bottom of the window, there will be a drop down menu that lists the driver OS X plans to use for the printer. Make sure it is the correct driver for the printer and not simply "Generic PS."
    Since you tried the driver on multiple Macs, and had the same problem both times, it is possible that Epson's driver is to blame. If the above solution does not work, I would suggest you contact Epson directly. If you follow the above procedure and, in the window where the driver is listed, select "Generic PS" instead, you may get some basic printing options. (Assuming your printer supports PostScript). This will not give you all the available options for your printer, but it will give you at least some basic ones.

  • Print Options Vanish in Leopard

    Hello!
    Small studio with 1 printer - when accessing via Ethernet in Tiger, all print options are available (paper, print quality etc.),
    but with Leopard, those options aren't available - even after downloading the specific driver for that machine.
    I've noticed this at work and at home and with friend and colleagues. It seems once Leopard is up and running, your print options aren't.
    Any clues?

    Think I've figured it;
    by deleting the failed attempt and then adding a new printer in System Preferences,
    except, choosing the specific printer from Leopard's list rather than the default one
    that comes up (for the self-same printer).
    But confusing, but works.

  • Where's the "N-up" printing option?

    I need to print out photo's for reference in my job on a daily basis, and could print up to 40 pics per day. The 'N-up' option was the best printing option as I could print out 6 pics /pg.
    Then I bought the new iLife thinking it would be better - but the print options are awful. I cannot save templates and every time I want to print I have to choose "contact", then options, then choose 2 columns, then finally the print button. Which still only gives me four pics on a page with unwanted writing. Oh if I wanted to change the the would add another step in the process.
    All in all this stuped slow version has slowed my work down by a few hours and sometimes I have to bring the work home to finish up.
    Please help!!!!

    select the photos you want to print, click print and select the printer, paper size AND photo size and you will get n-up printing which will show in the preview window - 2x3 gives you 10 up - 3x5 gives you 4 up, etc
    Larry Nebel

  • Envy 5530 two sided printing option disappeared when updated to Win 8.1

    When I updated my drivers after installing Win 8.1, my two-sided print option disappeared on the print dialouge window. It's not hidden, it is not there. The option is still there and works on my Win 7 computer. I can also copy two-sided documents using the touchpad on the printer.

    Hi Cvj17,
    Welcome to Lenovo Community!
    As per your query we understood that you are looking driver for Unknown device. In some system after installing all the drivers also the unknown device will show in Lenovo Solution Center, hence confirm it once in device manage is there any Unknown adapter is showing in that.
    Please install Lenovo System Update application and run it to verify the driver automatically.
    Unknown Device issue.
    Hope this helps. 
    Best regards,
    Hemanth Kumar
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Smartforms : Print options selections

    Hi Experts,
        while executing a   smartform , a pop up window  of print options will appear where in we select print or print preview.
        when we select Print Preview , the preview of the form appears. now the problem is while in the print preview, if I select
        Print , the Pop up window of print options is not appearing.
        How to bring the pop up of print options while in the print preview mode if print is selected.
    Thanks in advance.

    Hi
    When you select print preview you will get a popup and you can select the print preview and then you can see the output.If you click on the print then the printer should be configured to that output type also. So you check the box New Spool Request and click on print. then you go to SP02 and see the output in pdf format.Also check wheather any changes have been done in the smartform
    Regards
    Srinath

  • Will iLife app prints work on a windows printer?

    I want to know if it can because ive had my printer a while now (HP) and we haven't ever used it on a mac. I cant find it by scanning for it but im sure i can print off work on a windows printer.. SURELY!
    Or do I have to buy a apple printer?
    Mostly for school work

    Hi there,
    Your HP Printer should work no problem with your Mac. First of all, connect your printer & make sure you have the latest sofftware installed by launching Software Update from the Apple Menu.
    Launch System Preferences & choose the Print option. If your printer doesn't show, click on the + button which should then find it.
    Hope that helps.
    Ben

  • How to give input parameter to application form through se38 program?

    Hi all,
    How can i call my application form from within my se38 program?
    is there any way then please tell me?
    and how to pass input parameters to application form through se38 program?
    Thanks and Regards,
    Arpita.

    Hi you can pass the parameter using application program. You can pass the value using the interface of the function module given below.
    parameter p_matnr type  mara-matnr.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = gc_smart_form 'Name of ur smart form
          variant            = ' '
          direct_call        = ' '
        IMPORTING
          fm_name            = lv_fmname
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc NE  0.
        MESSAGE ID sy-msgid TYPE 'E'
                          NUMBER sy-msgno
                            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    CALL FUNCTION lv_fmname
    EXPORTING
      control_parameters         = gs_ssfctrlop
      output_options             = gs_ssfcompop
      user_settings              = ' X'
    **---This is where u can pass ur paramter to the smart form*
      matnr                           = p_matnr.
    called from batch job
    EXCEPTIONS
    formatting_error           = 1
    internal_error             = 2
    send_error                 = 3
    user_canceled              = 4
    OTHERS                     = 5            .
    Thanx and hope this would help.
    Regards,
    Aruna
    Edited by: Aruna Kumari Chekka on Dec 12, 2008 6:24 AM
    Edited by: Aruna Kumari Chekka on Dec 12, 2008 6:29 AM

Maybe you are looking for

  • Installing Windows 7 on Ideapad U430 Touch

    I just recently got a Lenovo Ideapad U430, and I already don't like Windows 8, which came with it. I went to install Win7 x64 Professional today. I did what I usually do whenever I reinstall Windows: I downloaded the ISO from the Microsoft website, I

  • Problem with latest z620 bios

    Hmm, i'm always saddened just a little when i hear that a BIOS update seems to be problematic. Sounds like HP quality control w.r.t. BIOS testing slips yet again. All i can suggest is clear NVRAM and try again, if your lucky, then it should sort itse

  • Can my mac be better?

    Well, I am starting to have some issues with the power of my macbook pro. It has been serviced it has had a full ram upgrade and a bigger faster HD put into it. But it is not powerful enough for the tasks i need it to do. I cant afford to go out and

  • Quick dock question---Using cmd-tab

    Hello, I am very used to using alt-tab to cycle through all the windows in XP. In XP it would cycle through all the open windows regardless if they were maximized, minimized, etc... In OS X if you minimize a window cmd-tab wont bring it out from the

  • EVGET in BPC 7 MS and SQL 2008

    Have there been any change in how evget works in BPC 7 MS with SQL 2008 compared with BPC 5,1 and SQL 2005? When I use EVGET in BPC 5.1 and SQL 2005 I always get RFN# when the cell with EVGET isn't updated. But now when I'm trying BPC 7 and SQL 2008