Tiny Core Linux
General TC => General TC Talk => Topic started by: Guy on June 05, 2009, 10:00:31 AM
-
If you have a printer working with Tiny Core, share your setup information. This will help new users to setup printers.
In particular
1. Did you use any extensions other than Cups?
2. What needs to be added to .filetool.lst for setup to persist when restarting the computer?
3. Anything else specific to that model which may help someone else with the same type of printer.
For a Brother HL-6050D printer.
Extension needed
cups
Add to .filetool.lst for persistence
etc/cups
Printer drivers can be downloaded from http://openprinting.org/printer_list.cgi (http://openprinting.org/printer_list.cgi)
To start cups automatically, add /usr/local/bin/cups_start.sh to /opt/bootlocal.sh.
For a full explanation of how the Brother HL-6050D printer was set up in Tiny Core, see
/printer.html][removed due to policy violation]/printer.html (http://[removed due to policy violation)
-
I have a hp laserjet 1300n printing connected with CUPS through socket.
Here's what I did:
- load cups.tcel
- click CUPS icon and set root password (6+ chars)
- open http://localhost:631 and setup printer
- set printer as server default
- print test pages from CUPS, terminal and an application
- smile
For persistance ad these files to /opt/.filetool.lst:
- /etc/cups/cupsd.conf
- /etc/cups/printers.conf
- /etc/cups/ppd/<yourprintername>.ppd
If you choose not to add CUPS to your optional directory then you have to load cups.tcel and click the icon to set the root password. Then CUPS is running with your saved configuration.
/Multitudes
-
simple bash script for a HP Laserjet 3052, with extensions and ppd file stored on an external hd (/mnt/sda2/tcz)
#!/bin/bash
sudo cp -R /mnt/sda2/tcz/cups/cups /etc
tce-load -i /mnt/sda2/tcz/cups/libusb.tczl
tce-load -i /mnt/sda2/tcz/cups/expat2.tczl
tce-load -i /mnt/sda2/tcz/cups/dbus.tczl
tce-load -i /mnt/sda2/tcz/cups/libcups.tczl
tce-load -i /mnt/sda2/tcz/cups/cups.tczl
with following content in /mnt/sda2/tcz/cups/cups:
classes.conf mime.convs printers.conf.O
classes.conf.O mime.types pstoraster.convs
cupsd.conf ppd/ snmp.conf
cupsd.conf.default printers.conf
and following ppd file in /mnt/sd2/tcz/cups/cups/ppd:
HP_LaserJet_3052_USB_1.ppd
The script copy the cups directory stored on the external drive to /etc and load the needed extensions for cups to run; it is symlink to /home/tc.
-
#!/bin/bash
sudo cp -R /mnt/sda2/tcz/cups/cups /etc
tce-load -i /mnt/sda2/tcz/cups/libusb.tczl
tce-load -i /mnt/sda2/tcz/cups/expat2.tczl
tce-load -i /mnt/sda2/tcz/cups/dbus.tczl
tce-load -i /mnt/sda2/tcz/cups/libcups.tczl
tce-load -i /mnt/sda2/tcz/cups/cups.tczl
As from tc-2.4rc1, if you put cups.tczl.dep in /mnt/sda2/tcz, you will only need the last tce-load command.
-
thanks Juanito, i did not know that, nice tip