Author Topic: Hurry up!!How to set printer?  (Read 1706 times)

akong

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Hurry up!!How to set printer?
« on: December 18, 2008, 10:01:32 am »
I want set printer on eBox and to share it.
But when I choose driver.
What??
it's empty.
How to add printer driver to eBox?
Please tell me.

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Hurry up!!How to set printer?
« Reply #1 on: December 22, 2008, 02:44:38 pm »
Can you please post the output of:

Code: [Select]
apt-cache policy foomatic-db-hpijs

akong

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Hurry up!!How to set printer?
« Reply #2 on: December 23, 2008, 04:16:31 am »
Yes,
Please see follow message:
foomatic-db-hpijs:
撌脣株?0080211-1ubuntu1~hardy1~ppa1
  樥?20080211-1ubuntu1~hardy1~ppa1
  豍祈”??
 *** 20080211-1ubuntu1~hardy1~ppa1 0
        500 cdrom://Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2) hardy/extras Packages
        500 http://ppa.launchpad.net hardy/main Packages
        100 /var/lib/dpkg/status
     20070813-0ubuntu2 0
        500 cdrom://Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2) hardy/main Packages
        500 http://tw.archive.ubuntu.com hardy/main Packages
Because I use Chinese font.
So it's will show unknow code on terminal.
Is all ok?

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Hurry up!!How to set printer?
« Reply #3 on: December 23, 2008, 11:23:46 am »
If the printer driver is empty, you have another option. Configure the printer using CUPS directly. It will be listening on your local interface https://127.0.0.1:631. You can use a ssh tunnel to access it:

Run this from your client machine:

Code: [Select]
ssh -L 7070:127.0.0.1:631  user@your_ebox_ip

And from that client machine you can access https://127.0.0.1:7070

akong

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Hurry up!!How to set printer?
« Reply #4 on: December 26, 2008, 04:45:49 am »
Thank for your reply.
But when I run ssh command and input password.
It's will return to my server.
And I have see 7070 port on 127.0.0.1 at netstat command.
But client machine(WinXP) how to access https://127.0.0.1:7070
This port is on eBox and it's local IP.
Is another PC can access it?