[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ot: kx-p1124i configuration



On Friday 07 May 2021 18:14:19 fxkl47BF wrote:

> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>
> On Friday, May 7, 2021 6:45 AM, Gene Heskett <gheskett@shentel.net> 
wrote:
> > On Friday 07 May 2021 07:10:16 fxkl47BF wrote:
> > > a friend gave me a panasonic kx-p1124i. the printer works ok and i
> > > have it connected with a parallel cable. i configured it with cups
> > > to use "Driver: Panasonic KX-P1124 Foomatic/epson (recommended)
> > > (grayscale)". it prints garbage. i downloaded the ppd file
> > > recommended at openprinting.org and still get garbage. suggestions
> > > are appreciated.
> >
> > You may not be able to on hat old a printer unless the driver can be
> > configured to hold the port data valid until the printer acks the
> > strobe signal.
> >
> > That printer has fcc required noise filters in its input socket
> > which restricts the data speed, and if the port doesn't hold the
> > data until the printer acks it, at least 2 microseconds, its going
> > to print garbage. BTDT, gave up and used the slower serial port the
> > printer also had. You need a 1284 rated cable, and a printer port
> > that can do EPP mode, not always supported by mobo hardware.
> >
> > I could be wrong, but it sure smells like this.
>
> i checked the port and it is set to epp
> excuse me if i ramble a bit
> i create a file with one word 'hello' followed  by a newline and a
> carriage return the content of the file in hex is 68 65 6C 6C 6F 0A 0C
> if i print the file with cat file > /dev/lp0 i get "helloJL"
> capital J is 0x0a plus 0x40, capital L is 0x0c plus 0x40
> 0x0a and 0x0c are control characters
> where and why are they being converted to printable characters

That is usefull, as it says the port is duff, with bit d6 stuck high. Or 
possibly that the cable is duff, can you "ring" it with an ohmeter?
 
d0 set would be a 0x01, d1 would be a 0x02, and d2 would be an 0x04, d3 
would be an 0x08, d4=0x10, d5=0x20 and d6=0x40. Possibly blown by being 
plugged in live at some time back in the mists of time. If the machines 
card bus has an empty slot, you might try a different port card. A $20 
bill should get one of those.

There could be some old mostech chips that don't support epp though, so 
make sure the web page propaganda says it does support epp.

Thats a 24 pin head "pin pounder" printer, and I'd be surprised if all 
the pins work, they were small and fragile 2 decades ago. It, and the 24 
pin oki's were about the best of the lot back then.  Nowadays, the 
parport is fading away, and thats making it hard to build a cnc machine 
controller on the cheap using a parport breakout board for the machine 
control. 

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: