parallel printer in xenial 7.5

A home for all kinds of Puppy related projects
Post Reply
Message
Author
gusfagan
Posts: 56
Joined: Mon 21 Mar 2011, 20:29

parallel printer in xenial 7.5

#1 Post by gusfagan »

In Xenial 7.5, Cups does't have a parallel port option. How can I install my parallel port printer?

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#2 Post by rockedge »


User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#3 Post by rcrsn51 »

Or, instead of random googling, read How to Install your Printer/Scanner in Puppy.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#4 Post by rockedge »

rcrsn51 wrote:Or, instead of random googling, read How to Install your Printer/Scanner in Puppy.
really? why not skip the wise ass shit and just point out the best place to read about how to do it

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#5 Post by bigpup »

He did.

How to Install Your Printer/Scanner in Puppy
http://www.murga-linux.com/puppy/viewtopic.php?t=59015
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

gusfagan
Posts: 56
Joined: Mon 21 Mar 2011, 20:29

parallel printer in xenial 7.5

#6 Post by gusfagan »

Thanks rockedge and bigpup. Xenial 7.5 doesn't have the parport kernel modules so moves like 'modprobe lp' don't work. Mine is also a frugal install so I can't change kernels. Thanks just the same.

gusfagan

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#7 Post by watchdog »

The same problem there was in tahr 6.0:

http://murga-linux.com/puppy/viewtopic.php?t=99697

Can you try switching the kernel of xenialpup to that of tahr 6.0.6?

gusfagan
Posts: 56
Joined: Mon 21 Mar 2011, 20:29

parallel port in Xenial 7.5

#8 Post by gusfagan »

I copied the Parport folder from the kernel modules of Slack 5.7 (kernel 3.4.82) into the Xenial kernel (4.4.95) in lib/modules/4.4.95/kernel/drivers and rebooted but it didn't work. I think I'll go back to Slacko 5.7. . Thanks for the advice.

gusfagan

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#9 Post by bigpup »

Mine is also a frugal install so I can't change kernels
Yes you can change the kernel.
In fact changing it in a frugal install is easy.
On desktiop is Quickpet
Quickpet>Info>Change kernel

Change kernel program will let you easily change the kernel.
The kernel button will take you to a Puppy kernel repository to find a kernel package to use.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

gusfagan
Posts: 56
Joined: Mon 21 Mar 2011, 20:29

parallel printer in xenial 7.5

#10 Post by gusfagan »

Thanks. I'll try that later. I have to go now. You've been very helpful.

gusfagan

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#11 Post by watchdog »

Rename vmlinuz as vmlinuz.old and zdrv_xenialpup_7.5.sfs as zdrv_xenialpup_7.5.sfs.old in your frugal install of xenialpup. Mount (click on it) the iso file of tahr 6.0.6 and copy vmlinuz and zdrv_tahr_6.0.6.sfs in the folder of the frugal install of xenialpup. Rename zdrv_tahr_6.0.6.sfs as zdrv_xenialpup_7.5.sfs and boot now xenialpup. Install from:

http://murga-linux.com/puppy/viewtopic. ... 540#944540

ppdev_tahr-6.0.6_k3.14.79.pet. (ppdev must be compiled in the same kernel you are using). Then read the thread of my previous post and try to install the parallel printer.

gusfagan
Posts: 56
Joined: Mon 21 Mar 2011, 20:29

parallel printer in Xenial 7.5

#12 Post by gusfagan »

Thanks for that advice. Before attempting your solution I wondered if the 64bit version of Xenial 7.5 had the right modules (parport.ko etc) so I installed it and it did.Cups still didn't show a parallel option so I added the appropriate ppd file (for HP Laserjet 5L) to /etc/cups/ppd/ (HP-Laserjet_5L-ljet4.ppd). It didn't solve the problem but I think I'm close now and a little tweaking should do the trick. Thanks again.

gusfagan

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#13 Post by watchdog »

I'm curious if the settings explained at:

http://murga-linux.com/puppy/viewtopic. ... 859#849859

would work for you in xenialpup64.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#14 Post by rcrsn51 »

I just checked Xenial64 and it is also missing the "lp" kernel module.

gusfagan
Posts: 56
Joined: Mon 21 Mar 2011, 20:29

parallel printer in Xenial 7.5

#15 Post by gusfagan »

Thanks Watchdog. That didn't work - job failed (printer not connected). As rcrsn51 pointed out (which I had missed), lp is not in the kernel for Xenial 7.5. The printer worked in my previous Puppy Linus (Slacko 5.7) so I'll return to that. You have been very helpful and I appreciate that.

gusfagan

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#16 Post by rcrsn51 »

Older Puppy kernels have the CONFIG_PRINTER option in their configuration. This determines if the lp.ko kernel module is built.

The option appears to be missing from the Xenial kernel.

But it still exists in some newer kernels I checked.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#17 Post by rockedge »

rcrsn51 wrote:Older Puppy kernels have the CONFIG_PRINTER option in their configuration. This determines if the lp.ko kernel module is built.

The option appears to be missing from the Xenial kernel.

But it still exists in some newer kernels I checked.
excellent find. good to know.

Post Reply