Welcome:

Welcome to Alternative Battery Enterprise weblog, Alternative Battery Enterprise is a small business based in Malaysia, that realt/refill/recell or even repair your laptop and notebook battery.


Alternative Battery Enterprise always emphasize on the quality of the refilled battery, you are welcome to search for our services record or user experience on other web space.

Since first operates from year 2006, Alternative Battery Enterprise maintain good customer sales and services record.

Fast turn around time, your battery will be fixed in less than one week time. Usually customers get their batteries back in next day although they are normally told 3 working day to proceed. This could be the most efficient battery refill service that really work you could possibly found in Malaysia.

Battery is backed with 100% money back satisfaction guarantee in the first month of recell. Alternative Battery Enterprise accept any reasonable reject of any refilled battery and refund will be issued immediately in 3 working day after battery is post back to us.

A total of 1 year warranty will be given!

There are 6 months warranty on battery cell, in this period you will still get a refund of 80% if your battery fail beyond repair.

After 6 months, Alternative Battery Enterprise will still fix your battery if it fail within any period of 1 year without any additional charge excluded postage fees.

Even after the warranty period, if you confirm that your battery cell is still in good condition, but battery just no working, it can be repaired at RM30! Which is the best way to ensure you get a working battery that value for your money!

Most customers reported that a refilled battery work 2-3years! Some really poorly designed (too few cell with big load) battery may last merely just 1 year, some may last up to 4 years.

Leave a user comment


Sunday, 11 May 2008

Readfile hangs while trying to read the response from printer

By default, if you don't have a printer/scanner attached to your computer, the port is recognized as old SPP type parallel port.

If you using writefile(), the file is write to SPP output buffer and wait for parallel port to response and output to the port. The device must follow the handshaking transfer between device and PC to get data.

If a parallel port support IEEE-1284 standard, it will allow file transfer from printer thru predefined method like nibble mode, Byte mode, EPP mode or ECP mode.

The device must predefined what time to send data to the parallel port in buffer upon any data request. If your printer don't out something after the host request, it mean your printer just don't output or unlikely to output in this manner.

Then there are nothing to read, readfile() waiting for device to give respond: "Hello, printer, give me some data please."

You probably want to try to readfile() from a scanner and see if it actually work.

2 comments:

david santos said...

Hello, Admin!
I loved this post.
Terima kasih

Admin said...

Thank for tell me at least someone need this, I post this message because I am struggling for the same problem a few day ago, our best friends google fail to give me the answer. After fews day of searching for the information about LPT printer port, I come our with the conclusion.