LinuxQuestions.org
Review your favorite Linux distribution.
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 12-25-2007, 10:50 AM   #1
Joe2007
LQ Newbie
 
Registered: Dec 2007
Posts: 5

Rep: Reputation: 0
CUPS IPP printing


Hi

I want to forward all print jobs from station1 to server1 via using CUPS IPP printing method.

In my home test lab, it has two linux 5 machines, server1 and station1.

Server1 (it has a dummy printer)
Device URL: ipp://server1/printers/printer1
Make and Model: Generic Text-only printer
Default printer

station1
Device URL: ipp://server1/printers/printer1
Make and Model: Generic Text-only printer
Default printer

When I tried to print from station1, e.g. lp /etc/hosts.
The print job remains on station1 and not forwarded to server1.
lpstat -t on station1 reviews the following.


# lpstat -t
scheduler is running
system default destination: station1
device for station1: ipp://server1/printers/station1
station1 accepting requests since Wed 26 Dec 2007 12:28:36 PM WST
printer station1 now printing station1-28. enabled since Wed 26 Dec 2007 12:28:36 PM WST
Network host 'server1' is busy; will retry in 30 seconds...
station1-28 root 1024 Wed 26 Dec 2007 12:28:36 PM WST

[root@station1 ~]# lpq
station1 is ready and printing
Rank Owner Job File(s) Total Size
active root 28 hosts 1024 bytes


Please help.

Joe

Last edited by Joe2007; 12-25-2007 at 10:58 AM.
 
Old 12-25-2007, 11:11 AM   #2
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
I would prefer to use IP insted of /etc/hosts, as it's another potential source of error.

I'm not quite sure I understand what you want to do. Basicly you want a printserver functionality running on server1, and a client as station1?
I'm no cups guru, and it's a few monthes since I configured a print-server. If I remember correctly, ipp are used when the printer can be reached with an IP. (Network printers or when you configure a printer from the client). Therefore I don't believe you can use ipp on the server (Correct me if I'm wrong on this). What I think is happening here, is that the server connects to it self and print the job. The server accept, and will forward the job to the printer (It self), and that way looping an endless loop.

Then again, I could be embarrassingly wrong here.
 
Old 12-26-2007, 06:27 PM   #3
Joe2007
LQ Newbie
 
Registered: Dec 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Hi Dinithion,

It works after I ticked the share printers option on server1.


Joe
 
  


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
win ps to samba to cups to ipp cups, no ps filtering to inkjet rhoffman Linux - Server 4 09-23-2007 09:16 AM
CUPS printing to LaserJet 4 Plus, ipp error? bee2643 Linux - Hardware 2 07-04-2007 04:36 PM
CUPS IPP printing problem with Win-XP Home larsj Linux - Software 0 04-16-2006 01:19 PM
CUPS is *really* starting to tick me off... (remote printing through IPP) killerbob Slackware 3 03-27-2005 10:51 AM
suse 9.1 printing to cups ipp network printer sichen Linux - General 0 08-09-2004 07:30 PM


All times are GMT -5. The time now is 10: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