LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-31-2002, 05:03 PM   #1
capstone737
LQ Newbie
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: Red Hat latest release
Posts: 13

Rep: Reputation: 0
Printing with CUPS...


I am trying to print from both a Win98 PC via Samba and a Red Hat 8.0
workstation to an HP 4 Plus printer that is connected to a Red Hat 8.0
server. I have managed to get the Win98 PC working OK, but am having
difficulty with the RH8 workstation.

I set the printer up using a browser with <Server>:631, calling it HP4Plus,
and I can send a test print from the browser on the RH8 box via <Server>:631.

I can view and access the other server samba shares OK, but I am unable to send it a print job from the RH8 box.

First of all on the RH8 box, I tried to set the printer as a UNIX Printer (lpd
Queue) and named the server IP address and Queue name, but that didn't work. I have than told it that the printer is a Windows printer with the following settings:

The Queue Type=Windows Share Name (HP4Plus)
Username = valid user
Password = valid password
Host Ip - IP address of the server that is connected to the printer
Workgroup = Windows workgroup (workgroup)

I restarted cups, but it still doesn't print, and there are no entries in the
/var/log/cups logs when I am trying to use Samba, but when I nominate the
printer as a UNIX Printer (lpd Queue) I get in the /var/log/cups/access_log:

<server> - - [31/Dec/2002:18:59:37 +1000] "POST / HTTP/1.1" 200 140
<server>- - [31/Dec/2002:18:59:37 +1000] "POST / HTTP/1.1" 200 140
<server>- - [31/Dec/2002:18:59:37 +1000] "POST / HTTP/1.1" 200 80
<server>- - [31/Dec/2002:18:59:37 +1000] "POST /printers/HP4Plus HTTP/1.1" 200 11231

where <server> is the server that the printer is connected to.

and in the /var/log/cups/error_log:

E [31/Dec/2002:18:59:37 +1000] print_job: Unsupported format
'application/octet-stream'!

It would seem that printing via Samba would be the best option, but I have not been able to get it working with Red Hat 8 and Samba AT ALL.


In the Global part of smb.conf, I have:
----------------------------------------------------------------
load printers = yes
printing = cups
printcap name = cups
----------------------------------------------------------------

and in the shares part of smb.conf, I have:

----------------------------------------------------------------
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no

[print$]
comment = Printer Drivers
path = /etc/samba/drivers
browseable = yes
----------------------------------------------------------------

I have tried removing these last 2 entries, but when I do the Win98 PC can't see the printer.

I have just about run out of ideas. Can anyone shed any light on this?

Regards,
Brad
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
CUPS not printing Romendo Slackware 1 12-21-2004 07:00 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
Printing to CUPS from OO.o1.1 dublinclontarf Slackware 10 06-25-2004 02:43 PM
Slackware 9 and CUPS (CUPS=crap) - printing carboncopy Slackware 21 07-29-2003 03:27 PM

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

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