Solved

Lpd service

Posted on 1997-05-14
2
812 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 200 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

Why spend so long doing email signature updates?

Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

Join & Write a Comment

Several part series to implement Internet Explorer 11 Enterprise Mode
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
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…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

708 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now