How to get rid Print Dialog in Smartforms

Hi,
We are using ECC 6.0. I have the following code for calling smartforms:
DATA: ltp_control_parameters TYPE ssfctrlop,
        ltp_output_options TYPE ssfcompop.
  ltp_control_parameters-no_dialog = 'X'.
  ltp_control_parameters-preview = 'X'.
  ltp_control_parameters-preview = 'LOCL'.
  ltp_output_options-tddest = 'LOCL'.
The problem is that the print dialog appears and asking for output device. How to get rid this?
thanks,
sid

hi all,
thank you for replying. i got rid of the print dialog box by filling in defaults->spool control->output device in the user profile->own data. And i just set the following in my code:
  ltp_control_parameters-no_dialog = 'X'.
  ltp_control_parameters-preview = 'X'.
And also previously i mistakenly reset ltp_control_parameters-preview to 'LOCL' (refer to my previous post).
regards,
sid

Similar Messages

  • How to get Acrobat print dialog in Safari

    I am asking this question here as well as in the Win forum as I do not know if it is a Win ony issue:
    When IE or Firefox is displaying a .pdf the browser print button, file/print and ctrl-p take you to the Acrobat Reader print dialog and the .pdf itself is previewed and printed. In Safari Win they take you to the browser print dialog and a blank page is previwed and printed. Given the futility of telling users to use the Acrobat print button instead of the browser print button or File/Print, is there anything I can do with the .pdf to get this to work under Safari?

    hi all,
    thank you for replying. i got rid of the print dialog box by filling in defaults->spool control->output device in the user profile->own data. And i just set the following in my code:
      ltp_control_parameters-no_dialog = 'X'.
      ltp_control_parameters-preview = 'X'.
    And also previously i mistakenly reset ltp_control_parameters-preview to 'LOCL' (refer to my previous post).
    regards,
    sid

  • Printing Docs - how to get rid of 3 inch wasted space on right side of page

    I tried to print out : Communicating With Objects
    http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaFunda mentals/CommunicatingWithObjects/CommunicateWithObjects.html
    After trying several different settings and printed only the first page until I got the print more or less the way I wanted it, however...
    I have a standard HP Color Laserjet 2600n, looked at all the printing preferences, and all four margins are set at (.25 inch), yet when the pages print out there are about 2.5 inches of wasted space on the left side. The space is there for the Table of Contents, but there is nothing printed there, the space is blank.
    So I clicked on the Table of Contents header, so the TOC became hidden and the window only contained the text and images, then when I tried to print, I found that now there were about 3 inches of white space on each page on the right hand side. This is somewhere around a 40% waste in paper, trees, etc.
    One would think that expensive as printing is, there would be a way to save paper by optimizing coverage on each page as much as possible.
    Another curious thing is that the size of the text on the screen is easy to read at Safari normal (default) settings, yet when the first page is printed the text is really small.
    In order to get the size of the print on the paper to be easily readable, I had to click on the large [a][A] at the top of the Safari window twice (+ 2 sizes). The text on the window was fairly large, but the print became easy to read. There was still an excessive amount of wasted space, which just goes against the grain...
    Does anybody have a clue how to get rid of all the wasted space on each page ? There has to a simple way, this is 2010 and we've been doing this for 25+ years now.
    I am sure it is something simple that I am overlooking ? I'd be grateful for any help.
    Thank You,
    Bill Hernandez
    Plano, Texas

    What browser are you using? Try downloading a PDF if one is available, or try printing from XCode's Deveoper Documentation window.

  • How to get rid of missing link dialog?

    Hello All,
    Here is the description of the problem I am facing..
    From the indesign document I am exporting some incopy files.I close the indesign document and then I relocate the incopy files to some other location.
    Now I again reopen the indesign file, while opening, the missing link dialog pops up which asks for either not to fix the links or fixing the links automatically.
    How can I do the same thing programatically so that the Missing dialog will never pops up.
    So here are my two requirements.
    1) How to relink the files programatcally
    2) How to get rid of the missing link dialog.(also what is the widgetID of this dialog.?)
    I posted this question before also but couldn't get the solution.
    I tried every possible way available in sdk
    i.e using
    IUpdateLink
    kRestoreLinkCmdBoss
    IInCopyDocUtils
    etc.
    But I was unable to relink the files as well as supressing the missing link dialog.
    Any help in this matter will be highly appreciated.
    Regards,
    Yopangjo

    Hi Emanuele,<br /><br />Here is the code..I put this code in Respond function.<br />Please also refere the   FileActionsOpenDocResponder.I also tried using the functions CheckLinkedStories and others.<br /><br />//code start////<br />InterfacePtr<IDocumentSignalData> documentSignalData(signalMgr, UseDefaultIID());<br />ASSERT(documentSignalData != nil);<br />if (documentSignalData == nil) {<br />break;<br />}<br />InterfacePtr<IDocument> doc(documentSignalData->GetDocument(), UseDefaultIID());<br />if (!doc) {<br />break;<br />}<br /><br />IDataBase * db = GetDataBase(doc);<br />InterfacePtr<ILinksManager> linksManager(doc,UseDefaultIID());<br />if(linksManager == nil)<br />{<br />return;<br />}<br />for(int32 linkIndex = 0;linkIndex < linksManager->GetLinkCount();linkIndex++)<br />{<br />UIDRef linkUIDRef = linksManager->GetNthLinkUID(linkIndex);<br />InterfacePtr<IDataLink> dataLnk(linkUIDRef,UseDefaultIID());<br />if(dataLnk == nil)<br />{<br />continue;<br />}<br /><br />UIDList linkUIDList(linkUIDRef.GetDataBase());<br />linkUIDList.Append(linkUIDRef);<br /><br />NameInfo ni;<br />PMString formatName;<br />uint32 fileType;<br /><br />dataLnk->GetNameInfo(&ni,&formatName,&fileType);<br /><br />uint64 size,time;<br /><br />IDataLink::StateType stTp = dataLnk->GetStoredState(&size,&time);<br />switch(stTp)<br />{<br /><br />case IDataLink::kLinkNormal:<br />break;<br /><br />case IDataLink::kLinkMissing : <br />case IDataLink::kLinkOutOfDate :<br />{<br /><br />//code for relinking.<br />InterfacePtr<ICommand> relinkCmd(CmdUtils::CreateCommand(kRestoreLinkCmdBoss)); <br />if(relinkCmd == nil)<br />{<br />continue;<br />}<br />InterfacePtr<IRestoreLinkCmdData> relinkCmdData(relinkCmd, IID_IRESTORELINKCMDDATA); <br />if(relinkCmdData == nil)<br />{<br />continue;<br />}<br /><br />//Here you can hardcode the file name in place of dataLnk->GetFullName()<br />relinkCmdData->Set(db, linkUIDRef.GetUID(),&ni, &formatName, fileType, IDataLink::kLinkNormal,(dataLnk->GetFullName())); <br />CmdUtils::ProcessCommand(relinkCmd); <br /><br />//update the link<br />InterfacePtr<IDataLinkHelper> dataLinkHelper(static_cast<IDataLinkHelper*><br />(CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss)));<br />if(dataLinkHelper == nil)<br />{<br />return;<br />}<br />InterfacePtr<IUpdateLink> updateLink(dataLinkHelper, UseDefaultIID()); <br />UID newLinkUID; <br />updateLink->DoUpdateLink(dataLnk, &newLinkUID );//kFullUI);<br /><br />//The program crashes here<br />InterfacePtr<ICommand> command(CmdUtils::CreateCommand(kRefreshCmdBoss));<br />InterfacePtr<IRefreshCmdData> data(command, IID_IREFRESHCMDDATA);<br />data->Set(GetDataBase(dataLnk), newLinkUID, IDataLink::kLinkNormal);<br />CmdUtils::ExecuteCommand(command);<br /><br />}          <br /><br />//code end.<br />(please check for any missing brackets.)<br /><br />Thanks and Regards,<br />Yopangjo

  • How to get rid of lines on photo prints???

    PSE12 win7 64 bit; HP OJ 7680; HP OJPro 8630;
    all photo prints have horizontal lines (like grid lines);
    same for psd and jpg;
    same on different computer;
    same photo printed using Photo Gallery has no lines; 
    How to get rid of lines in PSE12???

    If you have layout showing you will see the borders of text boxes. Go to the View menu & choose Hide Layout & see if they disappear.

  • Evaluation dialog box - how to get rid of it

    Hi,
    Is there a way how to get rid of following dialog box when it appears?
    Please note user is not allowed to click on any button. I need to do this purely by program. Ideally some registry entry.
    Thank you, Michal.

    Hi Roberto,
    Yes! I noticed "Do not show this dialogue again" checkbox but I cannot use it due to several reasons. Let me explain.
    I am using LabWindows/CVI ActiveX Controller to control the project creation/building process. This is running on different machines where I cannot really rely on whether this checkox was hit by anyone before or not. So this was a critical requirement to handle any such event without user intervention. Here starts the story where I was looking into automatic solution for how to handle this.
    About your second question, the last one should be correct. The CEAL would have to be down for whole my evaulation period in order that CVI would stop working. But when CEAL is available again this 30-day evaluation period should be restarted and with another CEAL outage this window shown again. This is where I am like 90% certain. So please don't take this as an absolute truth if not confirmed by any NI staff.
    Anyways as I said before I am not into this solution anymore but if anyone would have any idea how to simply handle this without any user intervention I would store this into my knowledge database . I already mentioned Windows function above which should work. Also there is a freeware SW called AutoIt which basically does the same.
    Thank you, Michal.

  • IPhoto '11: Horizontal lines appear across photo printed on card stock; don't appear on drafts printed on paper. How to get rid of them?

    iPhoto '11:  Horizontal lines appear on photo printed on card stock; don't appear on photos printed on paper or other card stock.  How to get rid of them? 

    Horizontal lines appear on photo printed on card stock; don't appear on photos printed on paper or other card stock.
    What's the difference between the first card stock and the other card stock? What's the finish on the problem card stock? What printer are you using?  Does is have a physical adjustment for different stock thicknesses?

  • How to get rid of white space in EPS embedded in Word for letterhead template?

    Does anyone know how to get rid of the white band in the bottom of this letterhead?
    I embedded the EPS image (done via Illustrator) as a watermark in the header section of MS-Word.
    It looks fine in the Word version, but as soon as I try to print the document - either via Word or via a PDF - that white
    band on either side of the footer and underneath it keeps showing up. I can't get rid of it. I tried this on a PC and a Mac
    and those white bands won't go away.
    If anyone could let me know how to resolve this problem, I would be eternally grateful!
    Thank you.
    NZB

    If you want this to bleed, then you will have to print on oversize paper and trim or find a printer that will print borderless.

  • How to get rid of Adobe Reader on my OSX 10.9.5

    I have a Mac mini, using OSX 10.9.5 and was forced to download Adobe Reader by Public Works, government of Canada, in order to print their document.  For starters this is SO wrong.
    When I completed the download, Adobe Reader wanted me to approve it replacing my Preview, which I didn't want to do, so I answered NO. 
    Now I can't get into the damnable Adobe Reader to get rid of it. 
    Can you please let me know how to get rid of ALL of Adobe Reader from the download?
    Thanks in advance for your anticipated help.

    Macintosh HD > Library > Internet Plug-ins
    Look for these two files.
    AdobePDFViewerNPAPI.plugin
    AdobePDFViewer.plugin
    Right click on those and select “Move To Trash”.
    Restart the computer.

  • "Open In Tabs." How it got there and how to get rid of it?

    I've searched the forums and tried all I can think of but cannot figure out:
    1) How an "Open in Tabs" item got in my Bookmarks Menu -
    When I go to Main Menu>Bookmarks, at the very bottom is a dividing line and below it, "Open In Tabs." Yet, when I Show All Bookmarks, I cannot find it anywhere. It's not a folder, it's not a link or site, its not in the Bookmarks Bar or the Bookmarks Menu - but it's there when I drop down from Main Menu>Bookmarks.
    2) How to create my own "open in tabs" with only two bookmarks in it that I can set to open at starting up Safari.
    Right now, when I click it, it tries to open everthing in my Bookmarks Menu.
    Can anyone explain (how it got there and how to get rid of it) - and help me do what I'm trying to do (open two sites at startup)? Thanks.
    (Safari 1.3.2-OS 10.3.9)
    nÔÔdle--hëad Per-rrr-plexed

    I have to apologize, I accidently gave the link to Safari Enhancer when I mentioned Safari Extender.
    Safari Enhancer and Safari Extender are two different programs with two different purposes.
    Enhancer is a free standalone program to adjust some of the features in Safari that can not be adjusted using Safari's Preferences. It also alows you to make these changes without having to use the Terminal.
    Extender is a shareware Safari plugin that adds its own items to the control-click contextual menus in Safari and includes menu items to work with tabs, mail, user agents, printing, and other functions.
    Both are useful programs. I have and use each of them.

  • In the lefthand sidebar of Finder, under 'Shared', I encounter in addition my TC, another computer, identified by a long name starting with 'hp'. I don't have another computer. What could this be? And how to get rid of it?

    In the Finder sidebar, under 'Shared', I encounter my TC, as well as another item with a long name starting with 'hp'. 'Get info' shows it to be a 'PC'. However, I don't have a PC. It cannot be my printer (HP), since that has anoter name.
    I can not access the item, which has me a 'guest'.
    What could this item be? And how to get rid of it?
    Many thanks in advance for your help.
    DB

    It's almost certainly your hp printer and is showing the WiFi adapter MAC address after the HP.
    To verify, look at the printer configuration page via Bonjour in Safari.  The settings tab shows the Mac address in the bottom left hand corner for my model of HP printer.
    I'm sorry but I can't explain why that would show up in the finder.

  • The question as to how to get rid of Firmware notice was completely and successfully answered.

    How to get rid of the notice on printer screen that'The Firmware updat is on the server was completely answered by the advice given.Howard Peak

    Unfortunately CleanMyMac is as harmful, if not moreso, than MacCleanse. These third party cleaning apps are considered 'crapware' and can harm your system beyond repair. If you cannot uninstall them completely, as appears, it may pay to backup your data, reinstall avericks and migrate your important data back. You can try posting an etrecheck report and perhaps someone can help narrow down what you need to trash from all the areas that these programs have infected.
    etresoft  a long time contributer to Apple Support Communities wrote a very useful app he called etrecheck which helps in diagnosing many problems caused by third party installs etc.. Go to his website, read his information and from there download and run the program according to his instructions
    http://www.etresoft.com/etrecheck
    Cheers
    Pete

  • I'm using movie program how do get rid of background noise and put music over top of video

    I'm using movie program how do get rid of background noise and put music over top of video

    Niel,
    Thanks for your suggestion about using RCDefaultApp. I am hesitating to do this because it seems like I'd be installing still another piece of software to fix the original mistake---downloading Reader.
    About 20 years ago I maintained---with considerable handholding---UNIX systems of various sorts. Can you suggest how I might find the plist that seems to require changing?
    BTW, Preview is called whenever I open some random .pdf file. The problem appears when I want to get a file from the web. If the site permits a "download" I can get the file, but if I want to "view and print" the file, the evil dark-grey Adobe screen appears with the whirling black ball. Then Safari quits. I'm wondering if the reference to Reader is in a "cookie" sent from the website, when I first was installing Reader. Is this possible?

  • Anyone no how to get rid of mackeeper malware

    idownloaded mackeeper as it said recommend by apple wish i didnt
    does anyone on how to get rid of the malware that c
    downloaded with it please

    "MacKeeper" is a scam with only one useful feature: it deletes itself.
    First, back up all data.
    Note: These instructions apply to the version of the product that I downloaded and tested in early 2012. I can't be sure that they apply to other versions.
    If you have incompletely removed MacKeeper—for example, by dragging the application to the Trash and immediately emptying—then you'll have to reinstall it and start over.
    IMPORTANT: "MacKeeper" has what the developer calls an “encryption” feature. In my tests, I didn't try to verify what this feature really does. If you used it to “encrypt” any of your files, “decrypt” them before you uninstall, or (preferably) restore the files from backups made before they were “encrypted.” As the developer is not trustworthy, you should assume that the "decrypted" files are corrupt unless proven otherwise.
    In the Finder, select
              Go ▹ Applications
    from the menu bar, or press the key combination shift-command-A. The "MacKeeper" application is in the folder that opens. Quit it if it's running, then drag it to the Trash. You'll be prompted for your login password. Click the Uninstall MacKeeper button in the dialog that appears. All the other functional components of the software will be deleted. Restart the computer and empty the Trash.
    ☞ Quit MacKeeper before dragging it to the Trash.
    ☞ Let MacKeeper delete its other components before you empty the Trash.
    ☞ Don't try to drag the MacKeeper Dock icon to the Trash.
    ☞ Don't try to remove MacKeeper while running in safe mode.

  • I cant update nor download any applications. My password was always invalid. And other username is prompted richardca0521@yahoo.ca which is not my account. How to get rid of this apple id and use my account for download? I have registered this to itunes.

    I can't update nor download any apps in itunes. Prompted invalid password, upon checking the apple id was not mine. The id was [email protected] whic is not mine. Pls. Help how to get rid of this. Thank you.

    try and delete the apps and re-add them

Maybe you are looking for

  • Multiple physical inventory document active for same material-storage locat

    hi experts, I am using transaction code MI31 for creating physical inventory document for all materials at a particular warehouse(storage location). User is selecting direct generation of of PI documents in the transaction. If by mistake he presses e

  • With recent update of Firefox, I can no longer set the default page, it always reverts back to the Mozilla page, why?

    Why can I no longer set the default page to something else? Every time I open Mozilla Firefox, it always reverts back to the Mozilla page. No matter how many times I do this, it always reverts.

  • Extreme lag problems

    I have downloaded aperture last week and I have some major problems. I mean like it take like 5 min. to make simple edits. The program overall is very laggy !!!! I really need help because I edit a lot of photos. This have been happening even when i

  • R12 cloning on RAC windows 2003 R2.

    Dear All Gurus, I'm facing this issue with R12 cloning on RAC environment in windows 2003 R2.. Steps Followed: After preclone steps completed in Source servers then on Target server.. 1, On DB being in D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clo

  • Script to know the HR pacakges and functions owned by the HR schema

    Hi, Is there any script to find out the HR Packages and Functions owned by the HR Schema? Thanks you --Kumar