LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-31-2007, 11:15 AM   #1
DaleEMoore
LQ Newbie
 
Registered: Apr 2004
Location: San Antonio, Texas
Distribution: Debian
Posts: 1

Rep: Reputation: 0
smbprint works but lpr fails?


Howdy Y'all;

smbprint seems to be working fine, but; my lpr to smbprint fails. "lpr -Pshp4 /root/bua1.log" from PC netserver to PC michelle fails but "cat /root/bua1.log | smbprint" works.

[root@netserver ~]# uname -a
Linux netserver.medsamerica.com 2.2.9-19mdk #1 Wed May 19 19:53:00 GMT 1999 i586 unknown
[root@netserver ~]# cat /etc/issue
Linux Mandrake release 6.0 (Venus)
Kernel 2.2.9-19mdk on an i586

root@Michelle:/var/log/samba# uname -a
Linux Michelle 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686 GNU/Linux
root@Michelle:/var/log/samba# cat /etc/issue
Ubuntu 7.04 \n \l

[root@netserver ~]# lpc status shp4
shp4:
queuing is enabled
printing is enabled
no entries
no daemon present

//netserver/etc/printcap:
shp4:shp4:SMB HP4 on PC Michelle: \
:mx#0:\
:lp=/dev/shp4:\
:sd=/var/spool/lpd/shp4:\
:af=/var/spool/lpd/shp4/acct:\
:if=/usr/bin/smbprint:

//netserver/var/log/messages:
Oct 31 09:20:55 netserver lpd[14352]: restarting shp4
Oct 31 09:20:57 netserver last message repeated 3 times
Oct 31 09:20:58 netserver lpd[14352]: shp4: job could not be printed (cfA000AzXH6Pj)
Oct 31 09:26:22 netserver kernel: parport0: PC-style at 0x378 [SPP,ECP,ECPPS2]
Oct 31 09:26:23 netserver kernel: parport0: no IEEE-1284 device present.
Oct 31 09:26:23 netserver kernel: lp0: using parport0 (polling).
Oct 31 09:26:24 netserver kernel: lp0 off-line

Any suggestions you have are much appreciated!
Dale E. Moore
 
Old 11-02-2007, 03:40 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Make sure that /dev/shp4 exists or change the following
Quote:
:lp=/dev/shp4:\
to
Code:
:lp=/dev/null:\
 
  


Reply



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
what is the different between lp, lpr, llpr, lpr.cups... lnthai2002 Linux - Software 5 04-13-2006 04:09 PM
CUPS problem with shared printer: lp works, lpr doesn't HeavyTortoise Linux - Software 1 10-03-2005 02:59 PM
OfficeJet G85, CUPS Web based Admin test print works, lpr/lp dose not. ptal-print OK. NLR Linux - Hardware 2 09-20-2004 02:59 PM
confused... lpr/ lpr-cups shadow.blue Linux - Software 1 04-06-2004 05:15 PM
printer keeps trying to print postscript. works fine using lpr Choey Linux - Hardware 1 09-20-2003 06:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:14 AM.

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