[comp.protocols.tcp-ip.ibmpc] PC as printer server?

kshaffer@modcomp.UUCP (Ken Shaffer) (09/20/90)

Is there some PD program which would allow a PC to be a print server?

What I would like to do:  Have a printable file available on some PC,
ftp to the print server, send the printable file to the print server
to device PRN.

Hopefully, the print server will recognize the special device PRN and
queue the file to a spooler for printing.

It would be even more wonderful if the server program could be a TSR
so that the print server PC could also be used as a PC while queuing
takes place.

Ken Shaffer
modcomp!kshaffer

BHOLMES@CMS.CC.WAYNE.EDU (Brian Holmes) (09/20/90)

On Wed, 19 Sep 90 19:58:22 GMT Ken Shaffer said:
>What I would like to do:  Have a printable file available on some PC,
>ftp to the print server, send the printable file to the print server
>to device PRN.
>
I believe a version of KA9Q was modified to do just this.  I'm not
sure if this was ever incorporated into the generally distributed
version on thumper.bellcore.co though.  Also, Clarkson's and NCSA's
TCP/IP packages cna do this also.

>It would be even more wonderful if the server program could be a TSR
>so that the print server PC could also be used as a PC while queuing
>takes place.
>

None of the above solutions will run as a TSR.  Sorry!

                        Brian Holmes
                        UCC Network Management

PHONE:    (313) 577-3750  FAX=577-5626          Wayne State University
BITNET:   BHOLMES@WAYNEST1                      5925 Woodward
INTERNET: BHOLMES@CMS.CC.WAYNE.EDU              Detroit, MI 48202  U.S.A

champlin@decwrl.dec.com (Virgil Champlin) (09/20/90)

  I would like to do the opposite.  Send a file from a pc to a Unix box
for printing using "lpd".  There is just such a creature with the PCIP
implementation from Clarkson called LPR and although I haven't used it
yet, it looks mostly like what I want.  I say "mostly" because there are
still many dos programs that insist upon using the printer port directly
with no chance to redirect to a file.  If they do let you output to a
file, it produces a "sanitized" version that doesn't take advantage of
the printer type that you know you will eventually use.  What I seem
to need is a tsr that will redirect to a file that I can then use LPR
on.  Any suggestions are welcome and since I know so little about dos,
source code would be really appreciated.  Thanks, -virgil

--
    Virgil Champlin			champlin@nsl.dec.com
					Palo Alto, CA
	"I got it, I got it, I ain't got it."

champlin@WRL.DEC.COM (Virgil Champlin) (09/21/90)

	Thank you very much, David.  I am off to fetch it now. -virgil

fks@FTP.COM (Frances Selkirk) (09/21/90)

What you want is a print redirector. A print redirector catches bits
bound for the printer (by intercepting at interrupt 17), saves them to
a temporary file, and shoots them off to a network printer. Sun
Microsystems has a print redirector as a standard part of their PC-NFS
product, and we (FTP Software) have recently added one to our PC/TCP.
Those are the only commercial print redirectors I am aware of, but
there are probably public domain ones also. The file created (in our
package; not sure of others) is not preserved, but if what you want in
'taking advantage of the printer type,' is to preserve configuration
done by the DOS application, a print redirector will do that for you.
Print redirectors vary in what print programs they use, but ours, at
least, has lpr as an option.


Frances Kirk Selkirk		 info@ftp.com	           (617) 246-0900
FTP Software, Inc.		 26 Princess Street, Wakefield, MA  01880