I have trouble printing to "remote" server.
Jean-David Beyer
jdbeyer at exit109.com
Fri Oct 15 10:28:21 PDT 2004
Jean-David Beyer wrote:
> I have two machines. The client runs Red Hat Enterprise Linux 3. The
> server runs Fedora Core 2.
>
> I set up the server using the Fedora print configuration tool, and
> everything on that machine seems to work. From the print configuration
> tool, I can select "Test" and print the CUPS test pattern, the
> PostScript test pattern, and the ASCII test. From the shell, I can
> print ASCII files by doing lpr filename and, IIRC, I can print html
> pages from the Mozilla browser.
>
> But from the client, things are not so good. From the print
> configuration tool (looks almost the same as the server's), I can also
> print all those test patterns, but from the shell and other tools
> nothing normal works.
>
> E.g., if I do the following, that is what I get:
>
> # lpr brutab lpr: error - no default destination available.
>
> (Doesn't matter if I am root or not.)
>
> Now if I do lpr -P lp brutab, it prints ASCII just fine. Similarly for
> postscript files.
>
After a few days of batting my head against a wall, I removed cups:
rpm -e cups... redhat-lsb... gimp-print-cups ... ... ...
and reinstalled it from disk on the theory that I probably messed up a
configuration file somewhere. (lpr is part of cups package, in Red Hat
anyway). Then I got the current versions by letting up2date run install
the latest versions.
Now that works, so to speak.
Now I cannot print at all from the client, but lpr and everything else
knows the remote target.
When I try to test from the print configuration tool on the client, it
complains that the printer is busy. If I look at the server, it says stuff
like:
192.168.1.251 - - [15/Oct/2004:13:21:57 -0400] "POST /printers/queue1
HTTP/1.1" 403 0
192.168.1.251 - - [15/Oct/2004:13:22:07 -0400] "POST /printers/queue1
HTTP/1.1" 403 0
192.168.1.251 - - [15/Oct/2004:13:22:17 -0400] "POST /printers/queue1
HTTP/1.1" 403 0
192.168.1.251 - - [15/Oct/2004:13:22:27 -0400] "POST /printers/queue1
HTTP/1.1" 403 0
so the machines talk to one another. The client is sending a message every
ten seconds or so, and I suppose either the server or the client is not
hearing what it expects.
Is my server configured wrongly or is the client. In both cases, I used
the printer configuration tool from Red Hat, and I am somewhat familiar
with it as I got it to work when the server was running RHL 7.3 with no
trouble.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 13:15:00 up 45 min, 3 users, load average: 4.53, 4.33, 3.99
More information about the cups
mailing list