APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > SCO_OSR5 > Another old SCO box
Printer Friendly Version




SCO Unix ® section

Another old SCO box



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.

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.


If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

3 comments




More Articles by Anthony Lawrence - Find me on Google+



Click here to add your comments





Wed Oct 4 20:01:23 2006:   bruceg2004


So what are they moving to in the coming weeks?

- Bruce




Wed Oct 4 20:03:31 2006:   TonyLawrence

gravatar
I dunno, Windows I'm sure.



Wed Oct 4 20:15:12 2006:   bruceg2004


Yuck - a whole new bunch of problems for them to deal with.

- Bruce

Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar


cartoon
Versatile Site Map Generator $59.00
A1 Sitemap Generator

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

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide




 I sell and support
 Kerio Mail server
pavatar.jpg

This post tagged:

       - Printing
       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here