Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-16-2004, 12:37 PM   #1
Registered: Sep 2003
Posts: 91

Rep: Reputation: 15
Samba "raw" printing problem

I'm trying to set up network printing via a wireless home network and have not been able to solve this final problem. Whenever I send a job to the printer, I get an error "Unsupported format application octet stream".

Setup is as follows:
server-Slackware 9.0 with HP printer on /dev/lp0
laptop - WinXP

Samba running on server.

I can access shares on the server and see the printer. There is a separate printer queue setup as "raw" and that is the queue that has been configured in the Windows printer configuration dialog with the Windows HP drivers.

I have the lines "use client drivers = yes" in smb.conf and both /etc/mime.types and /etc/mime.convs have the "application octet stream" lines uncommented.

When I try to print a test page from XP I get the printer dialog box showing the job spooling and then printing but nothing actually prints. In the cups_errors log file I get the above message along with a comment "Hint, do you have raw printing enabled?"

Any suggestions will be gratefully accepted.

Old 08-16-2004, 02:05 PM   #2
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
browse to http://localhost:631 and see what cups looks like.
It sounds like samba is happy, but the local print queue is not.
Old 08-16-2004, 05:28 PM   #3
Registered: Sep 2003
Posts: 91

Original Poster
Rep: Reputation: 15
Thanks. I have 2 printers defined in CUPS: my regular HP with hpijs and a new printer that I set up with the driver as "raw" and the printer queue as "raw" . After this setup I restarted CUPS and confirmed that restart in the logs. But when I try to print to the raw printer nothing happens. Before I was getting the error about application octet-stream; now I don't even get that. According to the logs a job is being sent-but nothing prints!!



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
"RAW" tape dump/read in Mandrake 9.2? Bob Ross Mandriva 2 01-21-2004 08:15 PM
"permission denied" when I try to send raw data to the sound device. Travis86 Linux - Hardware 2 10-29-2003 10:08 AM
Samba problem - "telnet localhost 139" hangs whitefor Linux - Networking 1 09-23-2003 12:37 PM
RH "null" beta system freezes right after printing "INIT" markus1982 Linux - Hardware 0 09-09-2002 04:31 PM
Samba Printing "Access Denied" !! lmaher Linux - Networking 1 06-20-2002 10:36 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:18 PM.

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
Open Source Consulting | Domain Registration