www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > JavaScript

    JavaScript JavaScript (not Java) Discussion and technical support, including AJAX and frameworks (JQuery, MooTools, Prototype...)

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 11-25-2002, 09:57 AM
    Simbo Simbo is offline
    Registered User
     
    Join Date: Nov 2002
    Location: uk
    Posts: 1
    Question Print()

    Hi,

    I'm trying to print a specific page not the one that the code is written on.

    window.print() - Prints the current page, but how do i print a htm file at a specific loaction???

    Hope this makes sense!

    Last edited by Simbo; 11-25-2002 at 10:01 AM.
    Reply With Quote
      #2  
    Old 11-25-2002, 10:43 AM
    Charles's Avatar
    Charles Charles is offline
    JavaScript Banned
     
    Join Date: Nov 2002
    Location: Baltimore, Maryland
    Posts: 11,667
    The only way that you can accomplish this is to open the document in a new window and then print that window. Just keep in mind that many of us do not use JavaScript and that many who do use JavaScript have disabled child windows.
    Reply With Quote
      #3  
    Old 11-26-2002, 08:45 AM
    ladwolf ladwolf is offline
    Registered User
     
    Join Date: Nov 2002
    Posts: 3
    Question window.Print()

    Hi,

    I am trying to use the print function above by opening a new window and then executing the window.print(). But, I am still having the parent window print, not the child window. Is there something else I need to do so that the child window has focus and the print function knows to print that window?

    I tried putting the window name in the window.print("name"), but that didn't work either.

    I appreciate your help!

    Lisa
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 04:12 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.