NT print onto Unix Printer

NT print onto Unix Printer

Post by Gerard O'Drisco » Tue, 30 Nov 1993 22:02:41



We've recently installed an NT machine on our network. ftp, rcp,
telnet etc. all work fine. We want to attach it to our networked
printers (Apple LaserWriter II's). The printers are all on ethernet
and administered and served by a SunOS 4.x Unix machine.

1. Is it possible for NT to talk to such printers
2. How does one set it up.

We have Apple Macs on the same network. They talk to the printers
via the lwserver daemon running on the printer server machine. Is
something similar required.

Thanks,

--
Gerard

 
 
 

NT print onto Unix Printer

Post by dul.. » Wed, 01 Dec 1993 00:08:17



>We've recently installed an NT machine on our network. ftp, rcp,
>telnet etc. all work fine. We want to attach it to our networked
>printers (Apple LaserWriter II's). The printers are all on ethernet
>and administered and served by a SunOS 4.x Unix machine.

>1. Is it possible for NT to talk to such printers
>2. How does one set it up.

>We have Apple Macs on the same network. They talk to the printers
>via the lwserver daemon running on the printer server machine. Is
>something similar required.

>Thanks,

>--
>Gerard

There is a file "lpr10.zip" on the usual ftp archives that should help.

-- Dave Duling
   LMB/NIEHS


 
 
 

NT print onto Unix Printer

Post by Martin Gergele » Wed, 01 Dec 1993 17:57:41



Quote:>1. Is it possible for NT to talk to such printers

The lpr program from the FTP servers does the job but
type <file> | rsh <ux-host> lpr
should be ok as well.

Quote:>2. How does one set it up.

The solution above works for files from the command-line.
If you want to use Unix printers from the print menu of windows applications
you can setup your machine like this:

Create a printer with the Print Manager.
Select in "Print to" "Network Printer...".
Select "Local Port" in the following box.
Enter a valid filename as name of the port.
NT will now send all print data into this file.
Now you can start a "demon" that sends this file to a Unix Printer.

The following batchfile works for a temporary file "C:\tmp\spool"
(It uses lpr.exe and sleep.exe from the reskit)

echo off
del c:\tmp\spool.cur
:loop
sleep 3
if not exist c:\tmp\spool goto loop
:wait
sleep 1
ren c:\tmp\spool spool.cur
if not exist c:\tmp\spool.cur goto wait
lpr -D c:\tmp\spool.cur
del c:\tmp\spool.cur
goto loop

Not a nice solution but it works perfectly for me.

Greetings,

 
 
 

NT print onto Unix Printer

Post by Brad Wils » Thu, 02 Dec 1993 05:57:05



> If you want to use Unix printers from the print menu of windows applications
> you can setup your machine like this:


WLPRSPL, which works in conjunction with the print spooler to automate
sending things out to a Unix printer.  Works incredibly well with both
Windows 3.1 and Windows/NT.  Requires WINSOCK.DLL.  It has setups for
multiple queues, so you can have multiple printers printing to different
files, all going to multiple print queues.  Very well done.
--
--
Brad Wilson    Share and Enjoy!    Voice: (800)282-4FTP   Fax: (508)659-6297

My parents were assimilated by the Borg and all I got was this lousy implant
 
 
 

1. unix file print to windows nt printer

One of our dept. has windows nt print lpd queue setup to
accept text file printing from unix. However, the printing
results in lines going like
abcdefg
       1234567
              the lines got indented likr this
When I trouble-shot from the unix by printing a
"genuine" dos file (i.e. with CR/LF at eol)to that printer,
it went out okay without indentation.
Now, what can I do if I want to filter the printing
from the unix side (i.e. add the CR at eol before it is
sent out to the printer)
--
          ___                                                     ___
          L_|_                                                   _|_J
         ( -O>                                                   <O- )
      ___//\J +-------------------------------------------------+ L/\\___

    || / \\___L Computer Officer (System Support & Programming) J___// \ ||
  _ ''/\/ '---J Computer Centre, Hong Kong Baptist University   L---' \/\'' _
 / \ //\\.    | 224 Waterloo Road , HONG KONG  Tel:23397425     |    .//\\ / \
|_/\'/  ||    +-------------------------------------------------+    ||  \'/\_|
    '   ||_                                                         _||   '
        |__)                                                       (__|

2. umount problem with multiple O/S's

3. Printing from UNIX to an NT printer

4. mirroring

5. How to setup a lpd on NT to print from unix to windows 95 printer

6. bringingup interface eth0 [failed]

7. Printing to Unix Printer from NT network & IBM 3151 Question

8. sockets problem

9. printing FROM unix TO NT printers? (fwd)

10. Printing to an NT printer from a Unix client

11. Some troubles while printing from NT onto AIX 4.2

12. NT printer from RH7 - NT thinks it's Unix?

13. print postcript onto a non-postcript printer