/    Sign up×
Community /Pin to ProfileBookmark

Printer setting at client side

i want to set my printer at client side, user only click print button &he get printout without any processing.when i use window.print() method it forces the user that set the printer.Actualy i want printout of aspx page which access data from database.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@UmeshMar 06.2006 — I Think u are sking for :

<A HREF="javascript:window.print()">Click to Print</A>

At printer option say ok, and done ?
Copy linkTweet thisAlerts:
@Tweak4Mar 06.2006 — I think he's trying to bypass the printer option dialog and go directly from button to printout, which you can only do by way of ActiveX...
Copy linkTweet thisAlerts:
@ramesh_bauthorMar 07.2006 — "thanks Tweak4 for suggetion.

i don't know how to use ActiveX control in dot net .but i will try for that "
×

Success!

Help @ramesh_b spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...