How to change the print page setup in IE using javascript

dear all,
I want to take print out envelope paper size, so i want to chnage the page setup in IE
i want to change the print page setup in IE using javascript

I think, you can do this using CSS.
http://support.sas.com/rnd/base/ods/templateFAQ/Template_csstyle.html

Similar Messages

  • How to disable the print option in A. Reader (using JavaScript)

    I need be able to disable the print option from JavaScript code. I know that the print option can be disabled in the
    "File > Form preferences > PDF Security" option in the main menu but i need to do this from a script into the document (
    preferably using the JavaScript language).
    Thanks in advance!
    Dan

    HI!
    I have the same problem =)
    I have fixed this issue using the "app.fs.isFullScreen = true;" statement.
    Doing this you don't see toolbar anymore.
    You can use "hideToolbarButton" instruction and, maybe, you can obtain a more interesting result.
    Below there is a very interesting document:
    http://partners.adobe.com/public/developer/en/acrobat/sdk/5186AcroJS.pdf
    I'm sorry for my poor english :-)
    Bye,
    Roberto (from Italy)
    Ps= Do you know how I can obtain a list of required fields in a form?
    thank's!

  • How can I change the default page setup for printing messages in Apple Mac Version 4.6 (1085)

    How can I change the default page setup for printing messages in Apple Mac Version 4.6 (1085)

    As soon as I posted, Ifigured this one out on my own by going into user settings and changing the default there. Then I was able to delete the default @mac account. Thanks!

  • How to change the initial page without open safari

    Hi everybody,
    I have problems opening my safari because of the plugin silverlight. I defined a tvair.swisscom.ch page as initial and it makes an error open it. it means that my safari doesn't work at all.
    i want to know if somebody knows how to change the initial page from safari without open safari and solve this problem.
    thx
    cheers
    nun

    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Preferences/com.apple.Safari.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Quit the application if it's running. Move the selected item to the Trash. Relaunch the application and test. Optionally, restore the file from a backup that predates the problem.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • HT4356 I have two printers on my network.  Does anyone know how to change the printer nomenclature - Officejet Pro 8600  (0B54AF) to a recognizable name...like Brad's Office?

    I have two printers on my network.  Does anyone know how to change the printer nomenclature - Officejet Pro 8600  (0B54AF) to a recognizable name...like Brad's Office when you use Airprint?

    You would have to change that in the printer's settings on the printer, if that option is offered by the manufacturer. The iPhone just finds printers on the network and uses the name they have given themselves or that were given to them when they were set up.

  • How to find the font and replace another font using javascript in illustrator?

    Dear All,
    how to find the font and replace another font using javascript [batch process] in illustrator?
    i have 700 image file, it very deficult replace one by one.
    regards,
    .Suresh.S

    Ask the creator of the file for a unprotected version.

  • How to change the master page and theme dynamically in sharepoint2013 anonymous site

    hi
    I have to change the master page and theme dynamically in sharepoint2013 anonymous site. i have to show one master page to authenticated user  another master page to anonymous user through code
    Srinivas

    Hi Srinivas,
    According to your description, my understanding is that you want to change the master page and theme dynamically based on the anonymous users or authenticated users.
    Per my knowledge, there is not an OOB way to change the master page and theme dynamically.
    SharePoint is based on Asp.net, as we know Asp.Net request processing is based on pipeline model, so we can delevlop a custom HttpModule to dynamic change the master page based on current logon user profile(using SP Object Model to get).
    Another solution could be to use the SecurityTrimmed control that injects the CSS depending on global user permissions, more information, please refer to
    it.
    Some similar posts for your reference:
    http://social.msdn.microsoft.com/Forums/office/en-US/c2b2d0da-c752-4aea-9c2d-e31a5b1a2988/sharepoint-2010-dynamic-masterpage-based-on-userprofile-property
    http://johanleino.wordpress.com/2011/10/20/using-a-different-master-page-for-authenticated-users-in-sharepoint/
    http://sharepoint.stackexchange.com/questions/21679/how-can-we-use-a-different-masterpage-for-annoymous-and-authenticated-users
    http://sivarajan.me/post/How-to-customize-the-SharePoint-2013-Master-Page-for-Anonymous-Users
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to change the web page title of a web dynpro app?

    Hello,
    I would like to change the HTML page title of a web dynpro application without renaming the application component itself - but how?
    Thanks for your comments!

    Hi M Walter,
    Assuming you are using Web Dynpro Java, you can change the title of the Web Page for Web Dynpro App by adding the title to the main window of your app.
    Go to Windows and open the properties. There will be a field called 'title'. Give the title you want, save, build, DC->Build and deploy.
    The title you gave to this Window will be displayed as the title of your Web page.
    Regards,
    Ajay

  • How to control the print pages in se71 form or smartforms

    Dear All:
             I have a issue for control the print pages in se71 form or smartforms.
    For example:my report used form or smartforms to print.it have 12  total pages.but user want to print the .3rd  page.3rd  page is customized.
             How can I do it?
    Thanks
    Sun

    Hi,
    By using command node, with some command we can handle this.

  • How to change the code page on windows 2008 r2 ?

    How do I configure a specific code page on windows 2008 r2 ?
    I understand that I can go into control panel and change regional settings but if  want to change the code page from one codege to say CP850 how do i do that ?.
    There is no option in the control panel to select  code page ?
    Thanks

    Hi,
    I have followed the below steps which did not cause any issue to my server. Have a full latest backup and then follow the below steps.
    Create a start up batch file that includes all the commands you want.
    Then edit the registry to point to your start up file.
    http://technet.microsoft.com/en-us/library/cc779439%28WS.10%29.aspx
    c:\startup.cmd
    @echo off
    chcp 437
    HKLM\SOFTWARE\Microsoft\Command Processor
    AUTORUN="C:\startup.cmd"
    Thanks,
    Umesh.S.K

  • How to change the logon page text colour?

    Hi experts,
       I need to do 4 changes in the logon screeen
    1.the "user name" and "password " to "User Id" and "Pass".I have changed this in "umelogonbase.jar".
    2.Change the colour of the two texts(white colour)
    3.with black as background for the userid and pass label and textfield in the left side of the page
    4.Also the background of the screen of the logon page with a company pic ;
    I am following the below
    http://wiki.sdn.sap.com/wiki/display/EP/ModifyingtheLogon+Page
    Kindly help in this
    Naga

    When you follow the steps outlined at the Wiki page, what exactly is where you receive an error? You'll have to change the JSP page of the logon to insert your changes. Have you done this and the changes are not reflected?
    br,
    Tobias

  • How to change the printer name in the User profile in the run time.

    Hi
    I am in need to change the printer name in the run time.
    Do any one hav idea about this?
    Thanks
    Karthik

    The user default settings can be changed using funtion module SUSR_USER_DEFAULTS_PUT.
    Import parameter USER_DEFAULTS-SPLD will hold the default printer name.

  • How to change the print queue name with Lexmark printer?

    Is it at all possible to change the print queue name from Lexmark_3500_4500_Series, to something shorter? I try to link printouts from an old Sun Unix system, thru my iMac to the Lexmark X4580 multifunction printer. However, the Sun/Unix will not accept this long print queue name...

    Apologies, I misread. The only way I know of changing the Print Queue Name is by readding the printer.
     > System Preferences > Print & Scan > Add
    Choose your printer, make sure you change the print queue name to something different (equates to the Printer Name).
    When you need to print, simply select the printer you just added.
    Once your happy it works, delete the old printer from the list in Print & Scan.
    Morgan

  • How do i change the default Page Setup settings?

    I have a recurring "bug" - whenever i open a PDF - and usually when i create new files (in any program), the default setting is to have it print horizontally at 65%.
    to be more concise, if i open a blank document in "Text Edit" as an example and go to Page Setup - its already set to 65%, rotated horizontal - - instead of vertical orientation at 100%.....
    This is frustrating, as I often forget this - go to print a PDF - and it comes out very small and rotated 90 degrees.
    This even happened when i recently got a new printer and had to install / setup a new driver.
    I was able to get it to stop a long time ago by deleting all of my printers and starting over from scratch - but the problem quickly resurfaced.
    (I think it may have something to do with receiving a PDF from a third party that had this setting to allow me to print a larger drawing onto letter sized paper - - but it seems to overtake all of my files as default.)
    I hope i explained this clearly.....what i would like to do is know how to definitively change this "default" setting.....

    Hi, no idea why AAPL said what was said, just too busy I think!?
    Anyway, have you tried File>Page Setup..., then setting the Scale, Size, & Orientation, then same Window>Settiungs>Page Attributes>Save as Default... or even the Restore Original Defaults there?

  • How can I change the printer page orientation from vertical to horizontal?

    I cannot seem to find a way to get the desired page to print horizontally instead of vertically as it normally does. Can I do this; how?
    Currently, Family Tree Maker is the app in which I'm having this problem. I want to print a census report in "landscape" instead of "portrait."

    @sambrack
    Try the '''Preview''' button at the bottom of the Print dialog window and see if there are Portrait / Landscape buttons at the top of the Print Preview window. ''(Those buttons are there on Linux & Windows versions of Firefox, and most likely on Mac, too.)''
    If so, select Landscape and then Print from that Preview window.

Maybe you are looking for

  • Flash Player don't work very well in linux

    Hello, I'm using Ubuntu 8.04 and Firefox 3.0 and flashplayernonfree package. When I browse a page that have a banner with a mouse ouver event that open a layer over the text showing something, this layer appears without passing the mouse over this ba

  • Problems with File I/O

    When my filewriter writes text to a text file, it represents line breaks as a Square character in Notepad. However, the linereader does not recognize these breaks when I'm reading the file into my java program. Is there any way I can avoid this probl

  • My Facebook won't check in

    My Facebook won't check in. I have all my location settings on but my Facebook won't acquire my location. I tried downloading from blackberry beta zone new version but it still won't find places. Please please help

  • Web service with multiple out parameters

    Hi Developers, I have been playing around with som web services in the developer studio. I can create a webservice from a normal ejb. But i can only get one out parameter, which is the return parameter of the ejb. I tried to make an object to use as

  • Problem of setting version entry in �depend� file of package

    I am working on creating a package pkg1 that depend on pkg2, so I added a �depend� config file in the prototype. From the man page of depend, I should add the following entries in the depend file: type pkg name (arch)version (arch)version So I added