Displaying 2 results from an estimated 2 matches for "saveprint".
Did you mean:
savepoint
2000 Aug 11
0
LPRng: Printing to Samba 2.0.7 from Windows 2000
...ber" which comes from
the lpq output.
DEBUGGING PRINTER PROBLEMS
One way to debug printing problems is to start by replacing these
command with shell scripts that record the arguments and the contents
of the print file. A simple example of this kind of things might
be:
print command = /tmp/saveprint %p %s
#!/bin/saveprint
# we make sure that we are the right user
/usr/bin/id -p >/tmp/tmp.print
# we run the command and save the error messages
# replace the command with the one appropriate for your system
/usr/bin/lpr -r -P$1 $2 2>>&/tmp/tmp.print
Then you...
2001 Mar 24
0
cups & samba
...KGROUP
server string = (Samba %v)
interfaces=192.168.0.2/24 127.0.0.1/24
bind interfaces only = Yes
#server string = Samba Server
browseable = yes
# enable printing with cups
printing = cups
printcap name = cups
load printers = yes
# print command = /usr/bin/lpr -oraw -P%p %s
# print command = /tmp/saveprint %p %s
# lpq command = /usr/bin/lpstat -o %p
# lprm command = /usr/bin/cancel %p-%j
# log file = /var/log/samba/log.%m
log file = /var/log/samba/%m.log
debug timestamp = No
max log size = 100
log level = 5
read bmpx = No
time server = Yes
lock directory = /var/lock/samba
locking = no
strict locking...