Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
20 user(s) are online (13 user(s) are browsing Forums)

Members: 0
Guests: 20

more...

Support us!

Headlines

 
  Register To Post  

OS4.1 and lpr.device
Just popping in
Just popping in


See User information
Hi guys,

Having a bit of trouble with lpr.device. I have installed the device, made the changes to DEVS:NSDPatch.cfg and made the file lpr.device in EnvArc: with the arguments... HOST=192.168.2.9 MEMORY.

With the above I get a window popup Titled "Line printer device" which saids "Error reading "lpr.device" environment variable {wrong number of afguments)."

Later a message appears saying something about checking cables.

Any help getting this setup would be appreciated.

Ciao,
Trev Daley

AmigaOneXE G4/800Mhz * 512Mb Ram * Radeon 9200SE * AOS4.1.1
Go to top
Re: OS4.1 and lpr.device
Just popping in
Just popping in


See User information
@tldaley

Hi, my version of lpr.device in envarc reads:
HOST 192.168.0.10 RAW note; no equals sign.

Hope this helps, Richard.

Go to top
Re: OS4.1 and lpr.device
Just popping in
Just popping in


See User information
@Draby

Quote:

Draby wrote:
@tldaley

Hi, my version of lpr.device in envarc reads:
HOST 192.168.0.10 RAW note; no equals sign.

Hope this helps, Richard.


Hmm, just tried that with th same results.

Worth a try though.

Caio,
Trev Daley.

AmigaOneXE G4/800Mhz * 512Mb Ram * Radeon 9200SE * AOS4.1.1
Go to top
Re: OS4.1 and lpr.device
Just popping in
Just popping in


See User information
@tldaley

You may use a real host name instead of an ip address in the env variable.

Try to call

setenv lpr.device save HOST printer RAW

Then add a printer host name with prefs/internet.
This way you can change ip address of the printer via preferences and not needed to touch the env variable if the printer's config will change.

Go to top
Re: OS4.1 and lpr.device
Quite a regular
Quite a regular


See User information
@tldaley

HOST 192.168.0.6 RAW PORT=9100

This has been working here for quite a while now.

I think the port number or descriptor is required.

Paul

Builder of Frankenthousand The monster A1000
The Young Frankenthousand A1-XE G4
X5000
Go to top
Re: OS4.1 and lpr.device
Quite a regular
Quite a regular


See User information
@tldaley

Here:

8.AOS4.1:> getenv env:lpr.device
PRINTER=xerox RAW
8.AOS4.1:> grep xerox Devs/Internet/hosts
192.168.123.13 xerox

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: OS4.1 and lpr.device
Just popping in
Just popping in


See User information
@Paul

Quote:

Paul wrote:
@tldaley

HOST 192.168.0.6 RAW PORT=9100

This has been working here for quite a while now.

I think the port number or descriptor is required.

Paul


Ok we're getting closer.

Now I get "can not connect socket (connection refused)", and yet all my other internet stuff work fine.

Ciao,
Trev Daley.

AmigaOneXE G4/800Mhz * 512Mb Ram * Radeon 9200SE * AOS4.1.1
Go to top
Re: OS4.1 and lpr.device
Quite a regular
Quite a regular


See User information
@tldaley

Which printer?
RAW=socket printing, maybe your printer supports lpd only?
For socket printing: port 9100 is the default one.

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: OS4.1 and lpr.device
Just can't stay away
Just can't stay away


See User information
My env var says:

HOST=<ip address> RAW

Note the equals sign, it works fine for me with it, so I assume it is optional.

Of course it has the real IP address of my print server instead of the "<ip address>" bit.

Best regards,

Niels

Go to top
Re: OS4.1 and lpr.device
Just popping in
Just popping in


See User information
@Jack

Quote:

Jack wrote:
@tldaley

Which printer?


Canon MP980, I can't find on Canon's website any info about what proticols are used.

Quote:

RAW=socket printing, maybe your printer supports lpd only?
For socket printing: port 9100 is the default one.


I have tried most of the examples in the readme file and nothing seems to work.

I tried changing my printing prefs from lpr.device to parrallel.device, but it just keeps changing back to lpr.device.

Is there anything else I need to change?

I'm not sure what is rejecting the lpr.device from making a socket connection.

Ciao,
Trev Daley.

AmigaOneXE G4/800Mhz * 512Mb Ram * Radeon 9200SE * AOS4.1.1
Go to top
Re: OS4.1 and lpr.device
Quite a regular
Quite a regular


See User information
@tldaley

Check the protocols available in the printer's web interface (I bet it has one, just access http://its-IP-address in the browser)
Then somewhere there'l be the info on available protocols.

Jack

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project