I use lp (lpd). All of my printers are network printers (on print servers)
You would do the same as I -> ie
lpd://IP_address_of_ubuntu_box/Par_port
you need to know what to replace the Par_port part with (or usb if is usb interface)
I used (Firefox) in the address bar -> localhost:631
to set it up. (be sure cups is running) ie
ps aux | grep cups
if cups shows up, fine -- if not, then the next 2 lines fires up cups
chmod +x /etc/rc.d/rc.cups
sh /etc/rc.d/rc.cups start
Next (below the ls) is my printers.conf file (the outcome of/from doing localhost:631 in the web browser)
Code:
root@P5Q:/etc/cups# pwd
/etc/cups
root@P5Q:/etc/cups#
root@P5Q:/etc/cups# ls
command.types cupsd.conf.2debug cupsd.conf.orig mime.convs ppd/ printers.conf.O snmp.conf
cupsd.conf cupsd.conf.default interfaces/ mime.types printers.conf pstoraster.convs ssl/
root@P5Q:/etc/cups# cat printers.conf
# Printer configuration file for CUPS v1.3.10
# Written by cupsd on 2009-07-04 21:03
<Printer deskjet952c_LPT2>
Info dskjt 952c
Location hps12u_ip_253
DeviceURI lpd://192.168.1.253/LPT2
State Idle
StateTime 1234930110
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer deskjet960c_LPT2>
Info 960c 192.168.1.250/LPT2
Location LPT2
DeviceURI lpd://192.168.1.250/LPT2
State Idle
StateTime 1234065679
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer deskjet960c_LPT3>
Info 960c 192.168.1.250/LPT3
Location LPT3
DeviceURI lpd://192.168.1.250/LPT3
State Idle
StateTime 1234066312
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer deskjet970cxi_LPT1>
Info pro dskjt 970cxi
Location hps12u_ip_253
DeviceURI lpd://192.168.1.253/LPT1
State Idle
StateTime 1236490228
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer dskjt970cxi_undr_desk>
Info 970cxi 192.168.1.250/LPT1
Location 970cxi (under desk) 192.168.1.250/LPT1
DeviceURI lpd://192.168.1.250/LPT1
State Idle
StateTime 1246766605
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
root@P5Q:/etc/cups#
--
Alan.