Parallel Port Printer

Posted: 03-18-2006, 01:50 PM
I'm temporarily. trying to install an HP Laserjet on a Mandrake 10.0
machine. The Control Centre cannot see the port. Yet the BIOS says that is
enabled.

What I really wanted to do was to run it via a D-Link Print server, type
DP-301P+. The server's default static IP address is //192.168.0.10 and
I need to change it to match my LAN's format of //192.168.23.x.

Can anyone help me get over either/both of these problems? I desperately
need to gain access to the printer before Wednesday.

TIA
Reply With Quote

Responses to "Parallel Port Printer"

01234
Guest
Posts: n/a
 
Re: Parallel Port Printer
Posted: 03-18-2006, 05:23 PM
Alan Secker wrote:
> What I really wanted to do was to run it via a D-Link Print server, type
> DP-301P+. The server's default static IP address is //192.168.0.10 and
> I need to change it to match my LAN's format of //192.168.23.x.
Can't you log into its setup program with your browser? You should be
able to change its IP from there.

--
Eemaillme at:
01234_a-inside-a-circle_rjftanya_period_see-oh-emm
Reply With Quote
Alan Secker
Guest
Posts: n/a
 
Re: Parallel Port Printer
Posted: 03-18-2006, 06:07 PM
On Sun, 19 Mar 2006 01:23:45 +0800, 01234 wrote:
> Alan Secker wrote:
>
>> What I really wanted to do was to run it via a D-Link Print server, type
>> DP-301P+. The server's default static IP address is //192.168.0.10 and
>> I need to change it to match my LAN's format of //192.168.23.x.
>
> Can't you log into its setup program with your browser? You should be
> able to change its IP from there.
If I hadn't ditched Windows, I probably could but most gadgets seem to
rely on the Linux community to do the job for them.




Reply With Quote
Andrew Ed
Guest
Posts: n/a
 
Re: Parallel Port Printer
Posted: 03-18-2006, 06:14 PM
Alan Secker wrote:
> On Sun, 19 Mar 2006 01:23:45 +0800, 01234 wrote:
>
>> Alan Secker wrote:
>>
>>> What I really wanted to do was to run it via a D-Link Print server, type
>>> DP-301P+. The server's default static IP address is //192.168.0.10 and
>>> I need to change it to match my LAN's format of //192.168.23.x.
>>
>> Can't you log into its setup program with your browser? You should be
>> able to change its IP from there.
>
> If I hadn't ditched Windows, I probably could but most gadgets seem to
> rely on the Linux community to do the job for them
How about using arp from a console. For Axis print servers this works fine
in order to let you get in via a browser, ftp or telnet. Maybe it will
work on your D-link server too. I've also used arp to allow me to get in
to an old jet direct box that noone knew the IP address for.

Andrew Ed
Reply With Quote
James J. Dines
Guest
Posts: n/a
 
Re: Parallel Port Printer
Posted: 03-18-2006, 06:27 PM
Alan Secker wrote:
> On Sun, 19 Mar 2006 01:23:45 +0800, 01234 wrote:
>
>> Alan Secker wrote:
>>
>>> What I really wanted to do was to run it via a D-Link Print server, type
>>> DP-301P+. The server's default static IP address is //192.168.0.10 and
>>> I need to change it to match my LAN's format of //192.168.23.x.
>>
>> Can't you log into its setup program with your browser? You should be
>> able to change its IP from there.
>
> If I hadn't ditched Windows, I probably could but most gadgets seem to
> rely on the Linux community to do the job for them.
First off, you are running an old version (Mandrake 10.0) ... Mandriva 2006
is much better about these things. You will turn a lot of people away from
wanting to help you if you complain that you could do 'x' with Windows
(just a piece of friendly advice.)

The post you replied to was offering you a suggestion that works exactly the
same with Windows as it does with Linux, a Mac w/ OS X, or what have you.
In your browsers URL window (Firefox, Konqueror, or whatever you use),
rather than typing www.microsux.com or such, type http://192.168.0.10/ and
hit enter. If this doesn't bring up a Web based configuration page, check
your manual for instructions describing if/how using a web browser to
configure your printer is possible.

