Re: Help needed compiling printer source code

2006-04-27 Thread Malcolm Fitzgerald

Without knowing anything about this the line that looks odd to me says:

D [28/Apr/2006:09:54:37 +1000] [Job
1] /usr/local/libexec/cups/filter/foomatic-rip: No such file or 
directory


That's the problem. I've printed the test page from CUPS.

I googled and found foomatic at linuxprinting.org. After a little 
reading I searched ports and found foomatic-filters. After installing, 
it told me that it wanted a2ps, enscript, etc. I installed a2ps which 
suggested that I deinstall it and install psutils, which I did.


Thanks for your patient assistance Uli

malcolm

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help needed compiling printer source code

2006-04-27 Thread Malcolm Fitzgerald


On 28/04/2006, at 9:36 AM, P.U.Kruppa wrote:


On Thu, 27 Apr 2006, Malcolm Fitzgerald wrote:



On 27/04/2006, at 7:33 AM, P.U.Kruppa wrote:


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
 c1
 c2
 c3
   and so on, each representing one print job.



Yes, I have that. Changing permissions on /var/spool/cups/ to 777 
hasn't changed things.
Each time I try to print a test page from the cups "Printers" page 
the job is aborted.


mystified.

O.K. Lets try to have a look at logfiles
Ad the line
  LogLevel debug
to your /usr/local/etc/cups/cupsd.conf
and restart cups
  # /usr/local/etc/rc.d/cupsd restart
When I print the test page I get this in /var/log/cups/error_log




mine is below. Without knowing anything about this the line that looks 
odd to me says:


D [28/Apr/2006:09:54:37 +1000] [Job
1] /usr/local/libexec/cups/filter/foomatic-rip: No such file or 
directory




--
I [28/Apr/2006:09:45:55 +1000] Listening to 0:631
D [28/Apr/2006:09:45:55 +1000] AddLocation: added location '/'
D [28/Apr/2006:09:45:55 +1000] DenyIP: / deny /
D [28/Apr/2006:09:45:55 +1000] AllowIP: / allow 7f01/
D [28/Apr/2006:09:45:55 +1000] AddLocation: added location '/admin'
D [28/Apr/2006:09:45:55 +1000] DenyIP: /admin deny /
D [28/Apr/2006:09:45:55 +1000] AllowIP: /admin allow 7f01/
I [28/Apr/2006:09:45:55 +1000] Loaded configuration
file "/usr/local/etc/cups/cupsd.conf"
I [28/Apr/2006:09:45:55 +1000] Configured for up to 100 clients.
I [28/Apr/2006:09:45:55 +1000] Allowing up to 100 client connections 
per host.

I [28/Apr/2006:09:45:55 +1000] Full reload is required.
D [28/Apr/2006:09:45:55 +1000] LoadAllPrinters: Loading printer 
HL1230...

D [28/Apr/2006:09:45:55 +1000] LoadDevices: Added device "ipp"...
D [28/Apr/2006:09:45:55 +1000] LoadDevices: Added device "lpd"...
D [28/Apr/2006:09:45:55 +1000] LoadDevices: Added
device "parallel:/dev/lpt0"...
D [28/Apr/2006:09:45:55 +1000] LoadDevices: Added
device "serial:/dev/ttyd0?baud=115200"...
D [28/Apr/2006:09:45:55 +1000] LoadDevices: Added
device "serial:/dev/ttyd1?baud=115200"...
D [28/Apr/2006:09:45:55 +1000] LoadDevices: Added device "socket"...
D [28/Apr/2006:09:45:55 +1000] LoadDevices: Added device "http"...
I [28/Apr/2006:09:45:55 +1000] LoadPPDs: Read 
"/usr/local/etc/cups/ppds.dat",

17 PPDs...
I [28/Apr/2006:09:45:55 +1000] LoadPPDs: No new or changed PPDs...
D [28/Apr/2006:09:45:55 +1000] LoadAllJobs: Scanning /var/spool/cups...
I [28/Apr/2006:09:45:55 +1000] Full reload complete.
D [28/Apr/2006:09:45:55 +1000] StartListening: NumListeners=1
D [28/Apr/2006:09:45:55 +1000] StartListening: address= port=631
D [28/Apr/2006:09:45:55 +1000] ResumeListening: setting input bits...
D [28/Apr/2006:09:54:29 +1000] AcceptClient: 5 from localhost:631.
D [28/Apr/2006:09:54:29 +1000] ReadClient: 5 GET /printers/HL1230 
HTTP/1.1

