google / cloud-print-connector

Google Cloud Print Connector
BSD 3-Clause "New" or "Revised" License
765 stars 184 forks source link

New install of CPC on Windows 7 Pro #398

Open dmantz7 opened 6 years ago

dmantz7 commented 6 years ago

I am trying to figure out why print jobs sent from Chromebooks using the shared printers via CPC are not being passed onto the printers. When a job is sent to the printer from say Google Docs, the Google Cloud Print management page displays a red error icon in the printer's queue. This W7 Pro setup is not managing/running any other services other than CPC. I have even upgraded to the most recent version 1.15 with there being no addition success.

I have confirmed that the W7 Pro is open outbound to port 5222 as well as 80 and 443. All printers are displayed on the Google Cloud Printer management page as bold (online). Any suggestions on what I may need to troubleshoot would be greatly appreciated. Thank you in advance!

jay0lee commented 6 years ago

What error message is on the google.com/cloudprint job details page?

If you stop the cloudprint service on Win7 and then manually run the same command from a DOS prompt do you see any attempts to print the job and resultant errors on that side?

Jay

On Thu, Feb 1, 2018 at 11:05 AM, dmantz7 notifications@github.com wrote:

I am trying to figure out why print jobs sent from Chromebooks using the shared printers via CPC are not being passed onto the printers. When a job is sent to the printer from say Google Docs, the Google Cloud Print management page displays a red error icon in the printer's queue. This W7 Pro setup is not managing/running any other services other than CPC. I have even upgraded to the most recent version 1.15 with there being no addition success.

I have confirmed that the W7 Pro is open outbound to port 5222 as well as 80 and 443. All printers are displayed on the Google Cloud Printer management page as bold (online). Any suggestions on what I may need to troubleshoot would be greatly appreciated. Thank you in advance!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/google/cloud-print-connector/issues/398, or mute the thread https://github.com/notifications/unsubscribe-auth/AEaMsB4H_rP42dfUN5uaYSZdSG7Ugbgjks5tQeC8gaJpZM4R12t9 .

dmantz7 commented 6 years ago

First of all, thank you for such a quick response Jay! The only thing being provided in the GCP admin console for that printer is their typical red box with the word Error to the left of it. I have attached 2 screenshots illustrating what I am attempting to explain.

screenshot 2018-02-01 at 10 38 41 am screenshot 2018-02-01 at 10 39 12 am

When you say "manually run the same command from a DOS prompt" Which command are you referring to me using?

jay0lee commented 6 years ago

If you look at the cloudprint service details, it will show the full command that the service is actually running.

Jay

On Thu, Feb 1, 2018 at 11:42 AM, dmantz7 notifications@github.com wrote:

First of all, thank you for such a quick response Jay! The only thing being provided in the GCP admin console for that printer is their typical red box with the word Error to the left of it. I have attached 2 screenshots illustrating what I am attempting to explain.

[image: screenshot 2018-02-01 at 10 38 41 am] https://user-images.githubusercontent.com/35106628/35690800-69b3ba96-073c-11e8-9082-3e669981e5b6.png [image: screenshot 2018-02-01 at 10 39 12 am] https://user-images.githubusercontent.com/35106628/35690801-69d3ca66-073c-11e8-92db-dd7ebad8a973.png

When you say "manually run the same command from a DOS prompt" Which command are you referring to me using?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/google/cloud-print-connector/issues/398#issuecomment-362325570, or mute the thread https://github.com/notifications/unsubscribe-auth/AEaMsMRphjZO6jTsdedRBc2H6kezKk7pks5tQel-gaJpZM4R12t9 .

dmantz7 commented 6 years ago

Here is a screenshot of the CMD window message that appears after I execute gcp-windows-connector.exe from the directory C:\Program Files\Google\Cloud Print Connector\

screenshot 2018-02-01 at 11 05 58 am

It is referring to a possible issue with local printing.

jay0lee commented 6 years ago

You need to run the full command from the service, that will look something like (not necessarily correct)

c:\program files\google\cloud print connector\gcp-windows-connector.exe --config-filename "c:\ProgramData\Google\Cloud Print Connector\cloud-print-connector.json"

