Who's Online
18 user(s) are online (
13 user(s) are browsing
Forums )
Members: 1
Guests: 17
Maijestro ,
more...
Headlines
libogg.lha - development/library/audio
May 12, 2025
libvorbis.lha - development/library/audio
May 12, 2025
libtheora.lha - development/library/graphics
May 12, 2025
retroarch_cores_installer.lha - emulation/gamesystem
May 12, 2025
faac.lha - audio/convert
May 10, 2025
faad2.lha - audio/convert
May 10, 2025
libfaac.lha - development/library/audio
May 10, 2025
libfaad.lha - development/library/audio
May 10, 2025
libspeex.lha - development/library/audio
May 11, 2025
libsdl2_net.lha - development/library/misc
May 11, 2025
Topic options
View mode
Newest First
OS4.1 and lpr.device
Posted on:
2009/1/15 7:14
#1
Just popping in
Joined: 2006/12/2 1:02Last Login
: 2011/5/4 13:02
From Adelaide, South Australia
Group:
Registered Users
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
Re: OS4.1 and lpr.device
Posted on:
2009/1/15 10:46
#2
Just popping in
Joined: 2008/7/9 15:47Last Login
: 2019/9/7 21:07
From Surrey, England
Group:
Registered Users
@tldaley Hi, my version of lpr.device in envarc reads: HOST 192.168.0.10 RAW note; no equals sign. Hope this helps, Richard.
Re: OS4.1 and lpr.device
Posted on:
2009/1/15 12:38
#3
Just popping in
Joined: 2006/12/2 1:02Last Login
: 2011/5/4 13:02
From Adelaide, South Australia
Group:
Registered Users
@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
Re: OS4.1 and lpr.device
Posted on:
2009/1/15 13:10
#4
Not too shy to talk
Joined: 2006/11/27 17:27Last Login
: Today 8:11
Group:
Registered Users
@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.
Re: OS4.1 and lpr.device
Posted on:
2009/1/15 14:55
#5
Quite a regular
Joined: 2006/12/1 3:20Last Login
: Today 17:42
From Michigan, USA
Group:
Registered Users
@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
Re: OS4.1 and lpr.device
Posted on:
2009/1/15 20:07
#6
Quite a regular
Joined: 2006/11/27 22:17Last Login
: 2019/11/28 9:17
From Israel
Group:
Registered Users
@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
"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
Re: OS4.1 and lpr.device
Posted on:
2009/1/15 22:30
#7
Just popping in
Joined: 2006/12/2 1:02Last Login
: 2011/5/4 13:02
From Adelaide, South Australia
Group:
Registered Users
@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. PaulOk 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
Re: OS4.1 and lpr.device
Posted on:
2009/1/15 23:01
#8
Quite a regular
Joined: 2006/11/27 22:17Last Login
: 2019/11/28 9:17
From Israel
Group:
Registered Users
@tldaley Which printer? RAW=socket printing, maybe your printer supports lpd only? For socket printing: port 9100 is the default one.
"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
Re: OS4.1 and lpr.device
Posted on:
2009/1/16 0:22
#9
Just can't stay away
Joined: 2006/12/1 18:01Last Login
: Today 8:05
From Copenhagen, Denmark
Group:
Registered Users
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
Re: OS4.1 and lpr.device
Posted on:
2009/1/16 0:37
#10
Just popping in
Joined: 2006/12/2 1:02Last Login
: 2011/5/4 13:02
From Adelaide, South Australia
Group:
Registered Users
@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
Re: OS4.1 and lpr.device
Posted on:
2009/1/16 0:45
#11
Quite a regular
Joined: 2006/11/27 22:17Last Login
: 2019/11/28 9:17
From Israel
Group:
Registered Users
@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
"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
Currently Active Users Viewing This Thread:
1
(
0 members
and 1 Anonymous Users
)