Displaying 20 results from an estimated 518 matches for "lpstat".
2004 Jan 04
0
Why does lpstat run on Solaris Samba 3.0.1?
Hello, all;
I need help with getting lpstat _not_ to run.
I'm running Samba 3.0.1 on a Sun Solaris 8 server to share out a few print queues, and it works a treat. I also run a print spooler & job management product called Xi-Text, which displaces several of the stock lp* binaries; their implementation of lpstat (among other progra...
2005 Oct 10
1
excessive lpstat calls
I run a fairly busy samba server that only serves up users' home
directory. I am running Samba v3.0.20 under Solaris 10 on a Sun v440.
I'm seeing a large number of calls to '/usr/bin/lpstat -v'. These are
probably occuring everytime a new client connects, but I'm not positive.
The server does not have any printers attached to it, has no entries in
/etc/printers.conf, and is not running lp services at all. I am unable to
remove the lp packages from the system due to depen...
2013 Oct 08
1
Address family not supported by protocol
...right Andrew Tridgell and the Samba Team 1992-2012
[2013/10/08 11:49:55.136632, 0] ../source3/smbd/server.c:1281(main)
standard input is not a socket, assuming -D option
[2013/10/08 11:49:55.763906, 0]
../source3/printing/print_standard.c:68(std_pcap_cache_reload)
Unable to open printcap file lpstat for read!
[2013/10/08 11:49:55.765678, 0]
../source3/lib/util_sock.c:423(open_socket_in)
open_socket_in(): socket() call failed: Address family not supported by
protocol
[2013/10/08 11:49:55.765901, 0]
../source3/smbd/server.c:685(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: A...
2004 Mar 22
1
CUPS setup with 3.0.3pre1
...; [global]
> ## Printing
> load printers = yes
> printcap name = cups
> printing = cups
> [printers]
> comment = All Printers
> printing = cups
> path = /usr/spool/samba
> browseable = Yes
> printable = yes
There is no string "lpstat" in my smb.conf.
testparm runs through fine.
testparm -s | grep lpstat gives:
> Loaded services file OK.
> printcap name = lpstat
> lpq command = /usr/bin/lpstat -o '%p'
???
This results in the entries:
> tail /var/log/samba/log.smbd
> Copyright...
2005 Dec 26
0
Unable to open printcap file lpstat
...e, this means that Samba has been upgraded from 2.2.8a (with UnxWare 7.1.3) to 3.0.0 (with UnixWare 7.1.4). Everything seemed to be working fine at this point. Samba was then upgraded to 3.0.10 (with maintenance pack 2), and I am now getting the following error:
Unable to open printcap file lpstat for read.
My smb.conf file has the following in the global section
printing = bsd
printcap name = lpstat
load printers = yes
I?m not sure why the ?printcap name? parameter is set to ?lpstat? ? I obviously got it to work that way when I originally installed Samba, but that was...
2004 Feb 17
42
PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA
...g config file:
[global]
workgroup = PRINTSERVER
netbios name = NEPTUN
server string = neptun print server
log file = /var/log/samba/log.%m
max log size = 50
security = share
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
printcap name = lpstat
printing = cups
[printers]
comment = All Printers
printer = hp_670C
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr -P %p -o raw %s -r
lpq command = lpstat -o %p
lprm command = cancel...
2013 Nov 10
1
Strange unexplainable CUPS problem after upgrade to 5.10
...ters. *Nothing* is different about its configuration files, since
these files are mounted via NFS from the server, *like all of the other
workstations*. The other workstations all see the printers shared by the
server. I don't understand what is going on here. And cannot find the problem.
lpstat -t on the server yields:
scheduler is running
system default destination: BlackandWhiteLaserjet
device for BlackandWhiteLaserjet: socket://192.168.1.246:9100
device for Officejet_Color: socket://192.168.1.253
BlackandWhiteLaserjet accepting requests since Tue 19 Jun 2012 03:27:17 PM EDT
Officejet_...
1998 Apr 22
0
Patch for print_svid.c
Hi !
I have a patch for print_svid.c, that enhances the usage of the
"printcap=lpstat" option under System V. It not only gets the
names of the printers via lpstat, but also the comments from
the unix printing system. It works under Solaris, and should also
work with SCO. I haven't access to other System V based systems.
I don't know if this list is the appropriate pla...
2002 Dec 11
1
Samba printing on Solaris 8
...= yes
# Debug Logging information
log level = 2
log file = /usr/local/samba/var/samba.log.%m
max log size = 50
debug timestamp = yes
# printing stuff
printing = SYSV
printcap name = /usr/local/samba/lib/printcap
print command = /bin/lp -c -d%p %s
lpq command = /bin/lpstat -o%p
lprm command = /bin/cancel %p-%j
lppause command = /bin/lp -i %p-%j -H hold
lpresume command = /bin/lp -i %p-%j -H resume
load printers = yes
use client driver = yes
[printers]
comment = "Printers"
path = /tmp
printable = yes
create mode = 0755
browseab...
2004 Jul 23
1
cups/samba integration problems
...nting system is bsd or lprng in order to use my
printer accounting application. This is where all hell breaks loose.
There seems to be no valid lpq command that samba can hand off to cups
that reports anything that samba understands. Worse, the default lpq
command (lpq -P%p) invokes (I assume) cups lpstat program. Under the
right (or wrong) conditions, this has brought my server to its knees. I
don't know what's wrong with lpstat but it seems to be horribly
inefficient, especially when 400 windows desktops query the samba server
for print queue status (which it is unable to report anyway). I...
2003 Dec 17
1
Printer prints, but reports opening
...server. When we print from a w2k station,
prints come out the printer, but the printer window reports a cycle of
messages:
- initializing printer
- opening printer
- failed to open, retrying
what can be the cause?
parts of the smb.conf:
==============
[global]
printcap name = lpstat
disable spoolss = No
show add printer wizard = No
printing = cups
print command = lp -d %p -o raw %s
lprm command = cancel %p-%j
[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes...
2004 Sep 28
5
Samba / cups problem
Hi all,
I have set up a printer in cups and I can see it with lpstat -a, and I can
print to it. I put what I thought was the appropriate stuff in smb.conf, and
yet no printer shows up to the NT client I'm testing with, or in smbclient -L
output. Any ideas at all? Here is the relevant info:
### smb.conf excerpts ###
[global]
...
printing = cups
printcap...
2005 Aug 27
1
printing problems upgrading samba from 2.2.4 to 3.0.14
...ork. I need raw printing.
For example, this line (print command = lpr-cups -P %p -o raw %s -r)
doesn't work in new version. Do I replace this with printing=cups and cups
options=raw ? I did it and printing system doesn't work OK ..
I write here my old options :
[Global]
printcap name = lpstat
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
use client driver = Yes
print command = lpr-cups -P %p -o raw %s -r
lpq command = lpstat -o %p
lprm command = cancel %...
2004 Feb 15
3
printing form linux clients to samba
...g config file:
[global]
workgroup = PRINTSERVER
netbios name = NEPTUN
server string = neptun print server
log file = /var/log/samba/log.%m
max log size = 50
security = share
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
printcap name = lpstat
printing = cups
[printers]
comment = All Printers
printer = hp_670C
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr -P %p -o raw %s -r
lpq command = lpstat -o %p
lprm command = cancel...
2003 May 13
3
windows printer queue display fails
I am driving a Suse 8.2 linux with cups 1.1.18 and samba 2.2.7a.
The problem:
The host serves several printers via cups. If some jobs are in one of
the queues "lpq -Pprinter" or "lpstat -o printer" shows up the complete
listing. Fine.
Connected to the same print queue from a Windows (XP/NT/98/2k) box I
cannot see the complete listing. Sometimes I see some of the jobs, most
of the times I don't see any.
Executing "lpq -S printhost -P printer" on the W2k host give...
2015 Oct 06
2
After update from 3.5.x to 3.6.23 all printers configured in CUPS they are no longer shared
...specified in your
> CUPS configuration file.
>
> There is more in there about printing.
Thanks Rowland, but this setting, get from man page, I have already
tried unfortunately without success.
Now I re-try this option and remove single printer define but all the
printer get fron "lpstat -v" not appear into browsing server.
My smb.conf now contain this option:
load printers = yes
cups options = raw
printcap name = cups
printing = cups
Some other suggest?
Thanks
--
Dario Lesca
(inviato dal mio Linux Fedora 22 con Gnome 3.16)
2001 Mar 18
0
windows 95 can't print......
...re is no error comment show up on the client..just keep quite and "hang"
until I push
Ctrl+alt+del to abort the task (printing). Before I start print from
windows, I make sure the server is fine,
by print one file and goes fine. After I failed print windows soon I check
the server by type
lpstat and error comment arise, it say like this :
lpstat: Unable to connect to server: Connection refused,
I try to fix this problem by reading diagnosis.txt and printing.txt that
come together with samba distribution,
but unfortunately it don't help. My printer is canon bjs210sp.
Here is may smb.c...
2006 Jun 29
1
Samba/CUPS Windows Print Queue Not Showing Up
I have installed Samba-3.0.22 with CUPS on my Solaris 10 box. It prints
fine and shows up in my CUPS queue but active print jobs in my CUPS
queue don't show up in my Windows Print Driver queue on my client! I've
also tried not using CUPS and having it call lpstat but it still doesn't
work! When I run CUPS' lpstat in command line it can see the jobs. What
am I doing wrong?
Thanks.
Jason.
--
Jason Coo
Computer Engineer, EIT
The Fluid Life Corporation
1-877-962-2400
jason@fluidlife.com
2002 Oct 01
1
quick question about the wins database.
...os level = 33
domain master = No
domain logons = No
encrypt passwords = Yes
password server = 10.10.10.99
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = lpstat
dns proxy = No
wins support = Yes
hosts allow = hosts allow = 10.10.10.0/255.255.255.0
printing = cups
print command = /usr/bin/lp -d%p -oraw %s; rm %s
lpq command = /usr/bin/lpstat -o%p
lprm command = /usr/bin/cancel %p-%j
queuepause...
2003 Oct 24
1
Printing from Win2000
...= Yes
print command = /usr/bin/lpr -P%p -r %s
browseable = No
[HPDeskjet]
comment = HP DeskJet 932C, hpijs
path = /home/garrett/hpspool
read only = No
guest ok = Yes
printable = Yes
print command = /usr/bin/lpr -P%p -r %s
printer name = Garrett
oplocks = No
And when i type this command lpstat i get this:
garrett@garrett:~$ lpstat
Printer 'Garrett@localhost' - cannot open connection - No such file or
directory
Make sure the remote host supports the LPD protocol
and accepts connections from this host and from non-privileged (>1023) ports
Printer 'Garrett@localhost' -...