Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 15:21:47 -0700
From:      chip.wiegand@simrad.com
To:        freebsd-questions@freebsd.org
Subject:   A problem with printing from NT to FBSD
Message-ID:  <OFA0C36EE4.FC71CDB1-ON88256C4E.007655D5-88256C4E.007B2E93@simrad.no>

next in thread | raw e-mail | index | archive | help
I have a fbsd-4.5 box acting as a print server for some NT servers and one 
NT workstation. I am having
problems printing. I was able to print one page after a reboot, then the 
subsequent pages all failed. On the 
NT boxes in the printer window when a job fails it shows 

Printing - printer busy or error

I check the queue on the fbsd box with lpc stat all and it is empty, and 
the printer and queue are enabled 
and ready.

I got this message on the console after trying a print job of just one 
page -

lpd[688]: lp: readfile: error on open(tfA101cwiegand.simdom): file exists

The tail of lpd-errs  looks like this -

Oct 10 14:39:29 cwiegand2 lpd[1171]: lp: unable to open dfA390SIMRAD_0 
('l' line)
Oct 10 14:39:29 cwiegand2 lpd[1171]: lp: job could not be printed 
(cfA390simrad_0.simdom)
Oct 10 14:39:33 cwiegand2 lpd[1173]: lp: unable to open dfA468SIMRAD_0 
('l' line)
Oct 10 14:39:33 cwiegand2 lpd[1173]: lp: job could not be printed 
(cfA468simrad_0.simdom)
Oct 10 14:39:37 cwiegand2 lpd[1174]: lp: unable to open dfA546SIMRAD_0 
('l' line)
Oct 10 14:39:37 cwiegand2 lpd[1174]: lp: job could not be printed 
(cfA546simrad_0.simdom)
Oct 10 14:39:41 cwiegand2 lpd[1175]: lp: unable to open dfA625SIMRAD_0 
('l' line)
Oct 10 14:39:41 cwiegand2 lpd[1175]: lp: job could not be printed 
(cfA625simrad_0.simdom)
Oct 10 14:39:45 cwiegand2 lpd[1176]: lp: unable to open dfA703SIMRAD_0 
('l' line)
Oct 10 14:39:45 cwiegand2 lpd[1176]: lp: job could not be printed 
(cfA703simrad_0.simdom)

Here's my printcap -

lp|hp|952C|HP952C:\ 
    :sh:\ 
    :sd=/var/spool/lpd/hp:\ 
    :lp=/dev/lpt0:\ 
    :mx#0:\ 
    :if=/usr/local/libexec/if-simple:

Here's the if-simple file -

#!/bin/sh
printf "\033&k2G" && cat && printf "\033&l0H" && exit 0
exit 2

I hope someone can help with this (I'd hate to have to move the printer to 
the 
NT workstation).
Regards,
--
Chip Wiegand
Computer Services
Simrad, Inc
www.simradusa.com
chip.wiegand@simrad.com

"There is no reason anyone would want a computer in their home."
     --Ken Olson, president, chairman and founder of Digital Equipment 
Corporation, 1977
 (They why do I have 9? Somebody help me!)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OFA0C36EE4.FC71CDB1-ON88256C4E.007655D5-88256C4E.007B2E93>