Operating Systems SCO Local Printing Issue in SCO Unix OS 5.0.5 Post 302372745 by SystemsAdminAS on Wednesday 18th of November 2009 04:03:09 PM
Local Printing Issue in SCO Unix OS 5.0.5


Have a SCO OpenServer 5.0.5 legacy box on site that has run our legacy ERP system for about 15 years now. Primarily uses an Okidata 321 ML Turbo line printer (defined as 'printer') attached to the system's parrel port at /dev/lp0. System primarily operates as a terminal server with clients using vt220 emulators.

Printing has been working OK for the life of the machine, but it appears about a month ago that the printer suddenly stopped actually printing. However, SCOADMIN confirms the configuration is still correct...

Print commands from the ERP system (or from simply printing a file, i.e. lp somefile.txt) send documents to the print spooler OK, but nothing happens from there, and whatever is in the queue sits there. Probably worth noting that this printer has a plainly visible alarm when it has an issue, such as being out of paper, misfed, etc. and there is currently no active alarm.

Here are some command-line results that may help:

# lpstat printer
printer-##### <username> 12345 Nov 18 15:14

# lpstat -t
scheduler is running
system default destination: printer
device for printer: /dev/lp0
printer accepting requests since <date>
printer printer waiting for auto-retry. available.
stopped with printer fault

So far, tried clearing out the queue, restarting the services (lpshut / lpsched), rebooting, checking connections / cables to no avail. My guess is the issue is that the server isn't 'seeing' the printer, especially as when SCO boots up when the printer is on and connected, it typically makes a few whirring and clicking noises corresponding with the boot sequence, which no longer occur. It would make sense then that spooled docs would sit there forever until they have a printer to process to.

In the above example, a job I ran from the command-line is active in the spooler. A cancel command will properly kick any spooled documents out.

Anything I'm missing? Any help would be appreciated...
Test Your Knowledge in Computers #417
Difficulty: Medium
The terms Vanilla JavaScript and Vanilla JS refer to JavaScript which uses very small cookies during web sessions.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Printing via SCO Unix problems ;-(

I get the following when printing from a SCO Unix application { Who are you ?} The user is printing to a printer on a network print sharing device HP 500x. I think this printer is shared via the Unix machine. How does one set up printer sharing on Unix and access permissions for them? ... (2 Replies)
Discussion started by: JoseHose
2 Replies

2. UNIX for Advanced & Expert Users

Printing Problems in unix ... ( Bar-cdoe - Ip Printing)

Hi guys ... i need ur help with some printing problem in unix ... first prob. : i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) . My issue , is it possible to print directly to an Ip address from unix ? How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies

3. UNIX for Advanced & Expert Users

SCO Unix 5.0 printing

Iv'e been having a problem with printing that driving me CRAZY! I am trying to print a large file about 200-300 pgs, but the print job reaches a certain point then stops, the job does'nt finish. Anyone have any suggestions? (2 Replies)
Discussion started by: dpadron
2 Replies

4. SCO

Printing Problems with SCO 5.0

I have several printers setup but nothing prints. I get the following error email Subject: Status of lp request aclj3-2297 Your request aclj3-2297 destined for aclj3 encountered an error while printing on printer aclj3. Reason for failure: cat: cannot open 0: No such file or... (1 Reply)
Discussion started by: Jessie Nand
1 Replies

5. AIX

Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?

Hi Friends, I have this script for ftping files from AIX server to local windows xp. #!/bin/sh HOST='localsystem.net' USER='myid_onlocal' PASSWD='mypwd_onlocal' FILE='file.txt' ##This is a file on server(AIX) ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies

6. UNIX for Advanced & Expert Users

Unix Printing issue

I am currently struggling with attempting to print text files on a SCO 5.0.7 server to a network printer. The printer is an Hp LJ P2015dn There is an existing printer set up, and when I do a: lp -d myprinter /etc/hosts the first line of the hosts file is all that prints. I even attempted... (5 Replies)
Discussion started by: asamon
5 Replies

7. AIX

Printing to Local Printer.

This is an easy one but have no clue how to start. I am connecting via a PC running XP using putty. I have a printer attached to my PC. I need to print stuff. How can I set up this printer? Thanks !:eek: ---------- Post updated at 18:22 ---------- Previous update was at 16:38 ---------- The... (2 Replies)
Discussion started by: 300zxmuro
2 Replies

8. UNIX for Dummies Questions & Answers

Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts). This is the configuration file : Code: root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies

9. UNIX for Dummies Questions & Answers

Local printing over telnet

Hi every one My environment is like this : sever operating system is SCO OSR 5.0.7 I am running my pc with RHEL5.4 OS and connecting to server via telnet. a dotmatrix printer is attached to my pc and I want get printing from my pc-printer during telnet. Will pass through printing works in this... (2 Replies)
Discussion started by: mlthati
2 Replies

