Page 1 of 19 123456 11 ... LastLast
Results 1 to 20 of 380
Like Tree87Likes
  1.    #1  
    Update 10/26/2011:
    Version 1.2.1 has been released. This release contains a fix that forces GhostScript to print simplex or duplex (based on the job setting). This should hopefully resolve issues that users reported about jobs not printing single-sided or double-sided (based on the selected option on the TouchPad).

    Summary:
    Touch2Pc Printer is a Windows application that emulates an HP printer and accepts print jobs from the TouchPad. From there, the received job is converted to PDF and optionally printed to a physical printer added to Windows.

    Where can I download?
    Binaries are available at: http://dl.dropbox.com/u/24894676/Tou...ter_v1.2.1.zip
    Source code is available at: http://dl.dropbox.com/u/24894676/Tou...v1.2.1_src.zip

    How do I run it?
    1. Verify that .NET Framework 4 is installed on your machine (you can check by opening Add/Remove Programs and look for "Microsoft .NET Framework 4" or something similar). If it's not installed, you can download it at Download Details - Microsoft Download Center - Microsoft .NET Framework 4 (Standalone Installer)
    2. Open TouchPad2PcPrinter.exe and configure the options as follows:
      1. If you want to print to a physical printer, select the printer from one of the drop down boxes that corresponds to the capabilities of that printer (if you have a Simplex printer that prints Color, select that printer for the “Simplex/Color” drop-down). When you print from the TouchPad and specify 1-sided color printing, the print job will be printed on the “Simplex/Color” printer that you selected. You can support up to four different printing “profiles” by selecting different printers to handle jobs that require different capabilities.
      2. If you are only “printing to PDF”, check the check box labeled “Print to PDF only”. This will disable the drop down boxes for the output printer. All PDF files are still in color (there’s no way to force black and white PDFs) .It might be convenient to set your Output Folder to your DropBox folder, so you can immediately view the PDF from the TouchPad.
    3. Click “Save”.
    4. Click “Start”. This will start the Touch2Pc Printer server.
    5. If a firewall warning dialog appears, be sure to allow Touch2Pc Printer network access (allow the firewall exception).
    6. On the TouchPad, open the Printer Settings application.
    7. Tap on “Add or remove printer”.
    8. Type in the IP address of your computer. If you’re not sure of your IP address, open a command prompt and type “ipconfig” and then press ENTER.
    9. You can name the printer whatever you want.
    10. You should now be able to send print jobs from the TouchPad to your computer!


    Which ports need to be open?
    Touch2Pc Printer requires that TCP port 9100 and UDP port 161 be open for the program to work correctly. Also, the computer that the program is running on must be pingable from the TouchPad.

    How does it work?
    The program does multiple things, one of which is respond to SNMP requests sent by the TouchPad to identify the "printer". Whenever the TouchPad sends SNMP requests, the program responds with information about the HP pseudo-printer. Namely, SNMP variable 1.3.6.1.4.1.11.2.3.9.1.1.7.0 is used to retrieve the device string. This is how the TouchPad determines if a printer is an HP or not (see line 27 and 29 of SnmpObjects.cs to see what exactly the program sends as the response for that variable request).

    Once the TouchPad has received the SNMP response, it then presents the user with the print dialog. After the user confirms the print job, the TouchPad sends the print job (as a PCL file) to TCP/IP port 9100, which the program is listening on. The program reads in the job.

    After the program has received the job, the job is then converted to either PostScript (for physical printer printing), or PDF (for "printing to PDF") using GhostPCL. If printing to a physical printer, the program calls into the GhostScript API to print the PostScript file.

    Disadvantages
    I think the primary disadvantage to this solution is that you need to have a computer on the same local network running this program whenever you want to print. If you primarily use the TouchPad wherever you have a computer, that shouldn't pose a big problem.

    License
    Touch2Pc Printer is licensed under the GPL v3. However, it uses some components that are licensed under different terms (see legal.txt for details).

    Special Thanks
    Thanks to McTristan for working on several stability and new feature updates.

    I'd be happy to help anyone out if they encounter issues with the program.

    Previous Versions
    Version 1.2.0 binaries: http://dl.dropbox.com/u/24894676/Tou...ter_v1.2.0.zip
    Version 1.2.0 source: http://dl.dropbox.com/u/24894676/Tou...v1.2.0_src.zip

    Version 1.1.3 binaries: http://dl.dropbox.com/u/24894676/Tou...ter_v1.1.3.zip
    Version 1.1.3 source: http://dl.dropbox.com/u/24894676/Tou...v1.1.3_src.zip

    Version 1.1.2 binaries: http://dl.dropbox.com/u/24894676/Tou...ter_v1.1.2.zip
    Version 1.1.2 source: http://dl.dropbox.com/u/24894676/Tou...v1.1.2_src.zip

    Version 1.1.0 binaries: http://dl.dropbox.com/u/24894676/Tou...inter_v1.1.zip
    Version 1.1.0 source: http://dl.dropbox.com/u/24894676/Tou...r_v1.1_src.zip

    Version 1.0.0 binaries: http://dl.dropbox.com/u/24894676/tou...daemon_bin.zip
    Version 1.0.0 source: http://dl.dropbox.com/u/24894676/tou...mon_source.zip
    Last edited by theomodsim; 11/05/2011 at 02:20 PM. Reason: Previous version list
  2. #2  
    Awesome job!!!
    Maverick_[GER] likes this.
  3. #3  
    Great work. I'm sure this will come in handy for those of you who do not own HP printers. I myself decided to take the plunge and picked up an acceptable HP D110a and never looked back.
  4. #4  
    This really is awesome... thanks so much for sharing it with the rest of us. I just printed my first doc from the Touchpad to a Canon printer. Woohoo! I did encounter a problem though.

    The program attempts to write to an "output" subdirectory underneath it's installation folder. If that folder is within a Program Files subdirectory though it'll fail on Windows 7 - programs can no longer write to the Program Files directory or sub-directories. Simple to work-around by just installing it elsewhere but it would be better if the program wrote it's output to the %TEMP% folder or perhaps %APPDATA%, then it would work regardless.

    Thanks again though... this is gonna end up on the front page of PreCentral soon I'm sure.
  5. #5  
    Also, the program did leave an empty Adobe Acrobat window open after the printing finished. It'd be nice if that could be cleaned up on exit too, or at least opened in a hidden window.
  6. #6  
    This is pretty cool. Thanks for posting this! I know what I'm messing around with this weekend now!
  7. #7  
    I might be missing something. I ran the command lines, approved the firewall access, added the printer successfully to my touchpad. However, whenever I try to print the command keeps saying EXCEPTION OCCURRED: the system cannot find the file specified.
    This is on WIN 7 home premium 64 bit.

    also does the command have to be up at all times, or is there another way of running the program? Thanks.
  8. dentz's Avatar
    Posts
    94 Posts
    Global Posts
    101 Global Posts
    #8  
    Will this work with a wireless printer?
  9. #9  
    i hope one day this would become a patch
    If this helped you hit thanks.
  10. #10  
    Quote Originally Posted by dentz View Post
    Will this work with a wireless printer?
    What else will it work for?
  11. #11  
    Great work!
    Would be even better if someone can make a Linux version of this programm running as a deamon on my Ubuntu media server pc at home!
  12. #12  
    Quote Originally Posted by kkhanmd View Post
    i hope one day this would become a patch
    This will never be a patch because it doesn't change anything on the Touchpad. The program is installed on a PC. It cleverly masquerades as an HP printer to accept your print request and send it to your default printer.
  13. funb0b's Avatar
    Posts
    36 Posts
    Global Posts
    39 Global Posts
    #13  
    Excellent work

    Any chance of img of your command promt input screen as I'm getting lost with dos commands it would just help see what it should look like.

    Cheers
  14. #14  
    Will this work on a Mac?
  15. #15  
    Maybe I'm completely off with this thought, but wouldn't it be (theoretically) possible to implement the same functionality ON the Touchpad itself? So the program would run on the TP and pretend to be a HP printer, while it actually receives the file and forwards it to a non-HP printer?
  16. #16  
    Quote Originally Posted by Alphajoe View Post
    Maybe I'm completely off with this thought, but wouldn't it be (theoretically) possible to implement the same functionality ON the Touchpad itself? So the program would run on the TP and pretend to be a HP printer, while it actually receives the file and forwards it to a non-HP printer?
    Not really. Because what it is doing is effectively providing an internet connected HP printer emulating driver for your computer's default printer.

    Thanks theomodsim. Apart from leaving Acrobat reader open it worked great on my XP machine (once I had installed .NET and MS WIC)
  17. #17  
    Quote Originally Posted by dentz View Post
    Will this work with a wireless printer?
    Same question.

    Also how are people doing this, networked printer, usb connected, wireless?

    Since it sends to the computers default printer, I am guessing this will work with any of the 3, it just has to be the PC's default printer.


    Great work to the OP BTW... too bad my printer is direct wired to my office computer that is only on when I need to use it.
    I love physical keyboards... but there is two devices that would make me consider a slab, one is something running a full version of Open webOS. The other is an iPhone!!!! HA HA just kidding (about the iPhone that is)...
    Mario Luna likes this.
  18. #18  
    Quote Originally Posted by Alphajoe View Post
    Maybe I'm completely off with this thought, but wouldn't it be (theoretically) possible to implement the same functionality ON the Touchpad itself? So the program would run on the TP and pretend to be a HP printer, while it actually receives the file and forwards it to a non-HP printer?
    At this point patching the Touchpad to print to non-HP printers is *truly* only theoretically possible. It's not practical and likely won't be done because the source code isn't available. Unlike a lot of the apps provided with WebOS, the printing functionality isn't implemented in javascript or another language with source code that's available. Virtually all of the patches available are possible because Palm/HP has provided source and thus it can be interrogated and changed.
  19. Xeron's Avatar
    Posts
    237 Posts
    Global Posts
    250 Global Posts
    #19  
    Great! Thanks for this!

    One question, though.... any chance you could support Foxit reader for printing? Adobe is such a resource hogging sack of crap that I don't want to switch unless I have to...
    Last edited by Xeron; 09/15/2011 at 12:31 PM.
  20. #20  
    Thanks for the info. I was afraid of such an answer...
    kushina likes this.
Page 1 of 19 123456 11 ... LastLast

Tags for this Thread

Posting Permissions