Koozali.org: home of the SME Server

Printing Jibberish

Terry Hui

Printing Jibberish
« on: March 26, 2002, 08:52:48 AM »
I am using E-smith v. 5.1.2 I have two win2k machines connecting with it sharing internet access.  I have a HP Deskjet 600c connected to the E-smith server on LPT1 (lp0).  Whenever I print to it using the two windows machines I get jibberish and I have to kill the spool using the lprm command.  I have tested different cables without success.  I have booted the server into DOS and using dianostic software checked the printer port and everything is fine.  So.... I am at a loss.  Can someone help?

here is my smb.conf, I took out all the spaces to save space.

________________________

[global]
add user script = /sbin/e-smith/db accounts set %u machine ; \
/sbin/e-smith/signal-event machine-account-create %u
bind interfaces only = no
case sensitive = no
character set = ISO8859-1
client code page = 850
dns proxy = no
domain admin group = admin
domain logons = yes
domain master = yes
encrypt passwords = yes
guest account = public
guest ok = no
hosts allow = 127.0.0.1 192.168.0.0/255.255.255.0
interfaces = 127.0.0.1 192.168.0.1/255.255.255.0
level2 oplocks = false
local master = yes
log file = /var/log/samba/log.%m
logon home =
logon path =
logon script = netlogon.bat
map to guest = never
max log size = 50
name resolve order = wins lmhosts bcast
netbios name = server1
oplocks = false
os level = 65
preferred master = yes
preserve case = yes
printer admin = admin
security = user
server string = Mitel Networks SME Server
short preserve case = yes
smb passwd file = /etc/smbpasswd
socket options = TCP_NODELAY
strict locking = no
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
wins support = yes
workgroup = workgroup
printcap name = /etc/printcap
load printers = yes
printing = lprng
print command = /usr/bin/lpr -b -h -r -P%p %s
[homes]
comment = Home directory
browseable = no
guest ok = no
read only = no
writable = yes
printable = no
create mode = 0660
force create mode = 0660
directory mode = 0770
force directory mode = 0770
path = /home/e-smith/files/users/%S/home
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[Primary]
comment = Primary site
path = /home/e-smith/files/primary
read only = no
writable = yes
printable = no
create mode = 0640
directory mode = 02750
force create mode = 0640
force directory mode = 02750
[netlogon]
comment = Network Logon Service
path = /home/netlogon
guest ok = yes
writable = yes
browseable = no
[print$]
comment = Printer drivers
path = /home/e-smith/files/samba/printers
guest ok = yes
browsable = yes
writable = yes
[s1sharedrive]
comment = shared drive
path = /home/e-smith/files/ibays/s1sharedrive/files
read only = no
writable = yes
printable = no
inherit permissions = yes
create mode = 0660
_____________________________

Robert Boerner

Re: Printing Jibberish
« Reply #1 on: March 26, 2002, 05:51:21 PM »
Shot in the dark here....

1. Check that the latest and greatest versions of the Win2000 driver for that printer oare loaded on the clients (obvious I know, but I have to say it). Also make sure to check any settings in the driver on the client which refer to direct communication to the printer (as some try to communicate directly with the printer via Bi-Directional communication)

2. Check the BIOS of the server and see what communication mode the parallel port is set too (usually variants of EPP, ECP).

I will bet a buck on the BIOS setting :)

Terry Hui

Re: Printing Jibberish
« Reply #2 on: March 27, 2002, 05:56:40 AM »
The bios had:

1. Normal
2. EPP
3. ECP

Tried all three settings still get jibberish.

Thanks Rob

Stefano Zamboni

Re: Printing Jibberish
« Reply #3 on: April 07, 2002, 02:55:21 AM »
Hi Terry, take a look at http://hpinkjet.sourceforge.net/
HTH

Stefano