Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Lpd service

Posted on 1997-05-14
2
Medium Priority
?
831 Views
Last Modified: 2013-12-14
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
Comment
Question by:rrussell020397
2 Comments
 
LVL 5

Expert Comment

by:cer
ID: 1765184
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
 
LVL 2

Accepted Solution

by:
Rincewind earned 400 total points
ID: 1765185
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
This article is about my experience upgrading my consulting machine to Windows 10 Version 1709 (The Fall 2017 Creator Update)
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question