昨天,今天,明天,每天的每天,你是否都多懂得一点点...

星期四, 十一月 29, 2012

pdftotext for mac os

It's not easy to find a command line pdf to text file for mac os. I found one on softpedia called pdftotext which is working well.

--
Feng

星期三, 十一月 21, 2012

HP we788aa wireless mouse driver

There is not driver came along with this product.

It works well with mac os.

I plug the receiver into the mac mini with mac os lion installed. It worked immediately without any delay.

Then I tried win7 32bit in the VM. It searched online for driver and took a while to install the driver. But it worked without any problem.

Then I brought the mouse to company and tried to use it on my company computer with win7 64bit installed. It didn't work because not driver can be found on windows update.

I tried to find hp official driver and failed. There isn't one.

Then I realize that this mouse is using Microsoft standard driver. The only problem is the win7 64 bit doesn't know it's a mouse.

Then I updated the driver from device manager. When it asked me to select the driver location, I choose to select device. I set it as a mouse. Then the standard driver was installed. And the mouse worked like a charm.

--
Feng

星期五, 十一月 09, 2012

-webkit-appearance

input field 里面奇怪的有一条横, 细看的话,说是上边框的阴影效果

-box-shadow 和 border 试也试去也没用,

后来发现是由 -webkit-appearance:textarea 引起的

把 -webkit-appearance 改成 none 解决。

--
Feng

星期四, 十一月 08, 2012

Vim 重新排版中文

设定 textwidth 后, 用 gq 命令可以把很长的段落重新排版成textwidth 设定的行宽。 但是对中文无效。

要想对中文有效, 只需设定一下 formatoptions 就可以

set fo+=m

然后 gq 就对中文有效了。 其实双字节文字也一样。

--
Feng

佳能 mp240 墨盒

在grabone 看到卖墨盒的, 要53刀。。。免费送货

想想, 当年买佳能mp240, 只要39刀, 加上运费才50刀。。。还送两个墨盒。。。。

这单单两个墨盒就要53刀。。。。更坚定了我一旦墨盒坏了,马上换一台打印机的想法

让那坑爹的卖墨盒的去坑吧,我是坚决不买

53其实还算便宜的了, 去店里买,两个要70多刀。

想当初入连供是多么正常的选择呀。。。虽然连供墨水没那么炫丽。 但对我来说无妨了。

如果没有连供的话,现在两个墨盒已经打完了,我其实啥也没打呀。。。一本书都没打过。。。就打过几个纸模。。。

好像大部分的墨水都浪费在清洗上了。。。汗。。。

不过,连供的瓶子里墨水还是满满的看不出动静。

PG512 Black + CL513 Colour -2 cartridges - $53
For : MP240, MP250, MP270, MP272, MP280, MP282, MP480, MP490, MP492, MP495 Multifunction Printers , MX320, MX330, MX340, MX350, MX360, MX410, MX420 multifunction printers and iP2700 Printer

--
Feng

星期日, 十一月 04, 2012

Canon Mp240 打印头 对齐

用打印机打出来的黑字, 发现有阴影...我可没加阴影效果呀...

看了看维护代码, 发现有 u L U 可以用来调节打印头的对齐. 不知道怎么用, 于是翻了下用户手册.

先用L打出现在的值, 果然, EF两个黑色有明显白条纹. 

用 u打出对齐表格, 然后像高考填答题卡一样, 把最顺眼的涂上黑圈. 然后放入打印机的扫描件. 这时维护代码显示U, 如果不是, 调成U.

然后, 点black 键开始扫描. 几秒钟后完成. 再用L打出现在的值. 现在的值就是刚才用笔填成黑圈的. E现在为-1, F为-4. 原来的时候全部是默认值0. 

现在基本看不到白条纹. 再打一下原来那张有阴影的文字, 对比一下, 阴影已经不见. 大功告成. 简单. 

此方法不需要连电脑. 连电脑的话,应该有更高级的设定. 

--
Feng

其它博客地址

此博客的同步博客地址: http://fengnz.wordpress.com
这里进入我的MSN SPACE.