Dr. Blip's PC-Doctor Forum

General Category => Ask Our Experts => Topic started by: ToddWelch on January 21, 2015, 01:23:00 pm

Title: Print Report to Network Print and or Save to Network Location
Post by: ToddWelch on January 21, 2015, 01:23:00 pm
How can I setup the bootable USB to be able to print to a network printer and or be able to save a report to a network location on our server?
Title: Re: Print Report to Network Print and or Save to Network Location
Post by: Kris_PCD on January 21, 2015, 02:25:14 pm
If I understand your request correctly, it sounds like you are looking for a way to print or save a report to a network address from within Bootable Diagnostics.  The software can print to a configured network printer in Windows, but not automatically upload results to a server.

Unfortunately Service Center does not have the requested capability. The best that I can suggest is creating a custom batch (or shell if you prefer to use Linux) script that will copy the files from the key to your server when you run it. Please note that I am unable to offer very much support in creating such a script. This has the downside of requiring you to connect the USB device to another computer when you want to upload your reports.

I'm sorry that I can't give you a better solution for now, but please let me know if you have any other questions.

Thanks,
Title: Re: Print Report to Network Print and or Save to Network Location
Post by: PromptCare on April 24, 2015, 06:50:10 pm
You can use XCOPY to transfer files to a UNC location.  Here's the batch I made up last night to do this (and then open the report in the PC's browser)

(runs from the MUD's root)

cd .\pcdoctor\sc_win\bin\
sccui.exe -script scripts/system.xml -session %computername%_%username% -exit -spr .\..\..\..\%computername%_%username%_report.html

cd..\..\..
md \\nas\users\reports\%computername%_%username%
xcopy %computername%_%username%_report.html \\nas\users\reports\%computername%_%username%\
start %computername%_%username%_report.html
Title: Re: Print Report to Network Print and or Save to Network Location
Post by: Kris_PCD on April 27, 2015, 10:14:20 am
Looks good to me  :)

Unfortunately, we can only provide limited assistance with custom batch files, but please feel free to share with the community if you find a solution that works for you.

Thanks,
Kris