09/15/2011, 07:50 PM
Thanks to everybody for the support and feedback. I'll be working on improving the program over the next week or so. I'm thinking that the program will eventually be a GUI application that can be minimized to the system tray.
I'm hoping to find a solution for the Adobe Reader window remaining open after printer, but I still haven't found a good one yet. The program calls AcroRd32.exe with the "/t" switch (print silently), but Adobe Reader doesn't exit after printing. I've looked around for command line switches to close Adobe Reader after printing, but I haven't found anything. I'll mess around with using DDE instead to command Adobe Reader to print the file, hopefully then it will close after printing.
As for Mac and Linux support, I'll try not to use newer features of the .NET framework so someone hopefully can get it to run on Mono with minimal modification. If anyone is trying to port the program and encounters problems, please let me know.
I'll definitely get the "output" directory moved to a more appropriate (limited user-friendly) place. I'm thinking to make it a user-configurable location so that users who want to print to PDF only can set the path (perhaps to a Dropbox folder, etc.)
Originally Posted by wtgreen
The program works with any printer that you can print to from Windows. If you can print a PDF file in Windows to your printer, then your printer is supported by this program.
Originally Posted by dentz
I think it could work with some modification, specifically running the program under Mono and getting a OS X binary for pcl6.exe. I don't have a Mac though, so I'm not sure about this.
Originally Posted by wilburjoe
Unfortunately, there's no guarantee that your PDF program will not display a dialog box or do anything that would interrupt the printing process, so it's pretty much impossible to support the myriad list of PDF programs available for Windows. So I settled on Adobe Reader, since it seems to be the most popular.
Originally Posted by Xeron
If you can find a website with command line switches to silently print a PDF with Foxit reader, I'll gladly build a custom .exe for you to support Foxit.
I'll definitely keep this in mind when working on this during the next week.
Originally Posted by STBXXL
I probably can't make it a true Windows service, because it needs to launch programs with a GUI and having a Windows service interact with the desktop is generally frowned upon in Windows Vista and newer. That being said, I'm thinking on making the program be a GUI application that is minimizable to the system tray, so it shouldn't clutter the desktop when running.
Originally Posted by jhoff80
As for the auto-start after boot, I'll definitely keep that feature in mind when working on this.
Thanks for letting me know about that oversight in the instructions. I'll add it now.
Originally Posted by Grabber5.0
Thanks for the improved instructions. I'll add them now.
Originally Posted by johncc