/    Sign up×
Community /Pin to ProfileBookmark

number of pages to be printed!

when i print from my broswer the pages i show on screen
i use
window.print()

if i do file->print preview i cn know how many pages will be sent o the printer execlly (beacuse the browser show me a preview and makes a render of my pgae)
i want to know when i make window.print()
how many pages will be printed!
does any 1 have an idea how to do it?
thanks in advance
Peleg

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@pyroJul 10.2003 — The print() method doesn't have any arguments, so to my knowledge, you can't do what you are asking...
Copy linkTweet thisAlerts:
@pelegk1authorJul 10.2003 — window.print()

is there a way to know how many (if i want to print) there will be printed pages?

by the way i am using to print an activeX called ScriptX

so i want to know (using that activeX or in javascript way to know how many pges will be printed if i decide to print)

10X?

Peleg
Copy linkTweet thisAlerts:
@pyroJul 10.2003 — I don't know any activeX, so it possibly can be done in that -- I have no idea.
Copy linkTweet thisAlerts:
@pelegk1authorJul 10.2003 — any way to know how many pages will be printed if doing the same like print proview?
Copy linkTweet thisAlerts:
@pyroJul 10.2003 — Sorry, if it can be done, I don't know how...

[i]Originally posted by pyro [/i]

[B]...to my knowledge, you can't do what you are asking... [/B][/QUOTE]
×

Success!

Help @pelegk1 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 6.11,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

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