WiFi PDA Meets Linux--Part 2 - page 4
Tweak the Linux/CUPS Configuration
Surprise, surprise, surprise, Gomer... CUPS is probably the easiest part of the whole iPAQ printing process.
In the CUPS configuration file (/etc/cups/cupsd.conf), I added a line under the
Allow From 192.168.2.*
That way all my machines can print to the old Linux file/print server. Don't forget to restart CUPS. Under SUSE Linux the command is:
root> rccups restart
Other distributions have different restart programs.
Configure the iPAQ to Print to the CUPS Server
On the iPAQ perform the following steps to set up printing:
- Open the Print Manager.
- Under the Tools tab, select the Print Config item.
- Click Add.
- Select Network on the Choose Kind of Printer menu. Click Next.
- On the Specify Network Printer menu, fill in the printer manufacturer and model of the printer on your CUPS server. Mine was a model 6P HP Monochrome laser printer.
- Fill in the network name of your CUPS printer. Mine was \\moe\lp. I also checked the Enable raw file types box.
- You might want to try printing a test page, in case something wasn't set correctly. If it doesn't work troubleshoot appropriately
- Finish the process by clicking the Finish button.
Create Test Documents
Start OpenOffice.org (you do have it loaded on all your Windows machines, don't you?) and open a text document that you want to use on the iPAQ.
How about a resume? Save the file as a Microsoft Word document (.doc format).
You did try copying an OpenOffice.org Writer (save it in .doc format)file from your Samba server to the iPAQ, as outlined in Part 1, didn't you? You can transfer the file directly to the iPAQ via the WiFi link.
This will put the file on the iPAQ as a .doc file. Pocket Word will be able to open the .doc file, but you won't be able to print. You also won't find any “print” menu items, under any of the program tabs when a .doc or .xls file is open.
Alternately, if you have the iPAQ connected via Activesync you can copy your file (.doc format) into the Mobile Device directory and it will be converted automatically to a Pocket Word file (.psd format). The conversion works in either direction.
Print Pocket Word/Excel Files and Web PagesWe've finally reached the moment of truth, printing from the iPAQ to a CUPS printer.
- Open the File Explorer on the iPAQ and travel to the directory where you've saved your test document.
- For a Pocket Word or Pocket Excel document, tap and hold the filename to get a pop up menu. The menu should include Cut, Copy, Rename, etc.
- Select the bottom item, which should be Print with your test filename.
- On the My Printer screen select Print and your job should go off to the CUPS machine.
- Depending on how you've set up your Samba server, you may or may not get a Network Log In screen. If you get a login screen, fill in the user name (on the Linux/Samba/CUPS server and corresponding password.
- Hit enter (probably using the iPAQ on-screen keyboard) to complete the print request.
If everything went well, a status window will pop up on the iPAQ telling you that the print job successfully completed. Moments later your pages will show up on the printer.
Printing a Web page is even easier. Start Internet Explorer, select a Web page and then tap and hold on a blank part of the page. A pop-up window will appear where you can select the print menu item. Hit that and the page goes to the printer. Easy.
Things you can check if the file didn't print include making sure that the iPAQ has network connectivity and that CUPS is configured and running on the server. Try printing from another machine to help isolate the problem.
I have not been able to print to the CUPS server IP address using the iPAQ.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Knoppix 7.3, Slacko Puppy 5.7 and PC-BSD 10.0.1