01-08-2008, 08:10 PM | #1 |
Addict
Posts: 325
Karma: 1725
Join Date: Dec 2007
Location: Münster, Germany
Device: iRex iLiad v2
|
My iLiad became a network printer...
Hi folks,
I just converted my iLiad into a network printer
Edit: Files and more details are in this post. Last edited by -Thomas-; 01-09-2008 at 03:48 PM. |
01-08-2008, 10:50 PM | #2 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Brilliant! I don't know why it wasn't thought of before. Great work.
|
01-09-2008, 03:13 AM | #3 |
iLiad Maniac
Posts: 1,382
Karma: 2369
Join Date: Apr 2006
Location: Germany
Device: Bookeen Opus (i love that thing) and iPad (what an irony)
|
Great idea. Do you have your network permanently on for that, or do you have to start the printerapplication? Just curious, because WiFi draws soooo much power.
|
01-09-2008, 03:23 AM | #4 | |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2007
|
Very cool! I've been dying to do something like this, but I'm not yet satisfied with the connectivity options (more below). I have a couple questions about how you've done this:
Quote:
The biggest issue I have with Samba is the fact that I put my iLiad and my laptop on many different networks and sometimes they can't be on the same one. Frankly, this makes Wi-Fi a terrible option for me, though I hope Ad Hoc networking+Zeroconf might make things easier. If I'm reading things correctly, you have to connect to the shared 'printer' by its IP address -- is that correct? Even better would be a tiny Bluetooth adapter and a software stack to make the iLiad look like a printer. (Though I'm more likely to send a Mac OS X-generated PDF file via Bluetooth file exchange using Automator, because that's dead easy.) Even better than that would be a pop-up window on the iLiad once the file is received to let me put the file where I want it (and give it a new title, etc.) Enough about my crazy ideas and complete lack of time to work on them. This is really cool news, and I'm looking forward to poking at the code when you post it. Once upon a time, I remember Windows could auto-download a driver for a properly configured printer via Samba -- I think it's time to figure out how that works. |
|
01-09-2008, 12:31 PM | #5 | ||||
Addict
Posts: 325
Karma: 1725
Join Date: Dec 2007
Location: Münster, Germany
Device: iRex iLiad v2
|
Quote:
I still have some problems due to missing fonts, so the disk usage might still go up... Quote:
I also did some WLAN Ad-Hoc tests which were positive. The new busybox already includes a DHCP server (udhcpd), so all you have to do is set up an ad-hoc network, start the dhcp server and give clients an IP in a private address space. Quote:
Quote:
|
||||
01-09-2008, 02:50 PM | #6 |
Addict
Posts: 325
Karma: 1725
Join Date: Dec 2007
Location: Münster, Germany
Device: iRex iLiad v2
|
I finally packaged GhostScript into an ipkg package. I didn't create an installer yet for the following reason: For now, this is a beta version as I think, and you have to do other steps by hand either. So running the ipkg command on a console should be possible for everyone who wants to use it.
GS and the fonts need about 9 MB disk space, samba not included. Here's what you have to do:
After you have done so, you may install the "printer" in your PC's control panel. Choose "Samba printer", "\\(your iliad ip)\PDF" as the URL and select any PostScript printer driver. The driver for the "Apple Color LW 12/660 PS" works quite well ("Color" works even without the secret color hack ). The next step will be a "One click activation", so you don't have to mess around with the console that much. Have fun with your tree-saving toner free printer EDIT: /usr/local/bin has to be in the $PATH for ps2pdf, this is now corrected in the new version of the print2pdf.sh script. Last edited by -Thomas-; 01-10-2008 at 04:30 AM. Reason: New version of print2pdf.sh fixes an error |
01-10-2008, 02:39 AM | #7 |
Junior Member
Posts: 2
Karma: 10
Join Date: Dec 2007
Device: iLiad
|
|
01-10-2008, 04:27 AM | #8 | ||
Addict
Posts: 325
Karma: 1725
Join Date: Dec 2007
Location: Münster, Germany
Device: iRex iLiad v2
|
Quote:
Quote:
But despite that printing to CF isn't slower, because CF and WiFi are not used at the same time. Samba first writes a temporary file to /tmp (which is located in RAM), converts it to pdf and then moves it to the CF card after using the WiFi interface. |
||
Tags |
ghostscript, iliad, network printer |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pretty Printer | crutledge | Sigil | 4 | 09-01-2010 04:42 PM |
Kindle 2 as a printer | mowbray | Amazon Kindle | 10 | 02-21-2010 03:16 PM |
About Printer for Librie | mike007dog | Sony Reader | 0 | 12-14-2009 03:29 AM |
Iliad as wireless printer? | eterps | iRex | 5 | 05-14-2008 06:14 PM |
Virtual Printer | phyzjqk | iRex | 4 | 02-15-2007 02:43 PM |