WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Share Your Printer Setup  (Read 2838 times)

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Share Your Printer Setup
« on: June 05, 2009, 01:00:31 PM »
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

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
« Last Edit: August 30, 2009, 11:51:19 AM by Guy »
Many people see what is. Some people see what can be, and make a difference.

Offline Multitudes

  • Newbie
  • *
  • Posts: 4
hp LaserJet 1300n working with CUPS 1.3.8
« Reply #1 on: October 07, 2009, 03:14:50 PM »
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

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: Share Your Printer Setup
« Reply #2 on: October 08, 2009, 03: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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: Share Your Printer Setup
« Reply #3 on: October 08, 2009, 05: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.

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: Share Your Printer Setup
« Reply #4 on: October 08, 2009, 05:42:19 AM »
thanks Juanito, i did not know that, nice tip