Results 1 to 2 of 2

Thread: Printing

  1. #1

    Thread Starter
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Printing

    How do I print - what are my options?

    I see that my DirecTV rebate printed with this:

    <a href="javascript: print()"><img src="directv.com/images/redeem_print.gif" id="redeem-print-icon" width="39" height="7" border="0" alt="Print" /></a>

    Why did they need to do this with JS?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Printing

    Hey,

    Are you trying to print on the client's printer, or a printer on your server?

    If it is the client, then it pretty much has to be done with client script, namely:

    Code:
    window.print
    http://www.javascriptkit.com/howto/newtech2.shtml

    Hope that helps!!

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width