LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-08-2006, 01:06 PM   #1
thewonka
Member
 
Registered: Feb 2005
Location: Cambs UK/San Diego US/Tijuana MX
Distribution: Slackware/Debian!
Posts: 53

Rep: Reputation: 15
Question Make CUPS a JetDirect/AppSocket server


I have been told that you can setup cups to listen to port 9100 like a working AppSocket (raw) printer.

I have been looking for some way to do this for days now and no luck... i have found 3rd party tools but none have worked for me ( ppf - Printer Port Forwarder for example )

i wish the printer connected to my routers usb port to print via port 9100 or some other using CUPS.

Is there really a way to do this? or is this just a myth?


Hope somebody knows,
Willy
 
Old 01-08-2006, 01:28 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
No. I use a 'networked printer' from cups;

# Printer configuration file for CUPS v1.1.23
# Written by cupsd on Sun 25 Dec 2005 11:22:21 AM EST
<DefaultPrinter HP-5650> <-- use your printer(s) ppd file(s)
Location
DeviceURI socket://192.168.49.100:9100 <-- use your routers IP here
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

All done via the cups web interface; http://localhost:631
 
Old 01-08-2006, 02:01 PM   #3
thewonka
Member
 
Registered: Feb 2005
Location: Cambs UK/San Diego US/Tijuana MX
Distribution: Slackware/Debian!
Posts: 53

Original Poster
Rep: Reputation: 15
Yes thank you, but i meen is there a way to configure my linux router (with cups) to share its printer via por 9100 to other computers.

The client config i can do easy, but the server config is something that i am not sure can be done with just cups.

for example my routers ip address ( the router that has the printer plugged in to its usb port (/dev/usb/lp0) is 10.0.0.1.

My client machine is 10.1.0.1, and i wish to use the printer on 10.0.0.1 via por 9100 as i would any jetdirect print server.

I was told i can configure cups to do so but i have not found any way to do it if its true.

Thanks ^_^
 
Old 01-08-2006, 05:19 PM   #4
thewonka
Member
 
Registered: Feb 2005
Location: Cambs UK/San Diego US/Tijuana MX
Distribution: Slackware/Debian!
Posts: 53

Original Poster
Rep: Reputation: 15
Figured it out! anybody interested in knowing how, pm me.

Since theres no info on it out there.. i guess its a secret or something..
 
Old 01-09-2006, 06:16 AM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
OK, I'm glad......

Let me guess...... you changed your system's IP address or netmask since 10.1.0.1 and 10.0.0.1 are not on the same subnet. And/or the port was not 9100 but something else.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS-HP JetDirect 170x Xswitch Debian 5 10-31-2005 10:12 PM
connection to cups server failed only if from server itself in KDE applications kyuso Fedora 0 01-22-2005 10:34 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
JetDirect print server setup Audiophyle Linux - Software 1 10-13-2003 02:04 PM
how do i make a queue using cups chiatello Linux - Software 2 07-17-2003 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration