Js Error: The selected printer is not available or not installed correctly.

2,688 views
Skip to first unread message

sonali patel

unread,
May 17, 2014, 3:19:01 AM5/17/14
to phpde...@googlegroups.com
Hi,

        I got this type of error when print " The selected printer is not available or not installed  correctly.Check your printer or try selecting another printer." .How to solve this ?

Regards,
Sonali
Message has been deleted

Czarek Tomczak

unread,
May 17, 2014, 4:30:14 AM5/17/14
to phpde...@googlegroups.com
Does printing the same page work correctly in Google Chrome browser?

sonali patel

unread,
May 17, 2014, 4:46:47 AM5/17/14
to phpde...@googlegroups.com
Hi Czarek,
   
        I didn't try in google chrome browser and it's my client's issue that when he print more than 100 prints, this error msg has been displayed.

Regards,
Sonali Patel

pixel...@gmail.com

unread,
Sep 13, 2014, 2:07:49 PM9/13/14
to phpde...@googlegroups.com
Hello,

I've tried my HTML pages on Google Chrome and they print without any problems.

On PHPDesktop when I try to print, I get the same error message "The Selected Printer is not available or not installed properly. Check your printer or try selecting another printer".

My guess is PHPDesktop comes with a selected default printer and cannot detect another. Can you make it to detect system's default printer ? My application needs printer support and useless without it.

My Version: PHPDesktop Chrome 31.6
Running on: Windows XP SP3

Jay Sadhwani

unread,
Sep 16, 2014, 8:12:53 AM9/16/14
to phpde...@googlegroups.com
Hi Czarek, 

I am looking forward to  build a desktop application with php desktop. My application will also need a printer,so  can you  please throw some more light on this issue. I just to need cross check that my application would have no problem with printing stuff. Thanks for your time.

Regards,
Jay

Czarek Tomczak

unread,
Sep 16, 2014, 8:47:40 AM9/16/14
to phpde...@googlegroups.com
What happens when clicking "Print using system dialog..." on Google Chrome print page?
Message has been deleted

pixel...@gmail.com

unread,
Sep 17, 2014, 8:56:00 AM9/17/14
to phpde...@googlegroups.com
Shows you a list of printers installed on the system and you can select one and click the Print button.

I think there might be a misunderstanding here though. On PHPDesktop, neither trying to print the page with a JavaScript function call nor right clicking on the page and selecting "Print" function works. Both returns the error message "The Selected Printer is not available or not installed properly. Check your printer or try selecting another printer".

Czarek Tomczak

unread,
Sep 17, 2014, 10:13:44 AM9/17/14
to phpde...@googlegroups.com
@pixel Are you testing it on the same machine?

When clicking "Print..." from mouse context menu in phpdesktop, a print system dialog appears to select the printer. That's the same dialog that appears when clicking "Print using system dialog..." on Google Chrome print page. It behaves as expected for me. Tested on both Win7 and XP. When there is a printer installed then I see a system dialog with printers to select in both Google Chrome and PHP Desktop. After uninstalling printer, and when there is no other printer available, then I see an alert message "The selected printer is not available or not installed correctly...". It behaves exactly the same in both PHP Desktop and Google Chrome print page when clicking "Print using system dialog...".

Czarek Tomczak

unread,
Sep 17, 2014, 10:23:41 AM9/17/14
to phpde...@googlegroups.com
When clicking "Print..." in PHP Desktop and when clicking "Print using system dialog..." on Google Chrome print page, the same system call is being made to show the system print dialog. I don't see how it could give different results, it's very unlikely.

pixel...@gmail.com

unread,
Sep 17, 2014, 1:25:37 PM9/17/14
to phpde...@googlegroups.com
Yes, I've been trying on the same machine, same OS and configuration. Maybe multiple devices installed as printable sources are confusing PHPDesktop. I have HP LaserJet Multi Function Printer, MFP Fax, MS Office Document Image Writer, MS XPS Document Writer and PDF Lite installed.

I tried removing everything but the default printer (HP LaserJet MFP) and it didn't work. And added that printer again but all the time, it kept giving the error message.

Is your printer the same when you try to print on the different Windows-es ?

Czarek Tomczak

unread,
Sep 17, 2014, 2:15:45 PM9/17/14
to phpde...@googlegroups.com
Yes, I've tried with only one same printer.

So it seems that this might be an issue with CEF/Chromium. You can check whether this issue is fixed in newer CEF releases. Go to http://cefbuilds.com/ and check branches: 1650, 1750, 1916, 2062. For each branch download "Windows 32bit" > "Test App" binaries. Run cefclient.exe and select "Print..." from mouse context menu.
Reply all
Reply to author
Forward
0 new messages