Koozali.org: home of the SME Server

problem with printing to networked HPlaserjet1200(win98) pri

Yuri

Maybe someone can give me a good advice.
I have e-smith 5.12 just installed to my network as domaincontroller, DHCP,DNS, and fileserver-printserver for windows machines (roaming profiles). Filesharing is working perfectly..
But If I configure networked printer(hp LJ1200 on win98) in e-smith, it doesn't want to work.

(Idea is that i want all  printers have to be used throw server, even networked ones..):
in 192.168.0.4 (win98) is installed and shared laserjet1200, shared as "hpprinter1".
Server is configured printer name =hpprinter2 , host= 192.168.0.4 , remote printer name= hpprinter1.
ClientWindows mashines is configured to use //server/hpprinter2.

Connection between ClientWindows & server seem to be ok.(in windows it shows that test page is printing...)
But e-smith server have problem with connecting to 192.168.0.4.
---
(from server /var/spool/lpd/hpprinter/lpq.0 file)
Printer: hpprinter2@server (dest hpprinter1@192.168.0.4)
 Queue: no printable jobs in queue
 Status: waiting for subserver to exit at 17:41:31.127
 Status: sending job 'user@server+686' to hpprinter1@192.168.0.4 at 17:41:31.163
 Status: connecting to '192.168.0.4', attempt 1 at 17:41:31.163
 Status: sleeping 10 secs before retry, starting sleep at 17:41:32.541
 Status: connecting to '192.168.0.4', attempt 2 at 17:41:42.533
 Status: sleeping 20 secs before retry, starting sleep at 17:41:43.913
 Status: connecting to '192.168.0.4', attempt 3 at 17:42:03.913
 Status: sleeping 40 secs before retry, starting sleep at 17:42:05.285
 Status: connecting to '192.168.0.4', attempt 4 at 17:42:45.283
 Status: sleeping 60 secs before retry, starting sleep at 17:42:47.535
 Status: connecting to '192.168.0.4', attempt 5 at 17:43:47.533
 Status: sleeping 60 secs before retry, starting sleep at 17:43:48.952
 Status: subserver pid 2688 exit status 'JFAIL' at 17:44:01.635
--
Why e-smith cant connect to 192.168.0.4? What is the problem??

Robert Heaton

Re: problem with printing to networked HPlaserjet1200(win98)
« Reply #1 on: May 28, 2002, 05:54:22 PM »
Can you ping the laser printer from your sme server?

Rob.

Yuri

Re: problem with printing to networked HPlaserjet1200(win98)
« Reply #2 on: May 28, 2002, 06:03:41 PM »
yes , host with printer is answering correctly for pinging, and smbclient -L show even all shares in there, included printer.

Shad Lords

Re: problem with printing to networked HPlaserjet1200(win98)
« Reply #3 on: May 28, 2002, 08:56:00 PM »
The problem isn't with the sharing of the printer.  It is with the LPD server on SME.  It isn't trying to print to a windows share it is trying to print to a network printer.  If you had a 2000/XP box you could install unix printing services and get a network queue that is the same name as the windows queue.

-Shad

P.S.  I'm working on an addin that will allow SME to print to Windows Shares.  Will let you know when it is done.