txs for the hint; I got it to work. I did the config below and then
edited out the print command lines with "-o raw" etc in smb.conf

**************************************************************************
 Near the bottom of /etc/cups/mime.types find and uncomment the line as 
 below:

 #
 # Raw print file support...
 #
 # Uncomment the following type and the application/octet-stream
 # filter line in mime.convs to allow raw file printing without the
 # -oraw option.
 #
 
 application/octet-stream
 
 #
 # End of ....
 
 Then in /etc/cups/mime.convs find and uncomment as shown:
 
 #
 # Raw filter...
 #
 # Uncomment the following filter and the application/octet-stream type
 # in mime.types to allow printing of arbitrary files without the -oraw
 # option.
 #
 
 application/octet-stream        application/vnd.cups-raw        0       -
 
 #
 # End of ....
 
 restart cups

***************************************************************************

Regards,

George


On Sat, 2003-08-23 at 18:41, Jason Staudenmayer wrote:
> OH I know what that it but I can't remember where to fix it. The back of my
> brain is corrupt.
> Try Google for cups octet stream
> 
> -----Original Message-----
> From: George Nicholls [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, August 23, 2003 12:26 PM
> To: redhat List
> Subject: Re: Samba Issues
> 
> 
> Txs for the advice; I have followed it and now the win printer dialog
> box shows "ready", however, no pages are spooling.
> 
> My error log shows the following
> 
> *************************************************************
> print_job: Unsupport format 'application/octet-stream'
> Hint: Do you have the raw file printing rules enabled?
> *************************************************************
> 
> My access_log does not show the remote machine connecting, however,
> should it?
> 
> I then edited my smb.conf file to allow raw drivers as follows
> 
> **************************************************************
> 
> comment = All Printers
>       path = /var/spool/samba
>       browseable = no
> # Set public = yes to allow user 'guest account' to print
>       printable = yes
>       guest ok = yes
>       writeable = no
>       create mode = 700
>       print command = lpr-cups -P %p -o raw %s -r
>       lpq command = lpstat -o %p
>       lprm command =  cancel %p-%j  
> **************************************************************
> 
> I can get the system printing on Mandrake 9.1 with these settings but
> not on RH9. I am assuming that the RH9 has some different configuration
> somewhere to Mandrake.
> 
> Any suggestions on how to get this going?
> 
> Regards,
> 
> G
> On Sat, 2003-08-23 at 16:30, Jason Dixon wrote:
> > On Sat, 2003-08-23 at 10:11, George Nicholls wrote:
> > > Dear List,
> > > 
> > > I have a RH9 server running samba. I wish to use it for printing
> > > requests from win 2000 clients and also as a simple directory share.
> > > 
> > > I have set a printer up and can connect and print to it from a RH9
> > > client so I know that cups is running fine.
> > > 
> > > I have configured my smb.conf file and can write to and read from the
> > > simple share directory on the samba server using a win 2000 client.
> > 
> > Make sure you have reviewed the steps in the CUPS manual for setting up
> > CUPS/Samba for sharing printers with Windows clients:
> > 
> > http://www.cups.org/sam.html#8_8
> > 
> > 
> > -- 
> > Jason Dixon, RHCE
> > DixonGroup Consulting
> > http://www.dixongroup.net
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
-- 
Regards,
______________________________________________________________________

George Nicholls
+27 (0) 833 272 995 Fax +27(0) 11 462 5868

Pasco Risk Consultants (Pty) Ltd
P.O. Box 789 Douglasdale 2165 South Africa






-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to