Jay

On Thu, Feb 1, 2018 at 12:09 PM, dmantz7 notifications@github.com wrote:

Here is a screenshot of the CMD window message that appears after I execute gcp-windows-connector.exe from the directory C:\Program Files\Google\Cloud Print Connector\

[image: screenshot 2018-02-01 at 11 05 58 am] https://user-images.githubusercontent.com/35106628/35692198-4fe2f79a-0740-11e8-9aa3-d23db208249f.png

It is referring to a possible issue with local printing.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/google/cloud-print-connector/issues/398#issuecomment-362335163, or mute the thread https://github.com/notifications/unsubscribe-auth/AEaMsHjHjXDobbpNjxbgay9Mu4PPFqXDks5tQe_MgaJpZM4R12t9 .

dmantz7 commented 6 years ago

C:\Program Files\Google\Cloud Print Connector\gcp-windows-connector.exe" --config-filename="C:\ProgramData\Google\Cloud Print Connector\gcp-windows-connector.config.json is the path I have as well in the properties. However, when I attempt to execute this string in a CMD window it tells me that "C:\Program" is not recognized as an internal or external command.

Also, there does not appear to be a .json file in the Cloud Print Connector directory. Should I see it there? If not, should I completely uninstall the application and reinstall?

dmantz7 commented 6 years ago

Jay, Here is an update on this issue after finally getting the W7 Pro computer to accept the command you suggested.

screenshot 2018-02-02 at 10 39 15 am

dmantz7 commented 6 years ago

Here is an additional update on 1.15. There are several XMPP and XML syntax errors being listed.

screenshot 2018-02-02 at 10 55 17 am

jay0lee commented 6 years ago

seems like something may be interfering with the XMPP session. Are you running a firewall or proxy that may be messing with XMPP traffic?

On Fri, Feb 2, 2018 at 11:56 AM, dmantz7 notifications@github.com wrote:

Here is an additional update on 1.15. There are several XML syntax errors being listed.

[image: screenshot 2018-02-02 at 10 55 17 am] https://user-images.githubusercontent.com/35106628/35745122-c122d444-0807-11e8-9359-224d33bac44f.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/google/cloud-print-connector/issues/398#issuecomment-362642188, or mute the thread https://github.com/notifications/unsubscribe-auth/AEaMsHmTYuutx_8VPaqDr5m9QZTjyYtBks5tQz5SgaJpZM4R12t9 .

dmantz7 commented 6 years ago

I have confirmed the Windows firewall on the W7 machine is turned off and the device is open outbound on our Sonic firewall.

dmantz7 commented 6 years ago

An additional update. I did find that "Internet Options" has set itself to "Automatically Detect Proxy". I removed the checkmark and now the command, via CMD, displays 49 printers synchronized and ready to rock as proxy......". Those reappear each time it attempts to resynchronize. So, I attempted to send a print job once again and the job fails. I get the same reb box "Error" message as shown in the original screenshot. I will add these results are appearing with the actual "Cloud Print Connector" service off. Once I turn the service on the XMPP errors start to appear in the CMD window.

jay0lee commented 6 years ago

Don't run the service and the command atthe same top. That's bound to cause issues

dmantz7 commented 6 years ago

Here is a print job error message via the CMD window. What am I missing regarding native printing?

image

dmantz7 commented 6 years ago

To resolve the "native print system" issue, do I need to execute this command 'local_printing_enable" at the same time of issuing "C:\Program Files\Google\Cloud Print Connector\gcp-windows-connector.exe --config-filename="C:\ProgramData\Google\Cloud Print Connector\gcp-windows-connector.config.json" ?

dmantz7 commented 6 years ago

As of Friday, 2/16/18, I have completely uninstalled 1.15 and installed 1.13 after a reboot. Unforutinately, I am still getting a native printing error. (see image) Would someone please advise what I need to do for this service to work on my W7 Pro machine? It has 2TB in HD space and 12GB RAM. Thanks in advance!

screenshot 2018-02-16 at 1 16 11 pm

jay0lee commented 6 years ago

This may be specific to your printer. What type of printer is it and which Windows driver are you using?