Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 836
  • Last Modified:

Lpd service

I know you can send print jobs to unix printers using lpr and we do it works fine. My problem is getting a unix box to print to a nt queue. You are supposed to be able to setup an lpd service on nt and assign it a local queue but I have looked and looked and tried and can't seem to get it done.
I do hae tcp/ip and microsoft printing installed on the server thats to run lpd service. Where do I go from here? The printer we are trying this with is connected to the server via a parallel cable, does it have to be a network printer? Also can a shared parallel printer on another machine be given an lpd queue on a nt server box so that a unix user could print to the nt server queue and get redirected to the shared printer?

thanks
ron russell
rrussell@stsci.edu
0
rrussell020397
Asked:
rrussell020397
1 Solution
 
cerCommented:
I did not do it myself, but it is supposed to work.
- have LPD running on NT-server
- create a printer that uses LPT1
assign this printer to LPD.
You should also be able to redirect the printer and assign a remote NT printer (e.g.  \\server2\printer1)

Maybe I miss some details?


0
 
RincewindCommented:
On the NT box you will have to have TCP/IP printing runnig. Make sure you select the printer as being managed from 'my computer', being the server you are working on. Assign the printer to LPTx: and share it.

On the unix-box you can now print to the NT printerqueue as follows:

lpr -S \\nt-servername -P queuename -f o
or a similar command, depending on which unix version you are using. The -f o option stands for 'RAW', which forces NT to bluntly pass the data on to the printer.

If necessary, put the IP adress of the NT server in the Unix hosts table.

In the NT-queue, the jobs should appear with data-type RAW instead of TEXT.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now