PDA

View Full Version : Cannot print on Network printer. VPDAgent automatically stops



myekaf
11-21-2013, 06:47 AM
I have installed the latest version of GreenCloud printer but have been unable to use it.
I am using Windows 7 Ultimate. My printer is HP LaserJet P1007.
I have installed the printer for networking on my TP Link Router (TD-W8968), [http://www.tp-link.in/products/details/?categoryid=219&model=TD-W8968] with the USB Printer controller software (TD-W8968_V1_USB Printer Controller Utility For Windows) [http://www.tp-link.in/Resources/software/TD-W8968_V1.0_USB_Print_Contro.zip] which works fine otherwise.

I have also noticed that after manually starting the VPDAgent, and keeping the setting at Automatic, it automatically stops after a print command.

I have also disable the option called "Render print jobs on client computers" in both printer's sharing properties. Also have tried removing the printer on the client, then add it again.

Any help for me to use the GreenCloud printer will be greatly appreciated.

Regards.

Mike

Phil
11-21-2013, 08:11 AM
Ok, please create a folder named "tmp" on your C: drive (if it doesn't exist already). Now when you print to GreenCloud, a log file should be created in this folder.
Please post the content here, or send me the file.

myekaf
11-21-2013, 09:02 AM
Ok. Here's the content of the log file.

module processing() exec reg_read_records(dir) in ..\src\Service.cpp at 419

WARNING: file: ..\src\Service.cpp; line: 457; time: Thu Nov 21 15:22:35 2013;
message: AGENT_CMD_DATA received

module read_reg_settings() exec configure_reg_key() in ..\src\regtools.cpp at 217
module configure_reg_key() exec get_sid(NULL) in ..\src\regtools.cpp at 173
module configure_reg_key() exec get_sid() in ..\src\regtools.cpp at 189

ERROR: file: ..\src\regtools.cpp; line: 234; time: Thu Nov 21 15:22:35 2013;
message: read_reg_settings(): failed to get settings via registry keys.
errcode: 0

module processing() exec exec_converter() in ..\src\Service.cpp at 480
module exec_converter() exec exec_user_app() in ..\src\Service.cpp at 516

WARNING: file: c:\vp2\sources\package\converter2\src\actions/cleanup_action.h; line: 70; time: Thu Nov 21 15:22:36 2013;
message: cleanup_print_files(): Spool file was deleted.

module read_reg_settings() exec configure_reg_key() in ..\src\regtools.cpp at 217
module configure_reg_key() exec get_sid(NULL) in ..\src\regtools.cpp at 173
module configure_reg_key() exec get_sid() in ..\src\regtools.cpp at 189
module read_reg_settings() exec configure_reg_key() in ..\src\regtools.cpp at 217
module configure_reg_key() exec get_sid(NULL) in ..\src\regtools.cpp at 173
module configure_reg_key() exec get_sid() in ..\src\regtools.cpp at 189
module read_reg_settings() exec configure_reg_key() in ..\src\regtools.cpp at 217
module configure_reg_key() exec get_sid(NULL) in ..\src\regtools.cpp at 173
module configure_reg_key() exec get_sid() in ..\src\regtools.cpp at 189
module read_reg_settings() exec configure_reg_key() in ..\src\regtools.cpp at 217
module configure_reg_key() exec get_sid(NULL) in ..\src\regtools.cpp at 173
module configure_reg_key() exec get_sid() in ..\src\regtools.cpp at 189

ERROR: file: ..\src\regtools.cpp; line: 234; time: Thu Nov 21 15:22:36 2013;
message: read_reg_settings(): failed to get settings via registry keys.
errcode: 0

module send_through_command_line() exec exec_user_app() in ..\src\Service.cpp at 829

ERROR: file: ..\src\tools.cpp; line: 124; time: Thu Nov 21 15:22:36 2013;
message: exec_user_app(): failed to CreateProcessAsUser(" "C:\Users\JS\AppData\Local\Temp\JOB15223500015.INI"").
errcode: 87

myekaf
11-21-2013, 09:18 AM
Here's the log after I manually started the VPDAgent

module processing() exec reg_read_records(dir) in ..\src\Service.cpp at 419

WARNING: file: ..\src\Service.cpp; line: 457; time: Thu Nov 21 15:35:40 2013;
message: AGENT_CMD_DATA received

module read_reg_settings() exec configure_reg_key() in ..\src\regtools.cpp at 217
module configure_reg_key() exec get_sid(NULL) in ..\src\regtools.cpp at 173
module configure_reg_key() exec get_sid() in ..\src\regtools.cpp at 189

ERROR: file: ..\src\regtools.cpp; line: 234; time: Thu Nov 21 15:35:40 2013;
message: read_reg_settings(): failed to get settings via registry keys.
errcode: 0

module processing() exec exec_converter() in ..\src\Service.cpp at 480
module exec_converter() exec exec_user_app() in ..\src\Service.cpp at 516

WARNING: file: c:\vp2\sources\package\converter2\src\actions/cleanup_action.h; line: 70; time: Thu Nov 21 15:35:41 2013;
message: cleanup_print_files(): Spool file was deleted.

module read_reg_settings() exec configure_reg_key() in ..\src\regtools.cpp at 217
module configure_reg_key() exec get_sid(NULL) in ..\src\regtools.cpp at 173
module configure_reg_key() exec get_sid() in ..\src\regtools.cpp at 189
module read_reg_settings() exec configure_reg_key() in ..\src\regtools.cpp at 217
module configure_reg_key() exec get_sid(NULL) in ..\src\regtools.cpp at 173
module configure_reg_key() exec get_sid() in ..\src\regtools.cpp at 189
module read_reg_settings() exec configure_reg_key() in ..\src\regtools.cpp at 217
module configure_reg_key() exec get_sid(NULL) in ..\src\regtools.cpp at 173
module configure_reg_key() exec get_sid() in ..\src\regtools.cpp at 189
module read_reg_settings() exec configure_reg_key() in ..\src\regtools.cpp at 217
module configure_reg_key() exec get_sid(NULL) in ..\src\regtools.cpp at 173
module configure_reg_key() exec get_sid() in ..\src\regtools.cpp at 189

ERROR: file: ..\src\regtools.cpp; line: 234; time: Thu Nov 21 15:35:41 2013;
message: read_reg_settings(): failed to get settings via registry keys.
errcode: 0

module send_through_command_line() exec exec_user_app() in ..\src\Service.cpp at 829

ERROR: file: ..\src\tools.cpp; line: 124; time: Thu Nov 21 15:35:41 2013;
message: exec_user_app(): failed to CreateProcessAsUser(" "C:\Users\JS\AppData\Local\Temp\JOB15354000016.INI"").
errcode: 87

myekaf
11-21-2013, 09:35 AM
Both prints are queued in the GreenCloud Printer spooler!

Phil
11-21-2013, 09:47 AM
So just to get this straight: You're printing to a local GreenCloud installation, or did you share GreenCloud on one computer, and print to it from another machine?

myekaf
11-21-2013, 09:47 AM
I do not understand your question? I have GreenCloud as the default printer.

myekaf
11-21-2013, 09:48 AM
The printer is attached to my wireless router. I have set up GreenCloud only on one Laptop.

Phil
11-21-2013, 09:58 AM
You mentioned the sharing options, that's why I thought you were printing to it from another machine.
Are you printing from an administrator account, or restricted user account?

myekaf
11-21-2013, 10:03 AM
Administrator account!

myekaf
11-21-2013, 10:23 AM
I mentioned the sharing options because I had seen that in another thread (Network Printer) on this forum.

Phil
11-21-2013, 11:08 AM
Alright, I forwarded the log to the driver team. I will get back to you once I have news!

Phil
11-25-2013, 10:00 AM
I'm suspecting a problem with some registry setting. Please hold down the Windows key and press "R", then enter the following command (best way is to copy and paste it):


reg export HKLM\Software\ObviousIdea\GreenCloudPrinter c:\tmp\gc_export.reg


This will create a registry file in C:\tmp. Please post its contents here.

myekaf
11-26-2013, 08:26 AM
Here's the contents of the registry file.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\ObviousIdea\GreenCloud Printer]
"Installation Directory"="C:\\Program Files\\ObviousIdea\\GreenCloud"
"Client application"="C:\\Program Files\\ObviousIdea\\GreenCloud\\GCHelper.exe"
"Transfer mode"=dword:00000000
"Output Directory"="C:\\Users\\JS\\AppData\\Local\\ObviousIdea\\GreenC loud Printer"
"Preprocessing: Application"="C:\\Program Files\\ObviousIdea\\GreenCloud\\GCPreproc.exe"
"Preprocessing: Transfer mode"=dword:00000000
"EMF: Hide page"=dword:00000001
"JPEG: Hide page"=dword:00000001
"PDF: Hide page"=dword:00000001
"FrNagMargin"=dword:00000003
"FrNagCloseBtn"=dword:00000000
"PrUpgInterval"=dword:00000014

[HKEY_LOCAL_MACHINE\Software\ObviousIdea\GreenCloud Printer\Defaults]
"EMF: Enabled"=dword:00000001
"PDF: Enabled"=dword:00000000
"PDF: Embed Font Style"=dword:00000002
"JPEG: Enabled"=dword:00000000

Phil
11-26-2013, 08:46 AM
Ok, can you check if this file exists: C:\Program Files\ObviousIdea\GreenCloud\GCHelper.exe

If you try to run it, there should be a message saying it cannot be run directly...

myekaf
11-30-2013, 12:36 AM
Yes, the file you specified does exist and when I tried to run it, it gave the exact same error message you specified.