Tiny Core Linux

General TC => General TC Talk => Topic started by: Guy on June 05, 2009, 10:00:31 AM

Title: Share Your Printer Setup
Post 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)
Title: hp LaserJet 1300n working with CUPS 1.3.8
Post by: Multitudes on October 07, 2009, 12:14:50 PM
I have a hp laserjet 1300n printing connected with CUPS through socket.

Here's what I did:

For persistance ad these files to /opt/.filetool.lst:

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
Title: Re: Share Your Printer Setup
Post by: alu on October 08, 2009, 12:15:28 AM
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.
Title: Re: Share Your Printer Setup
Post by: Juanito on October 08, 2009, 02:37:09 AM
#!/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.
Title: Re: Share Your Printer Setup
Post by: alu on October 08, 2009, 02:42:19 AM
thanks Juanito, i did not know that, nice tip