samba: cannot print from Win98 to Linux printer
Hello, can anyone help me with this one.....?
I have a Linux PC with SuSE 8.2 and a Samsung ML1210 printer. I can print to
this via CUPS from another Linux PC. I have installed the Windows driver
for the ML1210 on a Win98 PC but cannot print to the Samsung.
The Win98 box can see the Linux box, its shared folders and the printer.
However, when I try to print from Win98 nothing happens.
I guess it may be that the path to the printer is wrong, but I don't know
how to correct it.
lpq shows no pending jobs, so the print jobs sent from the Win98 PC go
somewhere else.
The cups error message is as follows:
=====================================
...from /var/log/cups/error_log
E [16/Oct/2003:01:00:18 +0200] print_job: Unsupported format
'application/octet-stream'!
I [16/Oct/2003:01:00:18 +0200] Hint: Do you have the raw file printing rules
enabled?
So,
I uncommented the raw filter in the mime.convs and in the mime.type config
files in /etc/cups/
This has made no difference.
My smb.conf file
================
# Created by PT
# Date: Wed 8 October 2003
[global]
________workgroup_=_base
________netbios_name_=_samba_peck
#_______os_level_=_2
#_______time_server_=_Yes
________unix_extensions_=_Yes
________encrypt_passwords_=_Yes
#_______log_level_=_1
#_______syslog_=_0
________printing_=_CUPS
________printcap_name_=_CUPS
________socket_options_=_SO_KEEPALIVE_IPTOS_LOWDELAY_TCP_NODELAY
________wins_support_=_No
________veto_files_=_/*.eml/*.nws/riched20.dll/*.{*}/
[homes]
#_______comment_=_Home_Directories
#_______valid_users_=_%S
________browseable_=_No
________read_only_=_No
#_______create_mask_=_0640
#_______directory_mask_=_0750
[downloads]
________browseable_=_yes
________path_=_/home/downloads
________write_list_=_polgard,_Elis
________public_=_yes
#[printers]
#_______comment_=_All_Printers
#_______path_=_/var/tmp
#_______printable_=_Yes
#_______create_mask_=_0600
#_______browseable_=_No
#[print$]
#_______comment_=_Printer_Drivers
#_______path_=_/var/lib/samba/drivers
#_______write_list_=_@ntadmin_root
#_______force_group_=_ntadmin
#_______create_mask_=_0664
#_______directory_mask_=_0775
My /etc/cups/printers.conf (I think it is unnecessary to have <Printer
rawprint> but its something I tried)
================================================================
# Printer configuration file for CUPS v1.1.18
# Written by cupsd on Wed Oct 15 12:20:50 2003
<Printer rawprint>
Info rawprint
DeviceURI parallel:/dev/lp0
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<DefaultPrinter samsung>
Info samsung
Location /dev/lp0
DeviceURI parallel:/dev/lp0
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
My /etc/printcap file
=====================
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file.__All_changes_to_this_file
# will be lost.
rawprint:
samsung:
|