Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2006 23:33:27 +0200 (CEST)
From:      "P.U.Kruppa" <root@pukruppa.de>
To:        Malcolm Fitzgerald <thats@notyourhomework.net>
Cc:        "freebsd-questions@FreeBSD. ORG" <freebsd-questions@freebsd.org>
Subject:   Re: Help needed compiling printer source code
Message-ID:  <20060426194552.M1100@www.pukruppa.net>
In-Reply-To: <544660b49b4b30f3139c0fbebad337ae@notyourhomework.net>
References:  <658be17fbe25500c985c5b8fc35ffc95@notyourhomework.net> <20060423091441.M1100@www.pukruppa.net> <499dd1ce422438ea0c0ac99b1f41ce8b@notyourhomework.net> <20060423133640.D1100@www.pukruppa.net> <20060423140319.S1100@www.pukruppa.net> <1209639b8bc7faaeb76ebf0932051131@notyourhomework.net> <20060425191942.P1100@www.pukruppa.net> <544660b49b4b30f3139c0fbebad337ae@notyourhomework.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Apr 2006, Malcolm Fitzgerald wrote:

>> 
>>> I've set up a printer.
>>> 
>>> location: lpt0
>>> Printer State: idle, accepting jobs
>>> device URI: parallel:/dev/lpt0
>>> 
>>> Printing the test page does not work, the job is aborted with error: 
>>> client-error-not-possible
>> The most probable reason for this is that some user permissions are set 
>> incorrectly. We have to analyze this step by step.
>> 1) Try to print directly from the command line:
>>      # printf "Hello World \f" > /dev/lpt0
>>    If your printer is connected correctly to your parallel port,
>>    *something* should be printed out.
>
> as user I get "cannot create /dev/lpt0: Permission denied"
That is o.k.. You should try to setup your printer as root first 
anyway: you always can solve problems with lower user permissions 
later on.

> as root I get a blank page
So at least your printer can print the form feed character "\f"
                                :-)

As Robert Huff suggested in his mail one reason might be wrong 
permissions of your spooler directory.
2) If you haven't set it otherwise it should be found at
      /var/spool/cups
3)   # cd /var/spool/
      # ls -l
    should show this
      drwx--x---  3 root   daemon  1536 26 Apr 19:44 cups 
4) Inside /var/spool/cups you should find some files with
    names like
      c00001
      c00002
      c00003
    and so on, each representing one print job.


Regards,

Uli.

*********************************************
* Peter Ulrich Kruppa - Wuppertal - Germany *
*********************************************



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060426194552.M1100>