View Single Post
Old 01-09-2008, 02:50 PM   #6
-Thomas-
Addict
-Thomas- once ate a cherry pie in a record 7 seconds.-Thomas- once ate a cherry pie in a record 7 seconds.-Thomas- once ate a cherry pie in a record 7 seconds.-Thomas- once ate a cherry pie in a record 7 seconds.-Thomas- once ate a cherry pie in a record 7 seconds.-Thomas- once ate a cherry pie in a record 7 seconds.-Thomas- once ate a cherry pie in a record 7 seconds.-Thomas- once ate a cherry pie in a record 7 seconds.-Thomas- once ate a cherry pie in a record 7 seconds.-Thomas- once ate a cherry pie in a record 7 seconds.-Thomas- once ate a cherry pie in a record 7 seconds.
 
-Thomas-'s Avatar
 
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:
  1. Install the attached ipkg file by issuing
    Code:
    ipgk install -force-overwrite -force-defaults gs-esp_8.15.3.iLiad.0.1.ipk
    This will install GS and the fonts into /usr/local (I used the symlink-creating-script flying around in other packages).
  2. Download the attached print2pdf.sh and configure the target directory for your PDF files (standard: Documents on Internal memory). Place the script in /usr/local/bin on your iLiad.
  3. Get ajnorth's samba, install and configure it as seen in the attached smb.conf.
  4. Now start up samba by issuing
    Code:
    /mnt/free/samba/bin/start.sh
    and configure your network.

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.
Attached Files
File Type: zip gs-esp_8.15.3.iLiad.0.1.ipk.zip (5.28 MB, 458 views)
File Type: gz smb.conf.gz (371 Bytes, 521 views)
File Type: gz print2pdf.sh.gz (332 Bytes, 502 views)

Last edited by -Thomas-; 01-10-2008 at 04:30 AM. Reason: New version of print2pdf.sh fixes an error
-Thomas- is offline   Reply With Quote