web app - printing

Posted on 2004-11-30
Last Modified: 2010-04-23

     I need to print barcodes to a secondary printer on the client's machine.  This is a web app though, so I'm not sure in VB, Javascript, or anything else how to access a secondary printer and send a print to it.  Help!

Question by:gleznov

    Author Comment

    I got this msg in Javascript section:

    activeX objects are hte only thing that will allow you to access a specific printer on a client's machine

    window.print( ); a javascript function will print it to the default printer

    Anyone here know anything about these activeX print objects?

    LVL 28

    Accepted Solution

    try this

    RegisterStartupScript("startupScript", "<script language='javascript'>window.print();</script>")

    also check this

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now