LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-25-2003, 11:00 PM   #1
mpls2000
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
Question Problem sending files to a Samba Printer


I need to share out a Therma Printer (Fujitsu FP410, receipt printing) from my Win2K machine and to be used from my Redhat9.

I have configured the Samba and I am able to send print job using smbclient command. Everything is fine up to here.

However, after added the Samba printer to my Print Configuration and tried to print a file using lpr, I found the printer printed somethnig incorrect.

For example, I tried to print /etc/hosts, which only has a few lines. But the printer printed a super long list which started with :

%!PS-Adobe-3.0
%RBINumberCopies:1
%%Page: (atend)
%%BoundingBox: 0 0 612 792
%%Creator: texttops/CUPS v.1.1.17
%%CreationDate: Mon 25 Aug 2003 05Skip...)
%%Title: hosts
%%For : root
...
.(Skip, I off the printer otherwise I won't know
when will it stop.)
..

The following is my [printers] declaration in my smb.conf:

[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
# Set public = yes to allow user 'guest account' to print
# public = yes
guest ok = no
writable = no
printable = yes
print command = lpr-cups -P %p -o raw %s

So I assume it uses the driver in my Win2k machine. How strange! Why smbclient is able to print perfectly but not my lpr?

Please help me.
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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up samba to share files and printer linuxmandrake Linux - Software 9 10-14-2005 12:31 PM
file permissions not being remembered for SAMBA printer files/directories Avatar Linux - General 0 08-30-2005 01:44 PM
printer problem with samba supersucker Linux - Newbie 4 08-14-2005 05:32 PM
problem sending files with scp illiniguy3043 Linux - Newbie 1 06-27-2004 10:47 AM
Problem sending files to a Samba Printer mpls2000 Linux - General 0 08-22-2003 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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