On Sun, Mar 30, 2003 at 07:02:49AM -0500, Tom Allison wrote: | I have a printer which runs on a network connection. | | I scanned for ports and found ports associated with lpd (515), cups (631), | and jetdirect (9100?) and was trying to configure a cups client. Sounds like an HP JetDirect card connects the printer to the network. | I installed the following packages: | a2ps | cupsys-bsd | cupsys-client | foomatic-bin | foomatic-db I would first install the 'cupsys' package. Then add a local queue for the printer (use either the lpadmin command or the web interface which you'll find at http://localhost:631/). Specify the correct model so that data conversions work correctly. As for the device URI you have a couple of choices : lpd://<hostname>/<printername> ipp://<hostname>:631/ipp/port1 socket://<hostname>:9100/ Naturally, <hostname> can be either a name or IP address. Names are generally better. The URIs can vary somewhat depending on the software and configuration of the remote end. For example, with a cups server the ipp uri is ipp://<hostname>/printers/<printername>. HP JetDirect cards use "port1" for the first printer and "port2" for the second (some cards have connections for 2 printers). The general concept is the same, though. You could probably get away without setting up a server if you use the IPP URI, but you would have less control and flexibility. One of CUPS' strong points is the ability to accept many types of input (text, PS, PDF, JPG, PNG, etc.) and automatically convert it to something the printer understands. That is all done server-side, so without a "server" you lose that functionality. | So I tried configuring it a direct configuration: | foomatic-configure -s cups -n remoteraw -c socket://192.168.0.100:631/ This is really wrong -- the "socket" protocol (aka JetDirect) normally uses port 9100. Port 631 is (normally) for the IPP protocol. Don't try mixing and matching them unless you know for certain that the server-side setup is unusual. HTH, -D -- After you install Microsoft Windows XP, you have the option to create user accounts. If you create user accounts, by default, they will have an account type of administrator with no password. -- bugtraq http://dman.ddts.net/~dman/
Attachment:
pgpJI57TIlYDq.pgp
Description: PGP signature