Also, there is a lot of information available here:
http://www.linuxprinting.org/tutorial.html
.... and elsewhere on the same website.

You can use the GUI install program to install CUPS ... try System -->
Configuration --> Packaging --> Install Software from the menu in the lower
left corner of your screen (May be slightly different for Mandrake 10.0)

To use the parallel port if that approach doesn't work, open a terminal
program using the menu and enter su to log in as the root user (enter root
password when prompted), type the lsmod command. One of the modules listed
should be named lp. If it is not, do:

modprobe lp

lsmod should show lp as loaded at that point. The device you want to print
to for the parallel port is /dev/lpt ... this is the equivalent of LPT1: in
DOS/Windows.

If none of these things helps you get your printer working, copy and paste
the output of the commands you typed in the terminal and the messages
returned, along with any other pertinent information you can think of, and
I/we will try to help you further.


Reply With Quote
Ron Gibson
Guest
Posts: n/a
 
Re: Parallel Port Printer
Posted: 03-18-2006, 09:31 PM
On Sat, 18 Mar 2006 18:07:35 +0000, Alan Secker wrote:
>> Can't you log into its setup program with your browser? You should be
>> able to change its IP from there.
> If I hadn't ditched Windows, I probably could but most gadgets seem to
> rely on the Linux community to do the job for them.
You might need this info for CUPS...

Device URI: parallel:/dev/lp0

Reply With Quote
Gordon
Guest
Posts: n/a
 
Re: Parallel Port Printer
Posted: 03-19-2006, 08:12 AM
On Sat, 18 Mar 2006 18:07:35 +0000, Alan Secker wrote:
> On Sun, 19 Mar 2006 01:23:45 +0800, 01234 wrote:
>
>> Alan Secker wrote:
>>
>>> What I really wanted to do was to run it via a D-Link Print server, type
>>> DP-301P+. The server's default static IP address is //192.168.0.10 and
>>> I need to change it to match my LAN's format of //192.168.23.x.
>>
>> Can't you log into its setup program with your browser? You should be
>> able to change its IP from there.
>
> If I hadn't ditched Windows, I probably could but most gadgets seem to
> rely on the Linux community to do the job for them.
Splutter, splutter. Many web browsers work on many platforms. Crank up
your web browser and point to 192.168.0.10.

Now to clean up the splattered coffee ;-)

Reply With Quote
Ron Gibson
Guest
Posts: n/a
 
Re: Parallel Port Printer
Posted: 03-18-2006, 09:29 PM
On Sat, 18 Mar 2006 13:50:03 +0000, Alan Secker wrote:
> I'm temporarily. trying to install an HP Laserjet on a Mandrake 10.0
> machine. The Control Centre cannot see the port. Yet the BIOS says that is
> enabled.
Is the parallel port seen on boot?

Grep dmesg for lp >>

lp: driver loaded but no devices found
lp0: using parport0 (polling).

I'm not sure what modules you need loaded but IIRC it's paraport. Myself
I put that support IN the kernel. Wait, you need this support...

CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y

It is possible to share a single parallel port among several devices
and it is safe to compile all the corresponding drivers into the kernel.
To compile parallel port support as a module, choose M here: the
module will be called parport.

And for US hardware...

You should say Y here if you have a PC-style parallel port. All IBM PC
compatible computers and some Alphas have PC-style parallel ports.
PA-RISC owners should only say Y here if they have a SuperIO parallel
port.

To compile this driver as a module, choose M here: the module will be
called parport_pc.

I have a little HP 400 hooked up via parallel port. Let me know if you
need more specific info.

BTW, it could not work more perfectly with MDK, Slack, everything I've
ever used.

Reply With Quote
David W. Hodgins
Guest
Posts: n/a
 
