473,511 Members | 15,630 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

67 New Member
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 7357
Dormilich
8,658 Recognized Expert Moderator Expert
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
Mayur2007
67 New Member
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,658 Recognized Expert Moderator Expert
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
gsivaprabu
3 New Member
Hi Dormilich,

Are you got a solution for that.If u got any script means please share to me.
Jul 11 '14 #5
gsivaprabu
3 New Member
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,658 Recognized Expert Moderator Expert
can’t you print it regularly (like opening the print dialog from your browser)?
Jul 11 '14 #8
gsivaprabu
3 New Member
Hi Dormilich,

In mobile Browser no print option is there.
Jul 11 '14 #9
Dormilich
8,658 Recognized Expert Moderator Expert
then chances are that you cannot print from a mobile browser at all.
Jul 11 '14 #10
Rabbit
12,516 Recognized Expert Moderator MVP
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

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

Similar topics

4
3213
by: Fred | last post by:
I'm a newbie to JavaScript so be gentle. You know that funky IE margin issue that causes the right side of the page to get cut off when the user prints the html document?...
0
1119
by: RRKV | last post by:
Hi I have a datagrid which contains 4 rows and a checkbox. when the checkbox is selected and click the print button it should create an .aspx page which contains all the data and directly goes to...
0
1146
by: manishoz | last post by:
How can I print Windows test page using .NET code for eg. in c#. I need this without going throught the windows PrintDialog popup. Thanks
5
2199
by: Martin | last post by:
Hello NG, I've been doing some AJAX for a few weeks now. The basics worked fine so far, but now I've got the following problem which I can't solve: With AJAX you typically update/replace only...
1
3232
by: MORALBAROMETER | last post by:
Hi all, I want to update MULTIPLE elements of an HTML page using Ajax. for this reason i my response is an xml document. I want to use XSL at the client side to update these elements. How can i...
3
3443
by: SM | last post by:
Hello, Im trying to access elements in my XML file using the JavaScript DOM but i'm not sure how. I use AJAX to access the XML and then use the responseXML property to access the XML file data. I...
1
1754
by: JohnnieTech | last post by:
I am using some javascript/ajax to load content into a main div. The problem I am running into is that it will work in IE but not in FF. In FF I don't get any sort of load at all. I have a 1...
2
2240
by: Mike Harrison | last post by:
Hi, is it possible to do something like this using JavaScript? My page should prompt the user for a 3rd party URL. It will then validate this URL, request the page, analyse it and update the main...
0
2072
by: sanjeewa19 | last post by:
Hi Forum, Im in the process of developing a mobile website.This is just a static website so Im using pure HTML in Dreamweaver with the DOCTYPE is set to XHTML Mobile 1.0 I have got a...
1
1799
oranoos3000
by: oranoos3000 | last post by:
hi excuse me i want to put a picture on the webpage that by click on this picture a print of current page is got,this page is dynamic,and different for various user how can I do ?(with php or...
0
7242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7138
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7075
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5662
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3222
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1572
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
781
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
446
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.