NSLU2-Linux
view · edit · print · history

HowTo.AddPrinter-OpenSlug History

Hide minor edits - Show changes to markup

March 11, 2008, at 10:08 AM by Magarus -- HP update
Changed lines 70-72 from:

NOTE: For those in need of a foo2zjs wrapper the solution is not viable. 2 weeks now and no success. Also ghostscript is not available from the slugOS repo. Do NOT use ghostscript from the OptWare? packages as it will freeze and keep the processor at 100% for days (tried that on my own skin). Even after compiling everything involving cups from source, including the foo2zjs wrapper my printer will still not work (HP 1020). Problem still not solved.

to:

NOTE: For those in need of a foo2zjs wrapper the solution is not viable. 2 weeks now and no success. Also ghostscript is not available from the slugOS repo. Do NOT use ghostscript from the OptWare? packages as it will freeze and keep the processor at 100% for days (tried that on my own skin). Even after compiling everything involving cups from source, including the foo2zjs wrapper my printer will still not work (HP 1020). Problem still not solved.

It seems that for HP printers in need of the foo2zjs driver hplip is also a must. The problem is that hplip fails at compile time and there is no hplip package. The printer works perfectly on Debian using it's own packages and the foo2zjs driver compiled from source.

March 10, 2008, at 01:56 AM by Magarus -- Foo2zjs problems still
Changed lines 68-70 from:

If for any reason you need more then two USB printer ports, ports lp2-lp15 can be created in the same way by increasing the minor number. At this point, CUPS is installed and functional, but you will likely need to install Ghostscript, and printer drivers for almost all modern printers.

to:

If for any reason you need more then two USB printer ports, ports lp2-lp15 can be created in the same way by increasing the minor number. At this point, CUPS is installed and functional, but you will likely need to install Ghostscript, and printer drivers for almost all modern printers.

NOTE: For those in need of a foo2zjs wrapper the solution is not viable. 2 weeks now and no success. Also ghostscript is not available from the slugOS repo. Do NOT use ghostscript from the OptWare? packages as it will freeze and keep the processor at 100% for days (tried that on my own skin). Even after compiling everything involving cups from source, including the foo2zjs wrapper my printer will still not work (HP 1020). Problem still not solved.

September 10, 2006, at 09:58 PM by maladon --
Added lines 3-4:

None of these steps seems to work on my OpenSlug...dependencies need to be better documented and the steps better debugged.

September 10, 2006, at 09:57 PM by maladon -- this section doesn\\
Changed lines 17-19 from:

4. Install ZLIB. OpenSlug already includes this library, but the header is strangely missing so recompile it.

to:

4. This section is broken...it does not work. It needs to be updated by the maintainer.

 Install ZLIB. OpenSlug already includes this library, but the header is strangely missing so recompile it.
Changed lines 25-27 from:

4. Install LibTIFF?

to:

5. This section is broken...it does not work. It needs to be updated by the maintainer.

 Install LibTIFF?
Changed line 33 from:

5. Install LibPNG?

to:

6. Install LibPNG?

Changed line 40 from:

6. Install LibJPEG?. LibJPEG? has an old version of libtool so it doesn't quite work correctly, but can be made to work fairly easily.

to:

7. Install LibJPEG?. LibJPEG? has an old version of libtool so it doesn't quite work correctly, but can be made to work fairly easily.

Changed line 50 from:

7. Install CUPS. There is a known bug with PAM and CUPS on OpenSlug at the moment

to:

8. Install CUPS. There is a known bug with PAM and CUPS on OpenSlug at the moment

Changed line 57 from:

8. Install the usblp kernel module and load it

to:

9. Install the usblp kernel module and load it

Changed line 61 from:

9. Create /dev/usb/lp0 and lp1

to:

10. Create /dev/usb/lp0 and lp1

August 31, 2006, at 09:43 PM by sonicmctails -- Updating version numbers
Changed lines 15-16 from:
to:
Changed line 47 from:
 tar zxvf cups-1.1.23.tar.gz
to:
 tar zxvf cups-1.2.2.tar.gz
Changed line 54 from:
 ipkg install kernel-module-usblp
to:
 ipkg install kmod-usb-printer
July 07, 2006, at 06:55 PM by eFfeM -- openslug-native -> slugos-native
Changed lines 3-5 from:

