WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: USB Printer connected to wireless router?  (Read 4490 times)

Offline T_Hobbit

  • WikiUser
  • *
  • Posts: 12
USB Printer connected to wireless router?
« 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
T_Hobbit @ This little country by the sea!
Save the Lynx!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13941
Re: USB Printer connected to wireless router?
« Reply #1 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 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.

Offline tobiaus

  • Suspended
  • Hero Member
  • *****
  • Posts: 599
Re: USB Printer connected to wireless router?
« Reply #2 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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13941
Re: USB Printer connected to wireless router?
« Reply #3 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

Offline tobiaus

  • Suspended
  • Hero Member
  • *****
  • Posts: 599
Re: USB Printer connected to wireless router?
« Reply #4 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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13941
Re: USB Printer connected to wireless router?
« Reply #5 on: January 04, 2009, 09:42:25 AM »
That's correct