Hello all,

Am un Print Server SURECOM EP-903XU in care este conectata o imprimanta HP 
1200 pe portul paralel. De pe Windowsuri se poate printa fara probleme. Am in 
schimb un Centos4 pe care trebuie sa-l configurez sa poata printa. Print 
serverul are adresa 10.0.0.139. O sonda nmap spune ca:

# nmap 10.0.0.139

Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2005-09-27 09:55 EEST
Interesting ports on 10.0.0.139:
(The 1656 ports scanned but not shown below are in state: closed)
PORT    STATE SERVICE
23/tcp  open  telnet
80/tcp  open  http
515/tcp open  printer
631/tcp open  ipp

# nmap -sU 10.0.0.139

Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2005-09-27 09:56 EEST
Interesting ports on 10.0.0.139:
(The 1475 ports scanned but not shown below are in state: closed)
PORT     STATE         SERVICE
69/udp   open|filtered tftp
161/udp  open|filtered snmp
1024/udp open|filtered unknown
MAC Address: 00:40:01:23:0D:E6 (Zyxel Communications)

Am incercat diverse variante cu cups-ul dar am cedat nervos. In interfata 
grafica treburile sunt prea "complicate" asa ca as dori sa intru in linia de 
comanda, sa modific manual fisierele de configurare. Pentru cei care au ceva 
experienta cu astfel de printservere, ii rog sa-mi dea o mina de ajutor.

Am configurat 2 printere in cups (una folosind lpd-ul, alta folosind 
JetDirectul). Ambele cica sunt Idle and Accepting connections dar eu nu pot 
printa defel.
Pentru cazul lpd, am incercat sa schimb DeviceURI din lpd://10.0.0.139/lpt in 
lpd://10.0.0.139/lpt1 dar fara succes (repet, imprimanta are un singur LPT)

lpstat zice ca sunt ok.....
# lpstat -t
scheduler is running
system default destination: hp1200
device for hp1200: lpd://10.0.0.139/lpt
device for lp1: socket://10.0.0.139:9100
hp1200 accepting requests since Jan 01 00:00
lp1 accepting requests since Jan 01 00:00
printer hp1200 is idle.  enabled since Jan 01 00:00
printer lp1 is idle.  enabled since Jan 01 00:00
[EMAIL PROTECTED] ~]#

La un print test page dat din interfata grafica a cups-ului, nimic ....Nu am 
idee ce as mai putea sa-i fac. Mai jos vin fisierele de configurare cups.

# cat /etc/cups/printers.conf

# Printer configuration file for CUPS v1.1.22rc1
# Written by cupsd on Mon 26 Sep 2005 05:13:13 PM EEST
<DefaultPrinter hp1200>
Info Created by redhat-config-printer 0.6.x
DeviceURI lpd://10.0.0.139/lpt
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer lp1>
Info Created by redhat-config-printer 0.6.x
DeviceURI socket://10.0.0.139:9100
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

Mai jos sunt ultimele linii din /etc/cups/cupsd.conf

# Lines below are automatically generated - DO NOT EDIT
<Location /printers/hp1200>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
</Location>
<Location /printers/lp1>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
</Location>
Browsing On
BrowseProtocols cups
BrowseOrder Deny,Allow
BrowseAllow from @LOCAL
Listen 127.0.0.1:631

Alex

_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui