LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-17-2004, 07:39 PM   #1
yelo
Member
 
Registered: Oct 2003
Distribution: Debian Unstable
Posts: 41

Rep: Reputation: 15
Printing to a samba share


Hi, all!
running slack 9.1
I just got my printer set up with /usr/share/apsfilter/SETUP
printing the test page worked when I got to that step in the setup.
I proceded to start the lpr daemon with /etc/rc.d/rc.lprng start
I set the execute bit on the rc.lprng file first, of course. now, it should start automagically every boot...
(I didn't have a printer set up when I installed slack, and so unchecked both lpr, and cups during the install where it asks you which services to start at boot)
when I print a text file with (say) cat test | lp, it says: lp:error - scheduler not responding!
the info about my printer:
(it is a shared windows printer on another machine)

workgroup:HOME
name of computer it's connected to:X1B9Q7
share name of printer:HP
IP address of computer it's connected to:192.168.2.60

oh, and the printcap file the setup generated:

# /etc/printcap
#
# See "man printcap" for information on editing this file.
#
# In most cases it is better to use a tool to write the printcap
# for you (at least initially), such as apsfilter
# (/usr/share/apsfilter/SETUP, used in conjunction with the
# LPRng lpd daemon), or with the web interface provided by the
# cupsd print daemon at this URL: http://localhost:631
# (if you use CUPS).
#
# APS1_BEGINrinter1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
lp|stp/pcl-4;r=600x600;q=photo;c=gray;p=letter;m=auto:\
:lp=/dev/null:\
:if=/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this


remember, printing the test page during the setup worked...

just, no print after install(see above about "cat test | lp")

does anybody know why this would be?is everything set up correctly?

THANKS
 
  


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
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
Yet another Windows share Printing problem kuno1chi Linux - Networking 1 08-23-2005 09:39 AM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM
Printing through a windows share aqoliveira Linux - Networking 0 05-02-2002 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:32 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