Adding a printer on a server install
Anthony Yarusso
tonyyarusso at earthlink.net
Fri Oct 27 19:24:55 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mitch Contla wrote:
> Anthony Yarusso said the following on 10/27/2006 10:54 AM:
>> Hi, I'm trying to make my server box function as a print server for a
>> USB printer (HP PSC 1310 - known to work with desktop Ubuntu). I'm
>> having a hard time wrapping my head around how to set it up though. I
>> have cups installed, and am trying to configure the printer with the
>> printconf utility. I am getting the following in response to 'sudo
>> dpkg-reconfigure printconf':
>>
>> *** glibc detected *** double free or corruption (!prev): 0x08179528 ***
>> Unable to read printer database. Please ensure the "foomatic-db"
>> package is installed properly.
>>
>> The package mentioned is installed just fine. Additionally, I have
>> confirmed that the ppd file exists, at
>> /usr/share/cups/model/hpijs/HP/HP-PSC_1310-hpijs.ppd.
>>
>> I basically just need to replicate whatever the Gnome Add Printer
>> dialogue does, since that works perfectly with this printer. Any help
>> managing that on cli appreciated!
> You can use lpadmin from a shell prompt like this:
>
> user at ubuntu:~$ sudo lpadmin -p HP-PSC-1310 -E -v parallel:/dev/lp0 \
>> -m hpijs/HP/HP-PSC_1310-hpijs.ppd -u allow:all
>
> This assumes you want to name your printer HP-PSC-1310, and that it's
> connected at parallel. If you are connected to the printer in some other
> way, you can get info on available device uri's using lpinfo:
>
> user at ubuntu:~$ lpinfo -v
>
> Good Luck
>
Thank you, that worked. However, so far I am able to print only from
the server computer; it is refusing connections from another. I have
the port forwarded in the router, and have set every allow option I can
find in the cupsd.conf, so am not sure what's left.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFQl0H6iO+5ByUi/QRAqWIAJ4ti8PLQd9h6BUE8tKIjADwgiV8tACfcxMj
rxUo93MRjFdKZETF/AlxTnM=
=kSfi
-----END PGP SIGNATURE-----
More information about the ubuntu-users
mailing list