1. Install openslug-native for it's compilers, and openssl

 ipkg install openslug-native openssl
to:

1. Install slugos-native for it's compilers, and openssl

 ipkg install slugos-native openssl
December 29, 2005, at 08:10 AM by George Styles -- Added download link for cups itself
Changed lines 15-16 from:
to:
November 18, 2005, at 03:02 PM by sonicmctails --
Changed line 19 from:
 ./configure --prefix=/usr/local; make; make install
to:
 ./configure --prefix=/usr/local --enable-shared; make; make install
Changed line 35 from:

6. Install LibJPEG?

to:

6. Install LibJPEG?. LibJPEG? has an old version of libtool so it doesn't quite work correctly, but can be made to work fairly easily.

Changed lines 38-42 from:
 ./configure --prefix=/usr/local; make; make install; make install-lib
to:
 ./configure --prefix=/usr/local --enable-shared; (configure will fail, but it will write the Makefile, this is normal)
 ./ltconfig ltmain.sh armeb-linux (this builds libtool, and allows make to build a shared library)
 make
 make install
 make install-lib
November 13, 2005, at 02:54 PM by sonicmctails --
Changed line 43 from:
 ./configure --prefix=/usr/local --with-perl --enable-openssl --disable-pam.
to:
 ./configure --prefix=/usr/local --with-perl --enable-openssl --disable-pam
November 13, 2005, at 02:53 PM by sonicmctails --
Changed line 25 from:
 ./configure --prefix=/usr/local; make; make install
to:
 ./configure; make; make install
Changed line 41 from:

7. Install CUPS

to:

7. Install CUPS. There is a known bug with PAM and CUPS on OpenSlug at the moment

Changed line 43 from:
 ./configure --prefix=/usr/local --with-perl --enable-openssl
to:
 ./configure --prefix=/usr/local --with-perl --enable-openssl --disable-pam.
Changed line 57 from:

If for any reason you need more then two USB printer ports, ports lp2-lp15 can be created in the same way by increasing the minor number.

to:

If for any reason you need more then two USB printer ports, ports lp2-lp15 can be created in the same way by increasing the minor number. At this point, CUPS is installed and functional, but you will likely need to install Ghostscript, and printer drivers for almost all modern printers.

November 11, 2005, at 10:58 PM by sonicmctails --
Changed lines 1-2 from:

Strangely Enough, OpenSlug lacks any printer support out of the box, and while I hope to package CUPS and it's dependancies, for the time being, everything needs to be installed and compiled on the slug itself.

to:

Strangely enough, OpenSlug lacks any printer support out of the box, and while I hope to package CUPS and it's dependancies, for the time being, everything needs to be installed and compiled on the slug itself.

November 11, 2005, at 10:56 PM by sonicmctails --
Changed lines 7-8 from:

Note: CUPS supports printing over networks and serial ports, but that is outside the scoop of this document.

to:

Note: CUPS supports printing over networks and serial ports, but that is outside the scope of this document.

November 11, 2005, at 10:55 PM by sonicmctails --
Changed line 9 from:

3. Download CUPS dependancies in root's home folder. All the source code we need is available from

to:

3. Download CUPS dependancies in root's home folder. All the source code we need is available from the CUPS website.

Changed line 16 from:

4. Install ZLIB. OpenSlug already includes this library, but the header is straightly missing so recompile it.

to:

4. Install ZLIB. OpenSlug already includes this library, but the header is strangely missing so recompile it.

Added lines 46-57:

At this point CUPS is installed, but still non-functional. We now need to install the kernel module, and load it, as well as create device nodes since OpenSlug doesn't have any for printers:

8. Install the usblp kernel module and load it

 ipkg install kernel-module-usblp
 modprobe usblp

9. Create /dev/usb/lp0 and lp1

 mkdir -p /dev/usb
 mknod /dev/usb/lp0 c 180 0
 mknod /dev/usb/lp1 c 180 1

If for any reason you need more then two USB printer ports, ports lp2-lp15 can be created in the same way by increasing the minor number.

November 11, 2005, at 10:50 PM by sonicmctails --
Changed lines 44-45 from:
 make; make install=]
to:
 make; make install
November 11, 2005, at 10:49 PM by sonicmctails --
Deleted line 0:

<<<<<<<

Changed lines 4-5 from:

