Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: T_Hobbit on December 31, 2008, 04:01:23 AM

Title: USB Printer connected to wireless router?
Post by: T_Hobbit on December 31, 2008, 04:01:23 AM
Hi

How can I config printer module (cups.tcel) so I can print with an USB Printer (Epson C46) connected to the USB port of wireless router (ASUS WG-500L)?

Thanks
Title: Re: USB Printer connected to wireless router?
Post by: Juanito on January 03, 2009, 06:38:48 AM
From this site http://www.asus.com/products.aspx?l1=12&l2=43&l3=0&model=1277&modelmenu=1 (http://www.asus.com/products.aspx?l1=12&l2=43&l3=0&model=1277&modelmenu=1) it looks as though your router will share the usb attached printer under an ip address.

If you use firefox or opera to access the cups browser interface at http://localhost:631/ you can use the "add printer" dialogue and enter an address of the form "ipp://ip-address-or-hostname/resource"  - I guess your router user manual might help out with exact string to use. Note that you will need to set the root password with "sudo passwd" before you can use the cups broswer interface to do this.
Title: Re: USB Printer connected to wireless router?
Post by: tobiaus on January 03, 2009, 10:26:18 PM
probably you must setup a device every boot... you can't just "copy" or "restore" it to dev every time, as you know.

if you make a script, like you said, you can add files (scripts, but not devs) to filetool.lst using "tools" in the tinycore menu. that way if you change part of tinycore, that one script you name will restore every boot automatically. there is a "but!" the "but" is the script you add to must be a script that starts running after the restore script... otherwise you have to remaster.
Title: Re: USB Printer connected to wireless router?
Post by: Juanito on January 03, 2009, 11:10:39 PM
Once you have your printer working, if you add the following to your backup, the setup should persist on reboot:

/etc/cups/printers.conf
/etc/cups/ppd/OfficeJetG85.ppd [for example]
/etc/cups/cupsd.conf
Title: Re: USB Printer connected to wireless router?
Post by: tobiaus on January 04, 2009, 08:32:16 AM
Once you have your printer working, if you add the following to your backup, the setup should persist on reboot:

/etc/cups/printers.conf
/etc/cups/ppd/OfficeJetG85.ppd [for example]
/etc/cups/cupsd.conf

although when you actually add it to filetool.lst, you omit the first forward slash, yes?

etc/cups/printers.conf
etc/cups/ppd/OfficeJetG85.ppd
etc/cups/cupsd.conf
Title: Re: USB Printer connected to wireless router?
Post by: Juanito on January 04, 2009, 09:42:25 AM
That's correct