Another old SCO box


2006/10/04

The last time I saw a SCO 3.2v4.2 system was the summer of 2004, but another peeked out of the bushes this week.

This was at a hotel; apparently formerly a Bass Hotel but now owned by another firm. Their system printer stopped working, they brought someone in to look at it, he worked at it with a printer repair person from IBM, but no luck. They found me on the web and after an hour of getting nowhere (half an hour of which was spent finding someone who knew root's password), I gave up trying to help by phone and decided it was easier to drive up to where it lived - fortunately only 50 miles away.


Hate these ads?

When I arrived, I was able to fairly quickly identify the first problem: "lpstat -v" showed me that the printer was using /dev/tty66 on the Digiboard serial multiport, but in fact was plugged into /dev/tty67. The consultant that was still there suggested that the IBM person might have done that, no doubt mistakenly thinking that a multiport box is a bus rather than individual serial devices.

On the other hand, the IBM Laser printer was not able to even print a test page, so it didn't really matter where it was plugged in. The other consultant had already reached that conclusion without my help, and had scrounged an HP LaserJet with a serial interface. He had set it all up correctly as to baud and flow control, but we couldn't get it to print. I hooked up my old Radio Shack RS232 tester (when was the last time I used THAT, I wonder) and showed him why: both the cable from the printer and the cable from the Digi were acting as DCE devices (see Serial Printers for more on that. That wasn't going to work very well, but magically he popped up with a DTE wired RJ45-DB25 adaptor - good thing; I used to carry all that stuff in my car but those days are long gone. We swapped the adaptors and now my tester showed the right lights and indeed I could send print jobs. OK so far, right?

Ummm, not quite. The printer wouldn't eject a page. We always had to press "Go" twice to get it to feed paper and print. It all looked right in the setup menus, but somehow it was convinced something was confused in the trays. We asked where this printer had come from.. the unsurprising answer was that it had never been used in anyone's memory - it had just been sitting in a closet for years. Well, maybe its confusion about paper was why.

After a brief discussion with the manager, we decided to go out and buy a new printer. I didn't think there was much chance of finding a serial port option board at the local Compusa or Staples, and of course that was true. So we brought back a LaserJet 1320 instead and I hooked it up to the parallel port. This would necessitate users traveling a few more feet to pick up their print jobs, but they felt this was fine, especially as the whole system would be replaced within six weeks. They could live with a new location until they got the new system.

So, I issued the lpadmin command to change the device to parallel: "/usr/lib/lpadmin -p lp_printer_1 -v /dev/lp0". We ran a few test jobs and immediately realized another problem: the default font needed to be 16.7, it needed 8 lines per inch and 66 lines per page. Those had apparently been programmed into the front panel of the IBM, but the 1320 is too consumerish to have a front panel menu. So back to lpadmin: "/usr/lib/lpadmin -p lp_printer_1 -m HPLaserJet". I then edited the /usr/spool/lp/admins/lp/interfaces/lp_printer_1 file to set the needed defaults.






We had the users print out several different reports and they reported satisfactory results. Total time: 2.5 hours plus travel, which is a ridiculously long time but considering the switched wiring, the wrong adaptor and the final need to buy a new printer, I guess it's not too outrageous.

So will this be the very last SCO 3.2v4.2 system I see? Who knows..only time will tell.



Comments


Wed Oct 4 20:01:23 2006: Subject:   bruceg2004
So what are they moving to in the coming weeks?



- Bruce


Wed Oct 4 20:03:31 2006: Subject:   TonyLawrence
I dunno, Windows I'm sure.



Wed Oct 4 20:15:12 2006: Subject:   bruceg2004
Yuck - a whole new bunch of problems for them to deal with.



- Bruce

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





Views for this page
Today This Week This Month This Year  Overall
11027392 3,021

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

pavatar.jpg
More:
       - Printing
       - OSR5




Unix/Linux Consultants

Your ad here - $48.00 yearly!

http://www.cleverminds.net Need expert advice? Want a second opinion? CleverMinds is a one-stop-shop for a wide range of technology solutions. We support Unix, Linux, SCO as well as CMS, ecom, blogs, podcasts, search engines consulting and more. Contact us at web2.0@cleverminds.net 0r (617) 894-1282


http://echo3.net/ Unix/Linux Custom Applications, Web Hosting, C/C++ Programming Courses


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



Twitter
  • Nov 21 07:40
    @loudmouthman: well, a digital signature could prove it hadn't been altered. Text is no more insecure than anything else in that sense.
  • Nov 21 07:38
    Uggh. Lost $11.50 at poker last night by playing thoughtlessly and carelessly.









Change Congress


Related Posts