This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open Desktop or Openserver.

There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

Printing FAQ

How do I use a printer that's attached to an NT server?

You can use Visionfs (other articles here explain how) or configure the NT machine to act as an LPD server. NT needs the TCP/IP Printing Service installed, and the service needs to be running (you probably want to set it for Automatic in Services).


Hate these ads?

You may also need to add a dword registry key to



HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LPDSVC\Parameters


Run regedit (just click Start->Run and type "regedit"), and then click down through to parameters. Then add a new dword value called "SimulatePassThrough", and finally modify it so its value is "1". That's it; you don't need to reboot- the change is immediate. This lets the Unix side format the data without NT deciding it knows better what to do with it.

On the SCO side, you need to "mkdev rlp" if it's a 3.2v4.2 or previous release (skip to the OSR5 section if you are running a more modern release). You have to be careful not to do this twice, because the mkdev script on 4.2 is unintelligent, and will ruin your printing entirely if it is run again. You can check to see if the directory /usr/spool/lpd exists. If it does, remote printing probably was configured. Don't run it twice. If you have done that (or suspect that you have because things are very broken in the printing department), see http://aplawrence.com/cgi-bin/ta.pl?107455

Even if you haven't run it twice, you could have problems, such as nobody but root being able to print. See http://aplawrence.com/cgi-bin/ta.pl?640258 for that, or simply:








 
                 cd /usr/bin
                 chmod 6711 lp lpstat cancel
                 chown root lp lpstat cancel
                 chgrp daemon lp lpstat cancel


 


 


 


When remote printing is configured, you get asked to define a printer. To add new printers after that, use /etc/rlpconf.

These scripts add entries to /etc/printcap. You'll probably need to either modify /etc/printcap to add "mx#0" (see http://aplawrence.com/cgi-bin/ta.pl?640234 ) or fix the /etc/rlpconf script so that it creates the entries correctly to start with.

Once you have a remote printer defined, you have a directory /usr/spool/lpd, and a directory for each printer within that. In those directories you will find "status" files which may help you understand any problems that come up. For example, if you have a printer "Jane" that is printing to the remote printer "BigDog" on "Server", the status file might say "Waiting for Server to come up." If it did, you'd know that either Server is down, doesn't have a printer named BigDog, isn't running lpd, or that you are unable to communicate with it due to other problems.

The OSR5 side of this is much easier. You can use "scoadmin", or the old 'mkdev lp' syntax to get to the new Printer Manager and add a Remote Printer (note that for HP Network printers, it's 'mkdev hpnp'). Be sure that your spooler name matches the remote name.



Comments /SCOFAQ/FAQ_scotec7ntprinter.html


Add your comments

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner

cartoon
Forget the expense of flying to New England. Forget hotel and meals costs.
Installation and light training Boston and New England


Views for this page
Today This Week This Month This Year  Overall
2617835 2,316

/SCOFAQ/FAQ_scotec7ntprinter.html copyright 1997-2003 (various) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - FAQ




Unix/Linux Consultants

Your ad here - $24.00 yearly!

SCO, OpenServer, UnixWare, software, servers, security, networks, installation, administration, troubleshooting, maintenance, Watchguard, firewalls, VPNs, e-mail. Visit us at http://opensystemscomputing.com and www.go2unix.com.


http://www.schewanick.com SCO Unix, Solaris, Linx (various), PHP, MySQL, Apache, uniBasic, dL4, Perl, System Administration and more....


http://www.vss3.com SCO/Caldera OpenServer, Unixware & Linux. Tarantella & Non-stop Clustering









Change Congress


Related Posts