?
Solved

web app - printing

Posted on 2004-11-30
4
Medium Priority
?
204 Views
Last Modified: 2010-04-23
Hi,

     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!

JP
0
Comment
Question by:gleznov
2 Comments
 

Author Comment

by:gleznov
ID: 12708917
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?

JP
0
 
LVL 28

Accepted Solution

by:
iboutchkine earned 2000 total points
ID: 12708998
try this

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

also check this

http://msdn.microsoft.com/library/default.asp?URL=/library/en-us/dnscrpt/html/dhtmlprint.asp
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

864 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