d [13/Jul/2004:13:34:29 -0400] AcceptClient(0x8088c30) 0 NumClients = 0
D [13/Jul/2004:13:34:29 -0400] AcceptClient() 5 from localhost:631.
d [13/Jul/2004:13:34:29 -0400] AcceptClient: Adding fd 5 to InputSet...
d [13/Jul/2004:13:34:29 -0400] ReadClient() 5, used=0
D [13/Jul/2004:13:34:29 -0400] ReadClient() 5 POST / HTTP/1.1
d [13/Jul/2004:13:34:29 -0400] decode_auth(0x402fa008): Authorization string = ""
d [13/Jul/2004:13:34:29 -0400] decode_auth() 5 username=""
d [13/Jul/2004:13:34:29 -0400] IsAuthorized: con->uri = "/"
d [13/Jul/2004:13:34:29 -0400] FindBest: uri = "/"...
d [13/Jul/2004:13:34:29 -0400] FindBest: Location / Limit 7f
d [13/Jul/2004:13:34:29 -0400] FindBest: Location /admin Limit 7f
d [13/Jul/2004:13:34:29 -0400] FindBest: best = "/"
d [13/Jul/2004:13:34:29 -0400] IsAuthorized: auth = 0, satisfy=0...
d [13/Jul/2004:13:34:29 -0400] POST /
d [13/Jul/2004:13:34:29 -0400] CONTENT_TYPE = application/ipp
d [13/Jul/2004:13:34:29 -0400] ReadClient() 5 con->data_encoding = length, con->data_remaining = 273, con->file = 0
d [13/Jul/2004:13:34:29 -0400] ReadClient() 5, used=265
d [13/Jul/2004:13:34:29 -0400] ReadClient() 5 con->data_encoding = length, con->data_remaining = 265, con->file = 0
d [13/Jul/2004:13:34:29 -0400] ProcessIPPRequest(0x402fa008[5]): operation_id = 000a
d [13/Jul/2004:13:34:29 -0400] get_jobs(0x402fa008[5], ipp://localhost/printers/Deskjet_3320)
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 42
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 43
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 44
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 45
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 46
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 47
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 48
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 49
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 50
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 51
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 52
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 53
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 54
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 55
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 56
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 57
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 58
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 59
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 60
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 61
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 62
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 63
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 64
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 65
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 66
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 67
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 68
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 69
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 70
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 71
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 72
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 73
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 74
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 75
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 76
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 77
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 78
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 79
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 80
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 81
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 82
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 83
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 84
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 85
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 86
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 87
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 88
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 89
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 90
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 91
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 92
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 93
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 94
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 95
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 96
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 97
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 98
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 99
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 100
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 101
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 102
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 103
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 104
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 105
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 106
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 107
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 108
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 109
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 110
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 111
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 112
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 113
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 114
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 115
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 116
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 117
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 118
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 119
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 120
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 121
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 122
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 123
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 124
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 125
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 126
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 127
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 128
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 129
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 130
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 131
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 132
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 133
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 134
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 135
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 136
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 137
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 138
d [13/Jul/2004:13:34:29 -0400] get_jobs: job->id = 139
D [13/Jul/2004:13:34:29 -0400] ProcessIPPRequest: 5 status_code=0
d [13/Jul/2004:13:34:29 -0400] ProcessIPPRequest: Adding fd 5 to OutputSet...
d [13/Jul/2004:13:34:29 -0400] WriteClient: Removing fd 5 from OutputSet...
d [13/Jul/2004:13:34:29 -0400] ReadClient() 5, used=0
D [13/Jul/2004:13:34:29 -0400] ReadClient() 5 POST / HTTP/1.1
d [13/Jul/2004:13:34:29 -0400] decode_auth(0x402fa008): Authorization string = ""
d [13/Jul/2004:13:34:29 -0400] decode_auth() 5 username=""
d [13/Jul/2004:13:34:29 -0400] IsAuthorized: con->uri = "/"
d [13/Jul/2004:13:34:29 -0400] FindBest: uri = "/"...
d [13/Jul/2004:13:34:29 -0400] FindBest: Location / Limit 7f
d [13/Jul/2004:13:34:29 -0400] FindBest: Location /admin Limit 7f
d [13/Jul/2004:13:34:29 -0400] FindBest: best = "/"
d [13/Jul/2004:13:34:29 -0400] IsAuthorized: auth = 0, satisfy=0...
d [13/Jul/2004:13:34:29 -0400] POST /
d [13/Jul/2004:13:34:29 -0400] CONTENT_TYPE = application/ipp
d [13/Jul/2004:13:34:29 -0400] ReadClient() 5 con->data_encoding = length, con->data_remaining = 194, con->file = 0
d [13/Jul/2004:13:34:29 -0400] ProcessIPPRequest(0x402fa008[5]): operation_id = 000b
d [13/Jul/2004:13:34:29 -0400] get_printer_attrs(0x402fa008[5], ipp://localhost/printers/Deskjet_3320)
d [13/Jul/2004:13:34:29 -0400] add_printer_state_reasons(0x402fa008[5], 0x8094100[Deskjet_3320])
d [13/Jul/2004:13:34:29 -0400] add_queued_job_count(0x402fa008[5], 0x8094100[Deskjet_3320])
d [13/Jul/2004:13:34:29 -0400] copy_attrs(0x812e7d8, 0x8090cd8, (nil), 0)
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8090d00[printer-uri-supported,4,45])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8090d78[uri-authentication-supported,4,44])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8090de8[uri-security-supported,4,44])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8090e40[printer-name,4,42])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8090e98[printer-location,4,41])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8090ef0[printer-info,4,41])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8090f48[printer-more-info,4,45])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8090fb8[job-quota-period,4,21])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8090ff8[job-k-limit,4,21])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8091030[job-page-limit,4,21])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8091070[job-sheets-default,4,42])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x80910d8[device-uri,4,45])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x80a0940[color-supported,4,22])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x80a1298[pages-per-minute,4,21])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x80a1da8[printer-make-and-model,4,41])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x80a2520[media-supported,4,44])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8091180[media-default,4,44])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x809a0f8[finishings-supported,4,23])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x80992a0[finishings-default,4,23])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8099098[printer-type,4,23])
d [13/Jul/2004:13:34:29 -0400] copy_attrs(0x812e7d8, 0x808d798, (nil), 0)
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x808d7c0[pdl-override-supported,4,44])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x808d808[ipp-versions-supported,4,44])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x808d858[operations-supported,4,23])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x808d9d8[multiple-document-jobs-supported,4,22])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x80945f8[multiple-operation-time-out,4,21])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8094620[multiple-document-handling-supported,4,44])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x80946d8[charset-configured,4,47])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8094728[charset-supported,4,47])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8094a98[natural-language-configured,4,48])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8094af0[generated-natural-language-supported,4,48])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8094b58[document-format-default,4,49])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8094bc0[document-format-supported,4,80000049])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8094d58[compression-supported,4,44])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8094dc8[job-priority-supported,4,21])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8094e10[job-priority-default,4,21])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8094e58[copies-supported,4,33])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8094e98[copies-default,4,21])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8094ed8[page-ranges-supported,4,22])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8094f20[number-up-supported,4,21])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8094f98[number-up-default,4,21])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8094fd8[orientation-requested-supported,4,23])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8095048[orientation-requested-default,4,23])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8095098[job-hold-until-supported,4,44])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x80951b8[job-hold-until-default,4,44])
d [13/Jul/2004:13:34:29 -0400] copy_attribute(0x812e7d8, 0x8095210[job-sheets-supported,4,42])
D [13/Jul/2004:13:34:29 -0400] ProcessIPPRequest: 5 status_code=0
d [13/Jul/2004:13:34:29 -0400] ProcessIPPRequest: Adding fd 5 to OutputSet...
d [13/Jul/2004:13:34:29 -0400] WriteClient: Removing fd 5 from OutputSet...
d [13/Jul/2004:13:34:29 -0400] ReadClient() 5, used=0
D [13/Jul/2004:13:34:29 -0400] CloseClient() 5
d [13/Jul/2004:13:34:29 -0400] CloseClient: Removing fd 5 from InputSet and OutputSet...
The weirdest of all, is that the other computer can use my printer while I'm in windows, but in Linux, it can't print, and what's more, every program that tries to print crashes. I can print localy fine.
This is my smb.conf
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# For a step to step guide on installing, configuring and using samba,
# read the Samba HOWTO Collection.
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]
# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
workgroup = FAMILIA
# server string is the equivalent of the NT Description field
server string = PC Totó
# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the HOWTO Collection for details.
security = share
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
hosts allow = 192.168.0.
# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
load printers = yes
# you may wish to override the location of the printcap file
printcap name = /etc/printcap
# on SystemV system setting printcap name to lpstat should allow
# you to automatically obtain a printer list from the SystemV spool
# system
; printcap name = lpstat
# It should not be necessary to specify the print system type unless
# it is non-standard. Currently supported print systems include:
# bsd, cups, sysv, plp, lprng, aix, hpux, qnx
printing = cups
# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
; guest account = pcguest
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m
# Put a capping on the size of the log files (in Kb).
max log size = 50
# Use password server option only with security = server
# The argument list may include:
# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
# password server = *
; password server = <NT-Server-Name>
# Use the realm option only with security = ads
# Specifies the Active Directory realm the host is part of
; realm = MY_REALM
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
; passdb backend = tdbsam
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting.
# Note: Consider carefully the location in the configuration file of
# this line. The included file is read at that point.
; include = /usr/local/samba/lib/smb.conf.%m
# Most people will find that this option gives better performance.
# See the chapter 'Samba performance issues' in the Samba HOWTO Collection
# and the manual pages for details.
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
socket options = TCP_NODELAY
# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
; interfaces = 192.168.12.2/24 192.168.13.2/24
# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
; local master = no
# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
; os level = 33
# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
; domain master = yes
# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
; preferred master = yes
# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
; domain logons = yes
# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
; logon script = %m.bat
# run a specific logon batch file per username
; logon script = %U.bat
# Where to store roving profiles (only for Win95 and WinNT)
# %L substitutes for this servers netbios name, %U is username
# You must uncomment the [Profiles] share below
; logon path = \%LProfiles%U
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
wins support = yes
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one WINS Server on the network. The default is NO.
; wins proxy = yes
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The default is NO.
dns proxy = yes
# These scripts are used on a domain controller or stand-alone
# machine to add or delete corresponding unix accounts
; add user script = /usr/sbin/useradd %u
; add group script = /usr/sbin/groupadd %g
; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
; delete user script = /usr/sbin/userdle %u
; delete user from group script = /usr/sbin/deluser %u %g
; delete group script = /usr/sbin/groupdel %g
#============================ Share Definitions ==============================
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /usr/spool/cups
browseable = no
public = yes
# Set public = yes to allow user 'guest account' to print
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr # using cups own drivers (use generic PostScript on clients).
lpq command = lpstat -o %p
lprm command = cancel %p-%j
# A publicly accessible directory, but read only, except for people in
# the "staff" group
[/]
comment = /
path = /
public = yes
browsable = yes
writable = no
[home]
comment = /home/alfonso_pola
path = /home/alfonso_pola
; valid users =
public = yes
writable = no
browsable = yes
; printable = no
; create mask = 0765
Glad it was the octet stream one, I think I have that one covered on my page.
]]>E [13/Jul/2004:10:11:46 +0200] print_job: Unsupported format 'application/octet-stream'!
I [13/Jul/2004:10:11:46 +0200] Hint: Do you have the raw file printing rules enabled?
Then I had to uncomment one line in /etc/cups/mime.types and /etc/cups/mime.convs. The line is at the end of both files, and is
application/octet-stream
application/octet-stream application/vnd.cups-raw 0 -
Then I got a
Unable to open usb port device....
that required a "turning on the printer" before "turning on the linux box". So a simple reboot fixed that.
Suddently, I'm able to print from windows over samba. The error.log file was the answer to all my praires. No my world is again a happy place.
Thanks so much for all the help I've got. I will post my smb.conf file later, when I have cleaned it up. It looks like a mess now.
Thanks again.
]]>I bet it has to do with enabling the octet-stream mime conversion in /etc/cups/mime.convs.
]]>I order to get swat working I had to install xinetd and use it instead fo inetd. How to configure /etc/services and /etc/xinetd.conf there is help to be found at this page.
As for the getting the printer to print issue, it don't work and I do not know how to make it work.
In the swat/printer parameter there is an option to choose printer from a dropdown menu. My installed printer isn't listed in that menu. Anyone know why?
The problem, at least it seems like it to me, is that the spool file never is written to the /var/spool/someting folder. When I'm printing a file on the server, a spool file pops up in /var/spool/cups. But when I try to print from a windows machine through samba, it's never created a spool file in the printer path directory.
Any ideas anyone?
]]>I'm a bit stumped, to be honest. It's probably something obscure that we're overlooking.
]]>The only other thing I can think of is uncommenting that mime thing that I mention on my cups page. (Too lazy to look for the exact file now).
Printing is indicated as cups, use client driver = yes, correct?
]]>[root@ArchLinux root]# echo hello | lp -d HP_PSC_750
request id is HP_PSC_750-3 (1 file(s))
It works like a charm.
So cups works, and I don't get any error printing from a Windows XP machine. But the printer don't print anyting when accessed from the windows machine.
Anyone with an idea?
Afraid I have no other ideas--C(an't)U(sually)P(rint)S(tuff) can be great or a total pain in the neck.
]]>[root@ArchLinux orjanp]# echo hello | lp -d printer
lp: unable to print file: client-error-not-found
But I can print a random file from kate without any problems.
]]>