ipkg install openslug-native openssl

to:
 ipkg install openslug-native openssl
Changed lines 10-15 from:
to:
Changed lines 17-21 from:

tar zxvf zlib-1.1.3.tar.gz cd zlib-1.1.3 ./configure --prefix=/usr/local; make; make install cd ..

to:
 tar zxvf zlib-1.1.3.tar.gz
 cd zlib-1.1.3
 ./configure --prefix=/usr/local; make; make install
 cd ..
Changed lines 23-27 from:

tar zxvf tiff-v3.4-tar.gz cd tiff-v3.4 ./configure --prefix=/usr/local; make; make install cd ..

to:
 tar zxvf tiff-v3.4-tar.gz
 cd tiff-v3.4
 ./configure --prefix=/usr/local; make; make install
 cd ..
Changed lines 29-34 from:

tar zxvf libpng-1.0.6.tar.gz cd libpng-1.0.6 make -f scripts/makefile.linux make -f scripts/makefile.linux install cd ..

to:
 tar zxvf  libpng-1.0.6.tar.gz
 cd libpng-1.0.6
 make -f scripts/makefile.linux
 make -f scripts/makefile.linux install
 cd ..
Changed lines 36-40 from:

tar zxvf jpegsrc.v6b.tar.gz cd jpeg-6b ./configure --prefix=/usr/local; make; make install; make install-lib cd ..

to:
 tar zxvf jpegsrc.v6b.tar.gz
 cd jpeg-6b
 ./configure --prefix=/usr/local; make; make install; make install-lib
 cd ..
Changed lines 42-47 from:

tar zxvf cups-1.1.23.tar.gz ./configure --prefix=/usr/local --with-perl --enable-openssl make; make install ======= Placeholder for McTails? to put his notes >>>>>>>

to:
 tar zxvf cups-1.1.23.tar.gz
 ./configure --prefix=/usr/local --with-perl --enable-openssl
 make; make install=]
November 11, 2005, at 10:47 PM by sonicmctails -- Installing CUPS
Changed lines 1-48 from:

Placeholder for McTails? to put his notes

to:

<<<<<<< Strangely Enough, OpenSlug lacks any printer support out of the box, and while I hope to package CUPS and it's dependancies, for the time being, everything needs to be installed and compiled on the slug itself.

1. Install openslug-native for it's compilers, and openssl ipkg install openslug-native openssl

2. Connect your printer to the slug via USB. Note: CUPS supports printing over networks and serial ports, but that is outside the scoop of this document.

3. Download CUPS dependancies in root's home folder. All the source code we need is available from cd ~; mkdir src; cd src wget ftp://ftp.easysw.com/pub/libraries/zlib-1.1.3.tar.gz wget ftp://ftp.easysw.com/pub/libraries/tiff-v3.4-tar.gz wget ftp://ftp.easysw.com/pub/libraries/jpegsrc.v6b.tar.gz wget ftp://ftp.easysw.com/pub/libraries/libpng-1.0.6.tar.gz

4. Install ZLIB. OpenSlug already includes this library, but the header is straightly missing so recompile it. tar zxvf zlib-1.1.3.tar.gz cd zlib-1.1.3 ./configure --prefix=/usr/local; make; make install cd ..

4. Install LibTIFF? tar zxvf tiff-v3.4-tar.gz cd tiff-v3.4 ./configure --prefix=/usr/local; make; make install cd ..

5. Install LibPNG? tar zxvf libpng-1.0.6.tar.gz cd libpng-1.0.6 make -f scripts/makefile.linux make -f scripts/makefile.linux install cd ..

6. Install LibJPEG? tar zxvf jpegsrc.v6b.tar.gz cd jpeg-6b ./configure --prefix=/usr/local; make; make install; make install-lib cd ..

7. Install CUPS tar zxvf cups-1.1.23.tar.gz ./configure --prefix=/usr/local --with-perl --enable-openssl make; make install ======= Placeholder for McTails? to put his notes >>>>>>>

November 11, 2005, at 10:30 PM by ByronT -- Placeholder
Added line 1:

Placeholder for McTails? to put his notes

view · edit · print · history · Last edited by Magarus.
Based on work by Magarus, maladon, sonicmctails, eFfeM, and George Styles.
Originally by ByronT.
Page last modified on March 11, 2008, at 10:08 AM