Re: Parallel Port Printer
Posted: 03-18-2006, 11:27 PM
On Sat, 18 Mar 2006 08:50:03 -0500, Alan Secker <alan-delete_this_bit_if_replying@asandco.co.uk> wrote:
> I'm temporarily. trying to install an HP Laserjet on a Mandrake 10.0
> machine. The Control Centre cannot see the port. Yet the BIOS says that is
> enabled.
In /etc/modprobe.conf, add the line
options parport_pc irq=7 dma=3 io=0x378
(assuming it's the first parallel port), to enable interrupt processing, instead of polling.

You should be able to add the printer using mcc, or run drakprinter from the
command line.

When cups is started (service cups start), or use mcc to start it at boot, you should
see messages in /var/log/syslog, such as
Mar 18 18:17:55 hodgins kernel: parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
Mar 18 18:17:56 hodgins kernel: lp0: using parport0 (interrupt-driven).
Mar 18 18:17:56 hodgins kernel: lp0: console ready
Mar 18 18:17:56 hodgins pam_console.dev[6363]: Restoring console permissions for /dev/lp0 /dev/printers/0 /dev/par0
Mar 18 18:18:48 hodgins cups: cupsd startup succeeded

If not, try loading the modules manually
modprobe -v lp
modprobe -v parport_pc
modprobe -v parport
modprove -v ppdev
and then try useing mcc to add the printer again.

I'll leave the d-link question to others.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
Reply With Quote
Alan Secker
Guest
Posts: n/a
 
Re: Parallel Port Printer
Posted: 03-19-2006, 06:50 PM
On Sat, 18 Mar 2006 18:27:54 -0500, David W. Hodgins wrote:
> On Sat, 18 Mar 2006 08:50:03 -0500, Alan Secker <alan-delete_this_bit_if_replying@asandco.co.uk> wrote:
>
>> I'm temporarily. trying to install an HP Laserjet on a Mandrake 10.0
>> machine. The Control Centre cannot see the port. Yet the BIOS says that is
>> enabled.
>
> In /etc/modprobe.conf, add the line
> options parport_pc irq=7 dma=3 io=0x378
> (assuming it's the first parallel port), to enable interrupt processing, instead of polling.
>
> You should be able to add the printer using mcc, or run drakprinter from the
> command line.
>
> When cups is started (service cups start), or use mcc to start it at boot, you should
> see messages in /var/log/syslog, such as
> Mar 18 18:17:55 hodgins kernel: parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
> Mar 18 18:17:56 hodgins kernel: lp0: using parport0 (interrupt-driven).
> Mar 18 18:17:56 hodgins kernel: lp0: console ready
> Mar 18 18:17:56 hodgins pam_console.dev[6363]: Restoring console permissions for /dev/lp0 /dev/printers/0 /dev/par0
> Mar 18 18:18:48 hodgins cups: cupsd startup succeeded
>
> If not, try loading the modules manually
> modprobe -v lp
> modprobe -v parport_pc
> modprobe -v parport
> modprove -v ppdev
> and then try useing mcc to add the printer again.
>
> I'll leave the d-link question to others.
>
> Regards, Dave Hodgins
Dave

That did the biz, except I still cannot install the printer under
printerdrake and under CUPS, the entry just doesn't do anything. However,
I decided to reconfigure Win4lin's setup to recognise an ECP parallel
port, modified the printer settings in Windows and lo and behold its solid
as a rock. So at least I can use it that way.

Thank you so much.

Regards

Alan

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parallel printer port lagol Windows XP Hardware 2 01-02-2004 05:51 AM
Can I Connect USB printer to Parallel Port? cantonie@yahoo.com Windows XP Hardware 3 12-04-2003 12:43 AM
parallel port, kyocera printer Michael Meyer Windows XP Hardware 0 09-13-2003 04:06 PM
Parallel Port not communicating with Printer George Cabral Windows XP Printers / Scanners / Fax 1 08-30-2003 06:48 PM
Parallel Port Zip Drive recognized as printer Paladon Windows XP Hardware 0 08-02-2003 05:42 AM