LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2004, 09:36 AM   #1
jfranks214
Member
 
Registered: Feb 2004
Distribution: OpenBSD, FreeBSD
Posts: 70

Rep: Reputation: 15
print


Fedora Core 1 no gui

CUPS 1.1.19

I've attempted to install a printer using:

lpadmin -p hp2250tn -v socket://10.13.0.107

printer is an HP Business Inkjet 2250tn, and is a network printer.

the printer is showing up in the printers.conf file.

I tried to print to the printer using:

lpr /etc/samba/smb.conf hp2250tn

and

lpr /etc/samba/smb.conf 10.13.0.107

( i just figured that the smb.conf file was as good a thing as any to print)


both resulted in a 'no such file or directory'

I'm very new to CUPS, as you may have guessed, any help will be appreciated. Ideally I want to share printers out to windows machines from this box, but right now I'm just trying to get the prionter installed and printing. The video system in this box is not beefy enough for x apparently, so I'm doing it all from the shell. I love the experience but right now I'm longing for a gui

Last edited by jfranks214; 04-07-2004 at 09:37 AM.
 
Old 04-07-2004, 10:59 AM   #2
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
try this command:

lpr -Php2250tn /etc/samba/smb.conf

note: some versions of lpr need a space between the -P and the printer name, some versions don't...
if this doesn't help, try "man lpr" for more information about the lpr command, it has some more options. if this doesn't, post any error message you get

Quote:
Ideally I want to share printers out to windows machines from this box
you'll need samba for this...

greetz,
-= iluvatar =-

Last edited by iluvatar; 04-07-2004 at 11:02 AM.
 
Old 04-07-2004, 11:32 AM   #3
jfranks214
Member
 
Registered: Feb 2004
Distribution: OpenBSD, FreeBSD
Posts: 70

Original Poster
Rep: Reputation: 15
thanks,

I tried this, and received the error:

lpr: unable to print file: server-error-not-accepting-jobs

(BTW, I'm trying to RTFM, but still, all assistance is greatly appreciated)

Jonathan
 
Old 04-07-2004, 11:53 AM   #4
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
well, seems the printer is not accepting jobs kidding, I don't know exactly how to solve this, because I always use webmin to manage printers... however maybe there's something in the cupsd manual or maybe another linux specialist around here?

succes with this,
-= iluvatar =-
 
Old 04-07-2004, 01:48 PM   #5
jsokko
Member
 
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110

Rep: Reputation: 15
Have you tried (after deleting old printer install with lpadmin -x):

1. /usr/sbin/lpadmin -p [printer] -E -v [device] -m [specific ppd file]
2. restart cups server
3. enabling printer : /usr/bin/enable [printer]

I'd highly recommend going through the admin manual at www.cups.org...
 
Old 04-07-2004, 02:07 PM   #6
jfranks214
Member
 
Registered: Feb 2004
Distribution: OpenBSD, FreeBSD
Posts: 70

Original Poster
Rep: Reputation: 15
I'll check it out. I'm actually trying to do this in raw mode, so I haven't loaded the ppd's. My understanding is that post script printing uses more resources, and I need to spare them wherever I can on this machine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 05:15 PM
HP PS7150: text doesn't print in OOO and Abiword!, but I can print test page & w MzFF gabba Mandriva 6 10-31-2005 12:10 PM
Can't print to print server (RH8 + LPRng) ivanscheers Linux - Networking 1 10-08-2004 07:37 AM
OfficeJet G85, CUPS Web based Admin test print works, lpr/lp dose not. ptal-print OK. NLR Linux - Hardware 2 09-20-2004 03:59 PM
Mozilla problems: Print/print preview doesn't work, not recording sites in history... andy_g_gray Linux - Software 3 01-23-2004 07:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration