Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

QN: printing from Solaris to NT queues

0 views
Skip to first unread message

Patrick Cain

unread,
Mar 31, 1998, 3:00:00 AM3/31/98
to

I'm trying to set up some print queues under Solaris 2.5.1
(with 103959-05 patch) to print to Windows NT print queues
but am not having much luck.

I'd be grateful if anyone could make some suggestions. I
don't know enough about NT so am not really sure what to check
at that end (neither are the local NT admins).

I can print direct from Solaris to printers so I suspect
Solaris might not be the problem. Is there some service
that must be started at the NT end in order to support
BSD/lpd printing?

After starting lpsched, the /etc/lp/logs/lpNet file reads:
03/31 14:58:58 p 9406 <none> Started child for caesar, pid = 9539
03/31 14:58:58 c 9539 caesar lpd retrying (1) connection to caesar in
30 secs
03/31 14:59:28 c 9539 caesar lpd retrying (2) connection to caesar in
60 secs
03/31 15:00:28 c 9539 caesar lpd retrying (3) connection to caesar in
120 secs
03/31 15:02:28 c 9539 caesar lpd retrying (4) connection to caesar in
240 secs
03/31 15:06:28 c 9539 caesar lpd retrying (5) connection to caesar in
480 secs
03/31 15:14:28 c 9539 caesar connection failed


I have:
- added and entry for the NT server to /etc/lp/Systems using
the lpadmin command, the entry reads:
caesar:x:-:bsd:-:n:10:-:-:
- set up printers using script below
- added the NT server to DNS and /etc/hosts.
- tried printing direct to some of the printers (works but not
much use as jobs compete with NT server jobs and get dropped,
also not all printers here support lpd)


add-nt-printer script:

# add-nt-printer printer-queue-name
#!/bin/sh
/usr/sbin/lpadmin -p$1 -s caesar!${1} -I any -D "$1 queue via caesar NT
server"
/usr/sbin/accept $1
/usr/bin/enable $1

thanks in advance for any help
patrick

0 new messages