Print through print server

I had been printing from Linux to an HP LJ 4P using the hpijs driver using a SMB connection through a Win98 box acting as a print server. The Win98 box crashed and I bought a NetGear PS101v2 and it works fine from my WinXP box. I set the PS101 with a static IP (host 192.168.1.150, subnet mask 255.255.255.0, gateway 192.168.1.1) to simplify connections.

After reading this post and others I’ve connected to the PS101 in Linux using both Ubuntu and Kubuntu 7.04 fine using several connection types: LPD URI lpd://192.168.1.150/L1, IPP URI ipp://192.168.1.150:631/P1, and direct socket connection URI socket://192.168.1.150:9100. I’ve also tried several drivers: hpijs and ljet4.

I’ve looked at the files etc/cups/printers.conf and etc/cups/cupsd.conf and they look as expected. I’ve connected to the CUPS app using http://localhost:631 and it looks good from there.

This is my printers.conf:

<code>
# Printer configuration file for CUPS v1.2.8
# Written by cupsd on 2007-09-16 14:21
<Printer Business-Inkjet-2230>
Info PS0A6CCC_HP Business Inkjet 2230
Location SR_ENTERPRISES
DeviceURI socket://192.168.2.200:PS-PORT_1
State Idle
StateTime 1189948907
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
</code>

http://ubuntuforums.org/showthread.php?t=30288

Được sửa bởi Quang – 11 Sep 2008 lúc 2:54am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: