Changes between Version 4 and Version 5 of Internal/OpenFlow/miscUnix


Ignore:
Timestamp:
Apr 28, 2012, 5:40:08 AM (12 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/miscUnix

    v4 v5  
    9595}}}
    9696Set it the same for both local and remote machines if it's happening over SSH.
     97
     98== Printing setup with CUPS. ==
     99 * ref: http://linuxcourse.rutgers.edu/howto/cups_printing.html
     100CUPS stands for Common UNIX Printing System, and is fairly standard as a means to print from UNIX and UNIX-like things. We'll describe the steps needed for quick CUPS printing setup (bare-bones) in Ubuntu 11.04
     101[[BR]]
     102 1. install packages.
     103{{{
     104cups cupsys-driver-gutenprint libcupsys2 libcupsimage2
     105}}}
     106 2. The default port that CUPS serves its admin GUI on is tcp:631. You can see listening if you do `netstat -na -4 | grep 631`:
     107{{{
     108$ netstat -na -4 | grep 631
     109tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN     
     110}}}
     111If you see it, point your browser to localhost:631. You should get a shiny-white welcome page. Yes, it was made by Apple.
     112 3. Add your printer from the Administration tab -> Add Printer. It will ask for the root user and password (OK if you are on sudoers). You will be asked to provide info on the printer, and choose the drivers.
     113[[BR]]
     114If all goes well, you will be able to see the printer's status with `lpstat`.
     115{{{
     116$ lpstat -p -d
     117printer Phaser_5500DT is idle.  enabled since Sat 28 Apr 2012 01:14:59 AM EDT
     118no system default destination
     119}}}
     120If you want to print, you can do so by invoking `lp`:
     121{{{
     122$ lp -o sides=two-sided-long-edge -d Phaser_5500DT [filename]
     123}}}