Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-14-2003, 01:00 AM   #1
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 355

Rep: Reputation: 30
Printing using LPD-O-Matic now a mess

Just the other day, I followed the LPD-O-Matic instructions
from to print to my KX-P4410 Panasonic
printer. Everything was working just fine, till I tried to print
something today and got:

sending job 'root@server+652' to kxp4410@localhost
connecting to 'localhost', attempt 1
connected to 'localhost'
requesting printer kxp4410@localhost
job 'root@server+652' transfer to kxp4410@localhost failed
sending str '^Bkxp4410' to kxp4410@localhost
error msg: 'spool queue for 'kxp4410' does not exist on server'
error msg: ' non-existent printer or you need to run 'checkpc -f''

Everything is configured as before:

/etc/foomatic --> Printer definition file
/usr/bin/lpdomatic --> Perl script print file
/var/spool/lpd/kxp4410-ljet2 --> ljet2 driver description file
/var/spool/lpd/kxp4410 --> spool directory

all files/directories have been chmod'd to '777' to prevent
the 'datablob' problem.

I have tried everything I can think of including deleting the
spool directory and recreating it.

Nothing; same error message.

Anyone have any suggestions? Please?
Old 04-16-2003, 07:21 PM   #2
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 355

Original Poster
Rep: Reputation: 30
Playing around with the setup a little more, I was able to get
LPD-O-Matic operating again, but only if I put the 'foomatic'
printer description in /etc/printcap and alter my $configpath=
"/etc/printcap" instead of "/etc/foomatic", in /usr/bin/lpdomatic.
This sort of makes sense since the spool queue is only recognized
from the printer definition in printcap.

Before I recognized that the lpdomatic Perl script had the
'foomatic' config line in it, I had already included the kxp4410
printer entry in printcap which allowed it to work the first time.

My problem now is how to include another printer definition, 'raw',
in printcap to allow printing from Windows to the same printer.

The 'raw' printer description will work and I can print from Windows
through Samba, but I cannot include both printer descriptions in
the same printcap without the first one obscuring the other. It seems
to me that more than one definition is allowed but apparently they
have to have different device definitions; i.e. both canot contain

Is there a way to do this?

BTW, my LPRng system doesn't seem to work correctly using 'lpc'.
For example, i cannot use 'lpc kill all' to stop/restart the server.
I have to 'kill pid' and then '/usr/sbin/lpd' to reread printcap
and restart the server. Do I just not understand or is this a



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing problem - lpd freaks out tbraun Linux - General 0 02-14-2005 04:57 PM
remote printing using lpd (RHL) akamol Linux - Hardware 2 09-06-2004 10:01 PM
Cups and lpd printing problem visu Linux - General 0 02-02-2004 03:31 PM
Linux LPD Printing Problems pnh73 Linux - Hardware 4 12-14-2003 04:21 PM
Printing problem: with lpd? bazell Linux - General 0 04-10-2001 10:20 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration