Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #28443 > unrolled thread
| Started by | techtechie140@gmail.com |
|---|---|
| First post | 2015-07-16 06:55 -0700 |
| Last post | 2015-07-31 05:49 -0700 |
| Articles | 5 — 4 participants |
Back to article view | Back to comp.lang.javascript
Printers using javascript techtechie140@gmail.com - 2015-07-16 06:55 -0700
Re: Printers using javascript Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-07-16 15:51 +0100
Re: Printers using javascript techtechie140@gmail.com - 2015-07-16 16:15 -0700
Re: Printers using javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-07-17 09:18 +0200
Re: Printers using javascript Carlos Pedro <carlospedr@gmail.com> - 2015-07-31 05:49 -0700
| From | techtechie140@gmail.com |
|---|---|
| Date | 2015-07-16 06:55 -0700 |
| Subject | Printers using javascript |
| Message-ID | <7327bd18-2d21-4ec0-baa1-bb463e16ce1b@googlegroups.com> |
For sure, the Javascript as such was not designed to read the device details. But I have a requirement to identify the printer detail. Is it possible to get the list of Printers attached to the PC or Mac from Chrome? I'm looking for a solution that will block the users from accessing the printers from my site. So far, I couldn't find any. Any help appreciated. Thanks,
[toc] | [next] | [standalone]
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Date | 2015-07-16 15:51 +0100 |
| Message-ID | <874ml4dukb.fsf@bsb.me.uk> |
| In reply to | #28443 |
techtechie140@gmail.com writes: > For sure, the Javascript as such was not designed to read the device > details. But I have a requirement to identify the printer detail. > > Is it possible to get the list of Printers attached to the PC or Mac > from Chrome? I hope not; if there is, I would consider it a bug and report it! > I'm looking for a solution that will block the users from > accessing the printers from my site. So far, I couldn't find any. I'm not sure what "from my site" means here. It could refer to the server, but in that case the problem is reversed -- the user should block your server from accessing their printers. If you mean that you want to block a user from accessing their own printers, what has that to do with you or your site? -- Ben.
[toc] | [prev] | [next] | [standalone]
| From | techtechie140@gmail.com |
|---|---|
| Date | 2015-07-16 16:15 -0700 |
| Message-ID | <be108e76-e1bd-4e3f-b174-3c77710a5af8@googlegroups.com> |
| In reply to | #28444 |
Hi Ben, Thanks for your reply. The site I referred is used to print documents only once. It's a public site, which should allow a user to download and print the PDFs only once. I can have Adobe Javascript API which can control number of prints. But unfortunately, if the user uses PDF printer or XPS printer, they can reproduce the document. Adobe's DRM solution work as either allow print or disallow print. I'd like to see if there is any option available in javascript. I do understand from Chrome Beta/Dev versions 44 and above support a new set of APIs for chrome.printerProvider
[toc] | [prev] | [next] | [standalone]
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
|---|---|
| Date | 2015-07-17 09:18 +0200 |
| Message-ID | <XnsA4DA5EA041E08eejj99@194.109.6.166> |
| In reply to | #28445 |
techtechie140@gmail.com wrote on 17 Jul 2015 in comp.lang.javascript: > Hi Ben, > > Thanks for your reply. What reply? This is usenet, not email, you should quote what you are responding on. > The site I referred is used to print documents only once. That is fine, I am used to seeing the sun when I wake, but more often than not it rains. > It's a public site, which should allow a user to download > and print the PDFs only once. [Do you mean by "public site", one where no login is needed?] Don't be daft, printing is not under the control of a website, downloading might be, but then the user needs to be identified by login or cookie possibly against her or his will. > I can have Adobe Javascript API which can control number of > prints. I doubt that, as again it needs identification to limit the number of downloads. > But unfortunately, if the user uses PDF printer or XPS printer, > they can reproduce the document. Your fortune is bound to change, fortunately! Don't assume you are the technical boss over what you publicize. > Adobe's DRM solution work as either allow print or disallow print. I'd > like to see if there is any option available in javascript. You probably mean clientside Javascript on a browser. Javascript scripts [Javascript just being a scripting language], can do a lot given the right platform. > I do understand from Chrome Beta/Dev versions 44 and above support a new > set of APIs for chrome.printerProvider So? "This PDF will selfdestroy in 5 seconds", and you will see a puff of white smoke? The only part of the web YOU OWN is on your own server, Javascript execution on the server is quite possible, but it generally is not done to do printing on the server. -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
[toc] | [prev] | [next] | [standalone]
| From | Carlos Pedro <carlospedr@gmail.com> |
|---|---|
| Date | 2015-07-31 05:49 -0700 |
| Message-ID | <6e4dc0d0-8864-49d1-8753-ea0072f85f99@googlegroups.com> |
| In reply to | #28445 |
> The site I referred is used to print documents only once. It's a public site, which should allow a user to download and print the PDFs only once. I can have Adobe Javascript API which can control number of prints. But unfortunately, if the user uses PDF printer or XPS printer, they can reproduce the document. You are aware of machines that copy printed pages, aren't you?
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.javascript
csiph-web