LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-12-2008, 03:33 PM   #1
thethinker
Member
 
Registered: Jul 2006
Location: Peabody, MA, USA
Distribution: Xubuntu, Slackware, Pop!_OS
Posts: 297
Blog Entries: 2

Rep: Reputation: 37
Using Network Printer in Slackware 12.0


Hey everyone,
I'm running slack 12.0 on a laptop connected to our local network (the physics department at FSU, if you care :-)). I thought I'd try to see if I can print using the printer in my office (whose IP I have), but I really have no idea how to go about even starting to do that. I tried lpstat -v just for kicks and got 'lpstat: Unable to connect to server'. In fact, I get that no matter what I do. So, I know this is really vague but can anyone at least get me started, trying to find out things like
1) do I have permission to print
2) how do I determine what kind of print server is running

or any other info that might allow me to figure out how this works. Unfortunately the IT-guys here are not happy when normal everyday users use linux, so anything you can give me would be great.

Thanks!

EDIT: Can't ping the printer either...just sit there waiting for a response.

Last edited by thethinker; 05-12-2008 at 03:34 PM. Reason: tried something new...
 
Old 05-13-2008, 07:39 AM   #2
pg99
Member
 
Registered: May 2008
Location: UK
Distribution: Slackware
Posts: 73

Rep: Reputation: 18
Have you tried CUPS? localhost:631 > Add Printer > IPP > socket://printer-ip:9100

hth
 
Old 05-13-2008, 12:25 PM   #3
thethinker
Member
 
Registered: Jul 2006
Location: Peabody, MA, USA
Distribution: Xubuntu, Slackware, Pop!_OS
Posts: 297

Original Poster
Blog Entries: 2

Rep: Reputation: 37
Good suggestion; now I'm got lpr, lpq etc to work but when I send something to the printer it shows up in the queue but never prints. I suppose it probably has something to do with the port (I just put in 9100, know any way to check that?), or the exact configuration. When I set up CUPS it originally put the address in as ipp://......is that correct or should I use socket://....?
 
Old 05-13-2008, 01:38 PM   #4
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
I assume you can print with your windows computer in your office. What are its settings? These should be somewhat universal. Also your IT guys are not happy when everyday users use linux, not sure what to make of that. I can't see how they would be upset or not willing to tell you the setup in your own office. Tell them you use Slackware and watch as the attitude will change Don't ask them to help, just ask for info as you would from an ISP.
 
Old 05-14-2008, 11:47 PM   #5
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
several airlink 101 USB print servers which are on LAN

can see (by my .conf file) I'm using HP deskjet (inkjet) printers

works excellently albeit said airlink print servers are a bit on the slow side but works for me because not a high volume of printing (ocasional home use).

can seen I'm having cups use lpd (provides *basic* color print functionality(ies) )

I set up using: cups at: localhost:631

and the next (printers.conf) is one of the files that got produced/created

Code:
root@AB60R:/etc/cups# pwd
/etc/cups
root@AB60R:/etc/cups# ls
command.types  cupsd.conf.default      cupsd.conf.orig  mime.convs.new  ppd/             pstoraster.convs
cupsd.conf     cupsd.conf.default.new  interfaces/      mime.types      printers.conf    snmp.conf
cupsd.conf.O   cupsd.conf.new          mime.convs       mime.types.new  printers.conf.O  ssl/
root@AB60R:/etc/cups# cat printers.conf
# Printer configuration file for CUPS v1.2.11
# Written by cupsd on 2007-12-14 18:03
<Printer dskjet960C_IP_201>
Info HP dskjet 960c on prnsrv apsusb211 IP 201
Location lpd://192.168.1.201/P1
DeviceURI lpd://192.168.1.201/P1
State Idle
StateTime 1197683928
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer dskjt960c_IP_200>
Info hp_dskjt960c_IP_200
Location 192.168.1.200
DeviceURI lpd://192.168.1.200/P1
State Idle
StateTime 1189655592
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer HP_Deskjet_932c>
Info HP Deskjet 932c on U2 on Hawking HPS12U
Location lpd://192.168.1.250/lpt2
DeviceURI lpd://192.168.1.250/lpt2
State Idle
StateTime 1189663235
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer HP_dskjet_3820>
Info HP dskjet 3820 on prnsrv apsusb211 IP 201
Location lpd://192.168.1.201/P1
DeviceURI lpd://192.168.1.201/P1
State Idle
StateTime 1189657748
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer hp_dskjet_500>
Info hp dskjet 500 on ps110 p1
Location hp dskjet 500 on ps110 p1
DeviceURI lpd://192.168.1.102/P1
State Idle
StateTime 1189657404
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
root@AB60R:/etc/cups#
--

(older Netgear PS110 print server) <-rarely still use
next assigns said IP to the mac address (PS110's mac address)
alias prnsrv='sudo /sbin/arp -s -v 192.168.1.102 00C002505653'
alias prnsrvck='ping -c 4 192.168.1.102'

--
Alan.
 
  


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
Network Printer Slackware 11 (different network) jerzeejerome Slackware 0 03-22-2007 03:03 PM
how to install network printer in slackware 10? daspooky Slackware 2 11-29-2004 01:18 PM
Network Printer Setup on Slackware 9.1 seagoj Linux - Networking 1 04-03-2004 05:18 PM
Network Printing, CUPS, Slackware 9.1, Xante Printer Conpen2000 Linux - Newbie 0 01-12-2004 09:36 PM
setup printer on client machine(slackware 8) to server (slackware7) network printer changwoo Slackware 9 05-02-2003 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:12 PM.

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