I've been agonizing whether to release this in the wild because it isn't a 100% solution yet. The problem with Mobile devices is that no one has developed a good way to print documents directly from them. I have come up with a fairly simple way to print.
It involves installing a simple print daemon on a windows machine that has a default printer of some kind. It doesn't matter the type. If the PC can print and it is the default you are good to go.
This daemon will print any document recognizable by the Windows PC.
The basic idea is to pass the name of the directory you would like the daemon to monitor for files as a parameter.
The directory must be shared and writeable by devices such as smartphones.
This folder can be a network share or ftp folder if you have an ftp server setup. If you don't know how to share folders or setup an ftp server, start googling.
1. Extract the file in the zip and save it to your local disk. On XP drop a shortcut to this file to Documents and Settings\All Users\Startup.
On Vista and newer click Start-Programs-Startup and right click Open All Users then drop a shortcut to the file in that folder. You must be in an admin account to do this and the Print.vbs file must be on a local drive of the PC or you will get security warnings. I wrote the program in vb. Inspect it if you like.
2.Edit the properties of the shortcut and add the folder name to monitor to the commandline such as "c:\program files\print.vbs" "C:\Printme". This printme folder is the one shared to the mobile devices.
3. Reboot the computer and log back in. You should then see wscript running in the task manager. It checks for files every three minutes and doesn't slow the computer. You'll get a warning if you didn't do step two and things won't work.
4. For Windows Mobile map the shared folder from the pc using NetUse.
For Android create a Samba share to the LAN using estrongs File manager.
For other platforms or the the above, turn on ftp on the XP machine
and use an ftp client to access the folder. estrongs can also be used for ftp if you are printing over the internet.
5. To print, simply copy the file(s) into the Shared folder on the server from the phone using estrongs or an ftp client.
If the XP machine has a file association for the file, it will print to the default printer and then delete the file. You may want a special folder like Printme so that other stuff doesn't go in there.
PDFs and office documents work well. Problems: First it requires a moderately tech savvy person to setup. Second, you need software such as MS Office or adobe reader installed on the host so the computer knows what to do with the file. Third, and here is the big one so far, a user account has to be logged in to activate the script. I haven't been successful running it as a system service because the System service can't spawn apps even if you runas admin.
So there it is. Maybe it helps someone.
It involves installing a simple print daemon on a windows machine that has a default printer of some kind. It doesn't matter the type. If the PC can print and it is the default you are good to go.
This daemon will print any document recognizable by the Windows PC.
The basic idea is to pass the name of the directory you would like the daemon to monitor for files as a parameter.
The directory must be shared and writeable by devices such as smartphones.
This folder can be a network share or ftp folder if you have an ftp server setup. If you don't know how to share folders or setup an ftp server, start googling.
1. Extract the file in the zip and save it to your local disk. On XP drop a shortcut to this file to Documents and Settings\All Users\Startup.
On Vista and newer click Start-Programs-Startup and right click Open All Users then drop a shortcut to the file in that folder. You must be in an admin account to do this and the Print.vbs file must be on a local drive of the PC or you will get security warnings. I wrote the program in vb. Inspect it if you like.
2.Edit the properties of the shortcut and add the folder name to monitor to the commandline such as "c:\program files\print.vbs" "C:\Printme". This printme folder is the one shared to the mobile devices.
3. Reboot the computer and log back in. You should then see wscript running in the task manager. It checks for files every three minutes and doesn't slow the computer. You'll get a warning if you didn't do step two and things won't work.
4. For Windows Mobile map the shared folder from the pc using NetUse.
For Android create a Samba share to the LAN using estrongs File manager.
For other platforms or the the above, turn on ftp on the XP machine
and use an ftp client to access the folder. estrongs can also be used for ftp if you are printing over the internet.
5. To print, simply copy the file(s) into the Shared folder on the server from the phone using estrongs or an ftp client.
If the XP machine has a file association for the file, it will print to the default printer and then delete the file. You may want a special folder like Printme so that other stuff doesn't go in there.
PDFs and office documents work well. Problems: First it requires a moderately tech savvy person to setup. Second, you need software such as MS Office or adobe reader installed on the host so the computer knows what to do with the file. Third, and here is the big one so far, a user account has to be logged in to activate the script. I haven't been successful running it as a system service because the System service can't spawn apps even if you runas admin.
So there it is. Maybe it helps someone.