Showing posts with label PrintServer. Show all posts
Showing posts with label PrintServer. Show all posts

Sunday, 9 December 2007

Covering all bases: trying out Linux - part 1 (repost from other blog)

How can I possibly hold my head up as a certified computer nerd without knowledge of the third most popular computer operating system (and incidentally the one that runs most of the internet)?

I've had goes with Linux before, but each time it was a half-hearted affair, and by no means entirely successful. Nevertheless, I decided it was time to give Linux a fair trial, and by 'fair' I'm referring to the the fact that my previous attempts were on redundant hardware that wasn't up to the job.

In recent years the computer marketplace has changed. It's now possible to buy a basic PC, without monitor or OS, for under £250. But 'basic' is a relative term. This £250 PC has a 64-bit dual-core processor, 2 GB of system RAM and a 250 GB serial ATA hard disk - computing power that would have cost between five and ten times as much a mere five years ago.

So, I bought one. I already had a suitable monitor (a 19" widescreen LCD), and I'd downloaded the operating system in readiness for the 'experiment'.

And the OS? The word is, apparently, 'Ubuntu'. You can go to the website and download a CD image file, which you then use to make a boot CD. There are comprehensive instructions on the site if you don't know how to do this - it's not difficult (and if you use a Mac it is ridiculously easy). You can then use the CD to try out Ubuntu Linux on any PC (or even an Intel Mac, apparently) without messing with your hard drive. Then, if you wish, you can install it. That's when the fun starts.

The process worked well enough. I had to be careful adjusting the display settings (several of my attempts resulted in the disappearance of the mouse cursor), but I found that ignoring the 'test' mode and rebooting worked fine. Next on the list was connecting to the internet. Firefox is pre-installed, but because of the way my home network is set up I had to adjust the network settings to a static IP address and enter DNS addresses to make it work.

I gave up on the printer. I've no doubt that connecting a USB or parallel printer would be a doddle, but I have a print-server on my network that was extremely difficult to set up for my Macs, so I wasn't surprised to find the Linux set-up a little opaque. That's something I'll need to come back to.

Ubuntu Linux also comes with OpenOffice 2.3 pre-installed, though I did notice that it wouldn't read some of my ancient StarWriter documents, despite the fact that my PC version of OpenOffice (version 2.0) has no trouble with them. It's probably a simple matter of installing the correct filters.

One important thing I discovered, pretty much by chance, is that Ubuntu Linux does not, by default, check for updates. There are preferences you have to change to allow it to update itself - once I did this, it downloaded and installed about 40 updates.

One last gem I'll mention in this initial part of the saga - I needed to copy a DVD (home produced - not copy-protected). I put the disc in the drive, and found that if I right-clicked on the desktop icon there was an option to copy the disc. This was a breeze - it made an image, then prompted for a blank disc, and burnt the copy. This will definitely be my preferred method for making DVD copies in the future. No third-party software required - not even any need to launch another app.

So far, I'm impressed.

Monday, 23 April 2007

This tech stuff is too hard (repost from other blog)

I use three computers on a regular basis. My PC is a full-tower monster with two hard disk drives and two DVD rewriters. It's not new, and over the past few months it's been giving me grief (other than the usual...). But that didn't matter too much, as I've been enjoying using my MacBook since last June. I also have a G4 Mac mini, which was my introduction to OS X and the modern Mac. (I've had a second-hand MacPlus for a few years, complete with maxed-out RAM -- all four megabytes of it -- and the legendary programmer's switch, just to prove my genuine geekness.)

I have only one printer in use, an Epson Stylus Photo R300, and until last weekend it was connected to the PC. But as I said, the PC has been giving me grief -- refusing to boot until the box had been powered up for five minutes or so, and even then shutting down a second or two after turning on. Sometimes it didn't shut down, but just sat there shouting at me (yes, really, the damn thing actually spoke -- something about CPU test failure). Other times it would begin its boot-up sequence but then stop with an 'overclocking failure'. This I could cope with, simply going into the BIOS settings and immediately saving and exiting -- it would then boot up okay.

But as you can imagine, this was getting to be a pain, especially when I wanted to print something. The PC is on my home network, and that's how I printed stuff from the Macs. Recently the PC has refused to boot up at all, and I've had to wait until the next day. I had already done some research to establish what the problem was, and had decided that the most likely culprit was the power supply. My PC has a good ASUS motherboard and a decent graphics card, but the manufacturer really skimped on some other components. The keyboard and mouse were utterly repellent. I replaced the keyboard within a week and the mouse within a month. It seems the PSU was a similarly cheap unit, and replacing it with a Jeantech 600W unit completely solved the boot-up problems.

So I could again print relatively easily from anywhere on the network using the shared printer connected to the PC. But if the PC wasn't on, I had to wait for XP to start before anything appeared on paper. I had already looked at print servers some time ago, and nothing seemed suitable (or reasonably priced) until I noticed that Linksys made a USB Print Server with a 4-port Ethernet switch, which looked like a good deal. I read some reviews on Amazon and elsewhere that made me think twice -- especially the point about the status monitor not working, which would mean you could run out of ink and not know which one of the six cartridges to change. I then found the manual on the Linksys website, in which it was pointed out that it's in the nature of network printing that two-way communication with the printer is lost -- it's not specific to Linksys.

During the course of my deliberations the printer did run out of ink when I was printing from the MacBook, and I realised that because the R300 has a small LCD status screen, the software status monitor isn't strictly necessary.

I decided to risk the purchase of the print server, given its price. It installed okay, using the supplied setup CD on the PC, and it worked fine printing from the PC.

There's no Mac software provided, but how hard can it be? Answer: very hard.

Following Apple's guidelines for installing a network printer did not work. The best I could get was page after page of Postscript commands. Other times I ended up with page after page of garbage. Trawling various forum posts, and the aforementioned Amazon reviews again, led me to believe that very few users had managed to make this thing -- the Linksys PSUS4 USB PrintServer -- work with Macintosh.

However -- and this is the purpose of this post -- I did get it to work, from both the MacBook and the G4 Mac mini, and here's how to do it:

It shouldn't be necessary to use the Linksys setup CD, as the PrintServer has a web interface accessible from a browser, but I'm assuming your setup is similar to mine (Windows XP PC and Macintosh OS X Version 10.4.9 on a home network using a wireless ADSL router). Here's what to do:
  1. Install the PrintServer according to the Linksys instructions, using the supplied setup CD on the PC.
  2. Using the Linksys utility change the PrintServer to static IP addressing, choosing a suitable address within the subnet.
  3. On the Mac, open the Print & Fax system preferences pane.
  4. Click the '+' button to add a printer.
  5. At the top of the Printer Browser window, click 'IP Printer'.
  6. In Protocol, select 'Line Printer Daemon - LPD'.
  7. In Address, type in the static IP address you chose for the PrintServer, such as '192.168.1.8'. While you type, the Printer Browser will verify that you have typed a valid address.
  8. In Queue, type 'lpd'.
  9. You'll find that the IP address has been entered into the Name field. You can change this to something more meaningful.
  10. Location can be left blank.
  11. In Print Using, select the make of your printer from the list, then select the actual model of your printer from the model list, and click 'Add'.
  12. Close the Printer Setup Utility.
(I'm not certain all the above steps are absolutely necessary, but they worked for me.)

You should now have the network printer on the list when you next want to print something from the Mac. For me, this has worked on both the MacBook (Intel) and the Mac mini (G4 PowerPC). I can't vouch for any other set-up, but reading the tales of woe in the Amazon reviews has prompted me to make this post, to show that it can be done.