Unable to print correctly html on Windows Printer (SMB) Share

Brendan Crowley (EEI) Brendan.Crowley at eei.ericsson.se
Fri Nov 16 07:32:05 GMT 2001


Hi,
I thought I gave sufficient info, sorry.
I'll include the /etc/printcap file below.
I'm using Linux RH7.1. & Samba 2.2.2
My printer is as far as I can tell, at least from the spec's, is not a postscript printer.
How do I setup a printer definition which will filter my print jobs to enable me to print from within Netscape?
How do I use smbclient (note 1 below) from within Netscape to print html pages?
Regards,
Brendan.

# /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.

HP_DeskJet_950C|printer:\
	:sh:\
	:ml=0:\
	:mx=0:\
	:sd=/var/spool/lpd/HP_DeskJet_950C:\
	:lp=|/usr/share/printconf/smbprint:\
	:lpd_bounce=true:\
	:if=/usr/share/printconf/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.



On Fri, Nov 16, 2001 at 12:27:24PM +0100, Brendan Crowley (EEI) wrote:
> Hi All,
> After connecting a HP DeskJet 950C printer to my NT Server and configuring it as a share printer, I used samba and printconf to connect to it.
> I setup the printer in printconf as a Samba (SMB) Printer/Windows Printer (SMB) Share
> After restarting the lpd daemon, I can print successfully the ASCII test page and other linux files, e.g. smb.conf, /etc/fstab, etc.
> My problem is that I am unable to print correctly html pages from my Netscape browser or emails either.

This is a bit lacking in detail.
ASSUMING that you are using a linux/unix box as a client to an NT server:
1. You don't need samba to print to the NT client.  You use smbclient to do this.
2. The answer lies in your printcap file. You need to have a printer
definition which will filter your print jobs on your unix/linux client
before being sent to the NT server. Netscape from unix/linux sends
postscript files, for example.  I don't know anything about the HP 950. Is is 
a postscript printer? 
Post your /etc/printcap, and, if using linux, which flavor. 
Joel




More information about the samba mailing list