10. SCO

USB Printing for SCO UNIX OpenServer 5.0.7

Years ago I set up USB printing for SCO UNIX OpenServer 5.0.7 for a client--but I've misplaced my notes on how to do this! Maintenance Pack 5 is installed. I need step-by-step instructions to proceed. I've searched the SCO Knowledge Base site and found nothing there or elsewhere on the Web. (3 Replies)
Discussion started by: Transpower
3 Replies
COMPAT_IBCS2(8) 					    BSD System Manager's Manual 					   COMPAT_IBCS2(8)

compat_ibcs2 -- setup procedure for running iBCS2 binaries DESCRIPTION
NetBSD supports running Intel Binary Compatibility Standard 2 (iBCS2) binaries. This only applies to i386 systems for now. Binaries are supported from SCO UNIX and other systems derived from AT&T System V Release 3 UNIX. iBCS2 support is only well tested using SCO binaries. XENIX binaries are also supported although not as well tested. SVR4 binaries are supported by the COMPAT_SVR4 option. iBCS2 supports COFF, ELF, and x.out (XENIX) binary formats. Binaries from SCO OpenServer (version 5.x) are the only ELF binaries that have been tested. Most programs should work, but not ones that use or depend on: kernel internal data structures STREAMS drivers (other than TCP/IP sockets) local X displays (uses a STREAMS pipe) virtual 8086 mode The iBCS2 compatibility feature is active for kernels compiled with the COMPAT_IBCS2 option enabled. If support for iBCS2 ELF executables is desired, the EXEC_ELF32 option should be enabled in addition to COMPAT_IBCS2. Many COFF-format programs and most ELF-format programs are dynamically linked. This means that you will also need the shared libraries that the program depends on. Also, you will need to create a ``shadow root'' directory for iBCS2 binaries on your NetBSD system. This directory is named /emul/ibcs2. Any file operations done by iBCS2 programs run under NetBSD will look in this directory first. So, if an iBCS2 pro- gram opens, for example, /etc/passwd, NetBSD will first try to open /emul/ibcs2/etc/passwd, and if that does not exist open the 'real' /etc/passwd file. It is recommended that you install iBCS2 packages that include configuration files, etc. under /emul/ibcs2, to avoid nam- ing conflicts with possible NetBSD counterparts. Shared libraries should also be installed in the shadow tree. Generally, you will need to look for the shared libraries that iBCS2 binaries depend on only the first few times that you install an iBCS2 program on your NetBSD system. After a while, you will have a sufficient set of iBCS2 shared libraries on your system to be able to run newly imported iBCS2 binaries without any extra work. Setting up shared libraries How to get to know which shared libraries iBCS2 binaries need, and where to get them? Depending on the file type of the executable, there are different possibilities (when following these instructions: you will need to be root on your NetBSD system to do the necessary installation steps). COFF binaries You can simply copy all of the available shared libraries since they are fairly small in size. The COFF shared libraries are typically found in /shlib and can be obtained from the following sources: SCO UNIX version 3.x (aka ODT) SCO UNIX version 5.x (aka OpenServer) SCO UnixWare Many versions of SVR4.2/x86 After copying the shared libraries, you should have at least the following files on your system: /emul/ibcs2/shlib/libc_s /emul/ibcs2/shlib/libnsl_s /emul/ibcs2/shlib/protlib_s ELF binaries You can simply copy all of the available shared libraries from the source system or distribution or use ldd(1) to determine the libraries required by a specific binary. After copying the shared libraries, you should have at least the following files on your system: /emul/ibcs2/usr/lib/libc.so.1 /emul/ibcs2/usr/lib/libcrypt.so /emul/ibcs2/usr/lib/libndbm.so /emul/ibcs2/usr/lib/libsocket.so.1 If you don't have access to a SCO system, you will need to get the extra files you need from a SCO distribution. As of January 1998, SCO sells a copy of SCO OpenServer (iBCS2) and/or SCO UnixWare (SVR4) for personal/non-commercial use for only the cost of shipping (about $20US). The distribution comes on an ISO9660-format CDROM which can be mounted and used to copy the necessary files. Run the following script to copy the basic set of files from a SCO distribution directory mounted somewhere locally: /usr/share/examples/emul/ibcs2/ibcs2-setup [directory] You should now be set up for SCO binaries which only need standard shared libs. BUGS
The information about SCO distributions may become outdated. Attempting to a use a nameserver on the local host does not currently work due to an absurd shortcut taken by the iBCS2 network code (remem- ber that there are no kernel sockets). 16/32/64 bit offsets may not be handled correctly in all cases. BSD
February 8, 1998 BSD

Featured Tech Videos

All times are GMT -4. The time now is 07:29 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy