469,282 Members | 1,606 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

Print mobile website page using html5 / javascript / php / ajax

Hello,

I want to take a print of web page using mobile blue-tooth.
How can we do that?
My mobile site contains HTML5. Can somebody please help me?

regards,
Mayur
Sep 13 '11 #1
10 6360
Dormilich
8,651 Expert Mod 8TB
Bluetooth is only a data transmission standard and as such not concerned by your problem (printing a webpage). essentially, you only need the/your browser to tell that it should print the page somewhere (which may be a printer connected through Bluetooth).
Sep 13 '11 #2
Thanks for the reply..

So suppose in my page If javascript print button is available (document.print) and I am pressing through mobile then it will print right?

One more question can we check available bluetooth devices using HTML5 / php / javascript?
Sep 13 '11 #3
Dormilich
8,651 Expert Mod 8TB
One more question can we check available bluetooth devices using HTML5 / php / javascript?
not that I know of, since this is usually done on OS-level (which HTML5/PHP/JS do not have access to)
Sep 13 '11 #4
Hi Dormilich,

Are you got a solution for that.If u got any script means please share to me.
Jul 11 '14 #5
Hi Dormilich,

I have the website like this http://thermal.simply-logic.com/

If i click the View button means the bill displayed .

If i click the Print button means the div id=contents table format print in thermal printer. How is possible i cant get clear idea.

That website is bootstrap and PHP&MYSQL. Please suggest any article or sample codings. Thanks in Advanced.
Jul 11 '14 #7
Dormilich
8,651 Expert Mod 8TB
can’t you print it regularly (like opening the print dialog from your browser)?
Jul 11 '14 #8
Hi Dormilich,

In mobile Browser no print option is there.
Jul 11 '14 #9
Dormilich
8,651 Expert Mod 8TB
then chances are that you cannot print from a mobile browser at all.
Jul 11 '14 #10
Rabbit
12,516 Expert Mod 8TB
The whole printing from a mobile phone issue is an OS/browser issue. If they don't support printing, no amount of javascript is going to get you around that foundational issue.

The newer versions of android however do support printing from the mobile chrome browser.
Jul 11 '14 #11

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by manishoz | last post: by
5 posts views Thread by Martin | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.