Neighborhood. I then installed the HPLJ4000 driver locally on the Win2K client, but when I
print (e.g. from Notepad) I get the following error:
'A StartDocPrinter call was not issued'
Other programs simply state 'Could not start print job'.
Are there any files that need to be created/configured besides /etc/printcap and smb.conf ?
Where/how does the script 'smbprint' fit in?
Here are the packages that I have installed (from LPRng HowTo section 2.1) :
LPRng-3.7.4-28
ifhp-3.4.9-1
ghostscript-6.51-16
gv-3.5.8-13
file-3.35-2
Below are my printcap and (partial) smb.conf files...
# /etc/printcap
#
# DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
# This file is autogenerated by printconf-backend during lpd init.
#
# Hand edited changes can be put in /etc/printcap.local, and will be included.
lab-red:\
:sh:\
:ml=0:\
:mx=0:\
:sd=/var/spool/lpd/lab-red:\
:af=/var/spool/lpd/lab-red/lab-red.acct:\
:lp=|/usr/share/printconf/util/jetdirectprint:\
:lpd_bounce=true:\
:if=/usr/share/printconf/util/mf_wrapper:
###############################################################################
## Everything below here is included verbatim from /etc/printcap.local ##
###############################################################################
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.
# /etc/samba/smb.conf
[global]
.
.
.
load printers = Yes
printcap name = /etc/printcap
.
.
.
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[printers]
comment = Lab Printers
path = /var/spool/lpd/samba
printable = Yes
print command = /usr/bin/lpr -P%p -r %s
lpq command = /usr/bin/lpq -P%p
lprm command = /usr/bin/lprm -P%p %j
lppause command = /usr/sbin/lpc hold %p %j
lpresume command = /usr/sbin/lpc release %p %j
queuepause command = /usr/sbin/lpc -P%p stop
queueresume command = /usr/sbin/lpc -P%p start
browseable = No
If anyone can recommend further reading or send me some example configs it would be
appreciated.
Thanks,
Mike