D [28/Apr/2006:09:54:29 +1000]
CGI /usr/local/libexec/cups/cgi-bin/printers.cgi started - PID = 804
I [28/Apr/2006:09:54:29 +1000]
Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=804)
D [28/Apr/2006:09:54:29 +1000] SendCommand: 5 file=7
D [28/Apr/2006:09:54:29 +1000] AcceptClient: 8 from localhost:631.
D [28/Apr/2006:09:54:29 +1000] ReadClient: 8 POST / HTTP/1.1
D [28/Apr/2006:09:54:29 +1000] ProcessIPPRequest: 8 status_code=1
D [28/Apr/2006:09:54:29 +1000] ReadClient: 8 POST / HTTP/1.1
D [28/Apr/2006:09:54:29 +1000] ProcessIPPRequest: 8 status_code=1
D [28/Apr/2006:09:54:29 +1000] ReadClient: 8 POST / HTTP/1.1
D [28/Apr/2006:09:54:29 +1000] ProcessIPPRequest: 8 status_code=1
D [28/Apr/2006:09:54:29 +1000] CloseClient: 8
D [28/Apr/2006:09:54:29 +1000] AcceptClient: 7 from localhost:631.
D [28/Apr/2006:09:54:29

Re: Help needed compiling printer source code

2006-04-27 Thread P.U.Kruppa

On Thu, 27 Apr 2006, Malcolm Fitzgerald wrote:



On 27/04/2006, at 7:33 AM, P.U.Kruppa wrote:


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
 c1
 c2
 c3
   and so on, each representing one print job.



Yes, I have that. Changing permissions on /var/spool/cups/ to 777 hasn't 
changed things.
Each time I try to print a test page from the cups "Printers" page the job is 
aborted.


mystified.

O.K. Lets try to have a look at logfiles
Ad the line
  LogLevel debug
to your /usr/local/etc/cups/cupsd.conf
and restart cups
  # /usr/local/etc/rc.d/cupsd restart
When I print the test page I get this in /var/log/cups/error_log

--
I [28/Apr/2006:01:25:10 +0200] Started 
"/usr/local/libexec/cups/cgi-bin/admin.cg

i" (pid=15433)
D [28/Apr/2006:01:25:10 +0200] SendCommand: 5 file=7
D [28/Apr/2006:01:25:17 +0200] ReadClient: 5 GET /printers/ 
HTTP/1.1
D [28/Apr/2006:01:25:17 +0200] CGI 
/usr/local/libexec/cups/cgi-bin/printers.cgi

started - PID = 15434
I [28/Apr/2006:01:25:17 +0200] Started 
"/usr/local/libexec/cups/cgi-bin/printers

.cgi" (pid=15434)
D [28/Apr/2006:01:25:17 +0200] SendCommand: 5 file=8
D [28/Apr/2006:01:25:17 +0200] AcceptClient: 7 from 
localhost:631.

D [28/Apr/2006:01:25:17 +0200] ReadClient: 7 POST / HTTP/1.1
D [28/Apr/2006:01:25:17 +0200] ProcessIPPRequest: 7 status_code=1
D [28/Apr/2006:01:25:17 +0200] ReadClient: 7 POST / HTTP/1.1
D [28/Apr/2006:01:25:17 +0200] ProcessIPPRequest: 7 status_code=1
D [28/Apr/2006:01:25:17 +0200] CloseClient: 7
D [28/Apr/2006:01:25:21 +0200] AcceptClient: 7 from 
192.168.10.1:631.
D [28/Apr/2006:01:25:21 +0200] ReadClient: 7 GET 
/printers/hpdj?op=print-test-pa

ge HTTP/1.1
D [28/Apr/2006:01:25:21 +0200] CGI 
/usr/local/libexec/cups/cgi-bin/printers.cgi

started - PID = 15435
I [28/Apr/2006:01:25:21 +0200] Started 
"/usr/local/libexec/cups/cgi-bin/printers

.cgi" (pid=15435)
D [28/Apr/2006:01:25:21 +0200] SendCommand: 7 file=9
D [28/Apr/2006:01:25:21 +0200] AcceptClient: 8 from 
localhost:631.
D [28/Apr/2006:01:25:21 +0200] ReadClient: 8 POST /printers/hpdj 
HTTP/1.1
D [28/Apr/2006:01:25:21 +0200] print_job: request file type is 
application/posts

cript.
D [28/Apr/2006:01:25:21 +0200] check_quotas: requesting-user-name 
= ''
D [28/Apr/2006:01:25:21 +0200] print_job: requesting-user-name = 
''
D [28/Apr/2006:01:25:21 +0200] Adding default job-sheets values 
"none,none"...
I [28/Apr/2006:01:25:21 +0200] Adding start banner page "none" to 
job 75.
I [28/Apr/2006:01:25:21 +0200] Adding end banner page "none" to 
job 75.

I [28/Apr/2006:01:25:21 +0200] Job 75 queued on 'hpdj' by ''.
D [28/Apr/2006:01:25:21 +0200] Job 75 hold_until = 0
D [28/Apr/2006:01:25:21 +0200] StartJob(75, 0x81a8800)
D [28/Apr/2006:01:25:21 +0200] StartJob() id = 75, file = 0/1
D [28/Apr/2006:01:25:21 +0200] job-sheets=none,none
D [28/Apr/2006:01:25:21 +0200] banner_page = 0
D [28/Apr/2006:01:25:21 +0200] StartJob: argv = 
"hpdj","75","","Test Page","1","

","/var/spool/cups/d00075-001"
D [28/Apr/2006:01:25:21 +0200] StartJob: 
envp[0]="PATH=/usr/local/libexec/cups/f

ilter:/bin:/usr/bin"
D [28/Apr/2006:01:25:21 +0200] StartJob: 
envp[1]="SOFTWARE=CUPS/1.1"

D [28/Apr/2006:01:25:21 +0200] StartJob: envp[2]="USER=root"
D [28/Apr/2006:01:25:21 +0200] StartJob: envp[3]="CHARSET=utf-8"
D [28/Apr/2006:01:25:21 +0200] StartJob: envp[4]="LANG=en_US"
D [28/Apr/2006:01:25:21 +0200] StartJob: 
envp[5]="PPD=/usr/local/etc/cups/ppd/hp

dj.ppd"
D [28/Apr/2006:01:25:21 +0200] StartJob: 
envp[6]="CUPS_SERVERROOT=/usr/local/etc

/cups"
D [28/Apr/2006:01:25:21 +0200] StartJob: 
envp[7]="RIP_MAX_CACHE=8m"
D [28/Apr/2006:01:25:21 +0200] StartJob: 
envp[8]="TMPDIR=/var/spool/cups/tmp"
D [28/Apr/2006:01:25:21 +0200] StartJob: 
envp[9]="CO

Re: Help needed compiling printer source code

2006-04-26 Thread Malcolm Fitzgerald


On 27/04/2006, at 7:33 AM, P.U.Kruppa wrote:


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
 c1
 c2
 c3
   and so on, each representing one print job.



Yes, I have that. Changing permissions on /var/spool/cups/ to 777 
hasn't changed things.
Each time I try to print a test page from the cups "Printers" page the 
job is aborted.


mystified.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help needed compiling printer source code

2006-04-26 Thread P.U.Kruppa

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
 c1
 c2
 c3
   and so on, each representing one print job.


Regards,

Uli.

*
* Peter Ulrich Kruppa - Wuppertal - Germany *
*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help needed compiling printer source code

2006-04-25 Thread Malcolm Fitzgerald


On 26/04/2006, at 3:15 AM, Robert Huff wrote:



P.U.Kruppa writes:


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.


This jogs a memory.
What are the permissions on /var/spool/lpd?  I have a problem
where cups was unhappy with ; after
some research (via Google), I changed it to 777 (eventually to 755)
and - voila!


Presently it is 755


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help needed compiling printer source code

2006-04-25 Thread Malcolm Fitzgerald



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"
as root I get a blank page

malcolm

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help needed compiling printer source code

2006-04-25 Thread Robert Huff

P.U.Kruppa writes:

>  > 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.

This jogs a memory.
What are the permissions on /var/spool/lpd?  I have a problem
where cups was unhappy with ; after
some research (via Google), I changed it to 777 (eventually to 755)
and - voila!


Robert Huff






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help needed compiling printer source code

2006-04-25 Thread P.U.Kruppa

On Tue, 25 Apr 2006, Malcolm Fitzgerald wrote:


I'm trying to install a Brother HL-1230 printer.




Did you also have a look at
http://linuxprinting.org/show_driver.cgi?driver=hl1250&fromprinter=Brother-HL-1230
?
I think you might be lucky: they have got a .ppd file there for you 
(Brother-HL-1230-hl1250.ppd ). Download it, put it into

 /usr/local/share/cups/model/
restart cups by
# /usr/local/etc/rc.d/cupsd restart
and try setup on http://localhost:631



No luck! Downloaded and installed the PPD. Cups can see it.
That is one success at least: it means a working driver is 
available.


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.

Uli.


malcolm

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




*
* Peter Ulrich Kruppa - Wuppertal - Germany *
*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help needed compiling printer source code

2006-04-25 Thread Malcolm Fitzgerald

I'm trying to install a Brother HL-1230 printer.




Did you also have a look at
http://linuxprinting.org/show_driver.cgi? 
driver=hl1250&fromprinter=Brother-HL-1230

?
I think you might be lucky: they have got a .ppd file there for you  
(Brother-HL-1230-hl1250.ppd ). Download it, put it into

  /usr/local/share/cups/model/
restart cups by
# /usr/local/etc/rc.d/cupsd restart
and try setup on http://localhost:631



No luck! Downloaded and installed the PPD. Cups can see it. 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


malcolm

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help needed compiling printer source code

2006-04-23 Thread David Banning
On Sun, Apr 23, 2006 at 03:37:12PM +1000, Malcolm Fitzgerald wrote:
> I'm trying to install a Brother HL-1230 printer. I've been to the 
> Brother web site and found that they don't have drivers for FreeBSD but 
> they do provide the source code. I downloaded the source code. So far 
> so good. I unzipped the tarball and had a look. There's the source 
> code.

Take a look at;

http://www.linuxprinting.org/brother-faq.html#q_3_1

In Section 3 it stats that the HL-1250 works - that is available in apsfilter 
under "miscellaneous other drivers"

Good luck -
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help needed compiling printer source code

2006-04-23 Thread P.U.Kruppa

On Sun, 23 Apr 2006, P.U.Kruppa wrote:


On Sun, 23 Apr 2006, Malcolm Fitzgerald wrote:



On 23/04/2006, at 5:25 PM, P.U.Kruppa wrote:


On Sun, 23 Apr 2006, Malcolm Fitzgerald wrote:

I'm trying to install a Brother HL-1230 printer. I've been to the Brother 
web site and found that they don't have drivers for FreeBSD but they do 
provide the source code. I downloaded the source code. So far so good. I 
unzipped the tarball and had a look. There's the source code.



I don't know what to do with it. I've learnt to type "make install 
clean". How do I make this code into something useful?


sad kid :-(

I guess make install clean will not be enough for that.

For a start have a look at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html
and try to make your printer print "something" at all.
Also reading it will teach you some new words :-)

Then there exist two well known programms which can help you to set up 
your printer correctly

/usr/ports/print/apsfilter
and
/usr/ports/print/cups
I would try apsfilter first, since it works a bit more intuitively.



Cups is installed and running. I've tried using a few of the other printer 
definitions without success. Printing the test page produces a blank page 
or a dozen blank pages. I was hoping to be able to compile the source code 
for the driver and put it somewhere that cups can find it.

O.K. - I see.
(Just out of interest: what happens if you try to print something
simple (eg. a text file) from the command line
# /usr/local/bin/lpr file.txt
?)

Did you also have a look at
http://linuxprinting.org/show_driver.cgi?driver=hl1250&fromprinter=Brother-HL-1230
?
I think you might be lucky: they have got a .ppd file there for 
you (Brother-HL-1230-hl1250.ppd ). Download it, put it into

  /usr/local/share/cups/model/
restart cups by
# /usr/local/etc/rc.d/cupsd restart
and try setup on http://localhost:631

Regards,

Uli.


malcolm

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"






*
* Peter Ulrich Kruppa - Wuppertal - Germany *
*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"





*
* Peter Ulrich Kruppa - Wuppertal - Germany *
*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help needed compiling printer source code

2006-04-23 Thread P.U.Kruppa

On Sun, 23 Apr 2006, Malcolm Fitzgerald wrote:



On 23/04/2006, at 5:25 PM, P.U.Kruppa wrote:


On Sun, 23 Apr 2006, Malcolm Fitzgerald wrote:

I'm trying to install a Brother HL-1230 printer. I've been to the Brother 
web site and found that they don't have drivers for FreeBSD but they do 
provide the source code. I downloaded the source code. So far so good. I 
unzipped the tarball and had a look. There's the source code.



I don't know what to do with it. I've learnt to type "make install clean". 
How do I make this code into something useful?


sad kid :-(

I guess make install clean will not be enough for that.

For a start have a look at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html
and try to make your printer print "something" at all.
Also reading it will teach you some new words :-)

Then there exist two well known programms which can help you to set up your 
printer correctly

/usr/ports/print/apsfilter
and
/usr/ports/print/cups
I would try apsfilter first, since it works a bit more intuitively.



Cups is installed and running. I've tried using a few of the other printer 
definitions without success. Printing the test page produces a blank page or 
a dozen blank pages. I was hoping to be able to compile the source code for 
the driver and put it somewhere that cups can find it.

O.K. - I see.
(Just out of interest: what happens if you try to print something
 simple (eg. a text file) from the command line
 # /usr/local/bin/lpr file.txt
 ?)

Did you also have a look at
http://linuxprinting.org/show_driver.cgi?driver=hl1250&fromprinter=Brother-HL-1230
 ?

The standard way to build and install sources on UNIX would be:
  # tar zxf application.tgz
  # cd application
  # ./configure
  # make
  # make install
But often you find hints/READMES inside "application" directory 
what else you have to do.


Uli.


malcolm

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"





*
* Peter Ulrich Kruppa - Wuppertal - Germany *
*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help needed compiling printer source code

2006-04-23 Thread Malcolm Fitzgerald


On 23/04/2006, at 5:25 PM, P.U.Kruppa wrote:


On Sun, 23 Apr 2006, Malcolm Fitzgerald wrote:

I'm trying to install a Brother HL-1230 printer. I've been to the 
Brother web site and found that they don't have drivers for FreeBSD 
but they do provide the source code. I downloaded the source code. So 
far so good. I unzipped the tarball and had a look. There's the 
source code.



I don't know what to do with it. I've learnt to type "make install 
clean". How do I make this code into something useful?


sad kid :-(

I guess make install clean will not be enough for that.

For a start have a look at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html
and try to make your printer print "something" at all.
Also reading it will teach you some new words :-)

Then there exist two well known programms which can help you to set up 
your printer correctly

/usr/ports/print/apsfilter
and
/usr/ports/print/cups
I would try apsfilter first, since it works a bit more intuitively.



Cups is installed and running. I've tried using a few of the other 
printer definitions without success. Printing the test page produces a 
blank page or a dozen blank pages. I was hoping to be able to compile 
the source code for the driver and put it somewhere that cups can find 
it.


malcolm

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help needed compiling printer source code

2006-04-22 Thread P.U.Kruppa

On Sun, 23 Apr 2006, Malcolm Fitzgerald wrote:

I'm trying to install a Brother HL-1230 printer. I've been to the Brother web 
site and found that they don't have drivers for FreeBSD but they do provide 
the source code. I downloaded the source code. So far so good. I unzipped the 
tarball and had a look. There's the source code.



I don't know what to do with it. I've learnt to type "make install clean". 
How do I make this code into something useful?


sad kid :-(

I guess make install clean will not be enough for that.

For a start have a look at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html
and try to make your printer print "something" at all.
Also reading it will teach you some new words :-)

Then there exist two well known programms which can help you to 
set up your printer correctly

/usr/ports/print/apsfilter
and
/usr/ports/print/cups
I would try apsfilter first, since it works a bit more 
intuitively.


Good luck,

Uli.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"





*
* Peter Ulrich Kruppa - Wuppertal - Germany *
*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Help needed compiling printer source code

2006-04-22 Thread Malcolm Fitzgerald
I'm trying to install a Brother HL-1230 printer. I've been to the 
Brother web site and found that they don't have drivers for FreeBSD but 
they do provide the source code. I downloaded the source code. So far 
so good. I unzipped the tarball and had a look. There's the source 
code.



I don't know what to do with it. I've learnt to type "make install 
clean". How do I make this code into something useful?


sad kid :-(


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"