navya kodali
Posts: 0
Joined: Wed Jan 22, 2014 6:47 am

How to do print currnt page when click on Print button.

Hi,

How to work with printing a page functionality when click on print buton.

navya kodali
Posts: 0
Joined: Wed Jan 22, 2014 6:47 am

How to do print currnt page when click on Print button.

Hi,

how to connect printer(hardware device) when click on print button in application.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to do print currnt page when click on Print button.

On button click run JS prewindow.print()/pre

navya kodali
Posts: 0
Joined: Wed Jan 22, 2014 6:47 am

How to do print currnt page when click on Print button.

Hi,
Thanks for helping...

This line of code working in web. But when i export this project into ios devices(iphone,ipad) this button not working.what should i do for printing functionality in devices also?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to do print currnt page when click on Print button.

Hello! You would need to search for plugin, for example https://github.com/katzer/cordova-plu...

navya kodali
Posts: 0
Joined: Wed Jan 22, 2014 6:47 am

How to do print currnt page when click on Print button.

I Have downloaded plug in,added in my project.but its not working..
where should i add that plugin?
eithr in Apprey.io or afer exporting as xcode project?
let me know how to add that plugin into project?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How to do print currnt page when click on Print button.

Hi Navya,

Here is an example of adding a plug-in: http://docs.appery.io/documentation/u...

navya kodali
Posts: 0
Joined: Wed Jan 22, 2014 6:47 am

How to do print currnt page when click on Print button.

Hi Katya,

I have followed documentation.added 3rd party plugin(Phonegapprintplugin-master) into "cordovaLibPlugins". after added this plugin is in blue color.

May i do anything additionally?

In Documentation button onclick add javascipt like "Beep.beep();"

In my application i have added button onclick javascipt code "PrintPlugin.print();"

when i export app into xcode project in project folder it is not showing added plugin.
and when i click on print button no action is done.

Please help me what to do?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to do print currnt page when click on Print button.

Hello! Did you add this plugin https://github.com/katzer/cordova-plu...? Please check Using the plugin section in plugin description.

Return to “Issues”