I followed your sugestions but I donīt get any hint on how to advance on this.
Quote:
Originally Posted by ferrari
Some typical diagnostic approaches you could do
1) Examine kernel outut relating to a parport or similar...
Code:
dmesg| egrep "par|lp"
|
Outputs nothing
Quote:
2) Examine the kernel's device tree in /proc/sys/dev/parport....
Code:
ls -l /proc/sys/dev/parport/parport*/autoprobe*
Which is why I suggested probing for printer hardware already with
Code:
cat /proc/sys/dev/parport/parport*/autoprobe*
or
|
ls -l /proc/sys/dev/
outputs 4 directories: cdrom, parport, raid, scsi
ls -l /proc/sys/dev/parport
outputs:
-r--r--r-- 1 root root 0 Jan 15 08:23 autoprobe
-r--r--r-- 1 root root 0 Jan 15 08:23 autoprobe0
-r--r--r-- 1 root root 0 Jan 15 08:23 autoprobe1
-r--r--r-- 1 root root 0 Jan 15 08:23 autoprobe2
-r--r--r-- 1 root root 0 Jan 15 08:23 autoprobe3
dr-xr-xr-x 1 root root 0 Jan 15 08:23 devices
-r--r--r-- 1 root root 0 Jan 15 08:23 dma
-r--r--r-- 1 root root 0 Jan 15 08:23 irq
-r--r--r-- 1 root root 0 Jan 15 08:23 modes
-rw-r--r-- 1 root root 0 Jan 15 08:23 spintime
If I cat any of the autoprobe* files, I get nothing.
Quote:
Code:
sudo cat /proc/sys/dev/parport/parport*/autoprobe*
]
|
outputs
-bash: sudo: command not found
[
Quote:
3) Finally if you had CUPS or even lprng (minimal *nix-style printing system) installed, you could could make use of lpinfo to see if a printer is detected with
|
Outputs
-bash: lpinfo: command not found
Honestly, I thought this was going to be much more easy. Although before posting I read a lot of documentation and forums, I expected something like " change permissions on file x" or " make sure your xxxx device is listed under xxxx". I appreciate all your help, guys, but maybe is time to leave this behind and admit that the industrial program running in tty1 somehow is hijacking the printing capability of the system as some of you suggested before.
Anyhow, if someone can point out a reading on how the basic printing works inside the O.S. ( without cups or lprng), will be good to learn.