Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting Up Remote Print Queue/Directory [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
MandM
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2008
Posts: 101
Location: Orlando, FL

PostPosted: Mon Jan 05, 2009 1:50 am    Post subject: Setting Up Remote Print Queue/Directory [SOLVED] Reply with quote

Hey... I've got a project I'm working on and wanted to set something up for testing purposes.

My dilemma is this. I want to create a print queue on a centralized host that will accept print jobs from clients (text only if needed) and post the waiting jobs in a directory until they can be printed later (or never).

So... for instance if I had set up a group of new servers, I can send jobs to this directory (which I will make available via apache). So, with very little fuss on a server install, i can print to this directory, pull it up in apache, and move on to the next job.

Am I making any sense?

If this sounds feasible, let me know how to go about it!

Thanks up front!
_________________
Mr. M


Last edited by MandM on Mon Feb 23, 2009 1:42 am; edited 1 time in total
Back to top
View user's profile Send private message
heikole
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2004
Posts: 148
Location: Berlin, Germany

PostPosted: Mon Jan 05, 2009 9:55 pm    Post subject: Re: Setting Up Remote Print Queue/Directory Reply with quote

MandM wrote:
Am I making any sense?

I'm not sure. Maybe I haven't gotten your point so far. Why do you want to reinvent a print queue in a rather strange way? Why don't you to set up and configure some software like postfix? Apart from that, you could even write your own very simple but mail-to-directory-forwarding mail server with Perl and an appropriate module from CPAN.

Does that sound like something you intended?
_________________
42
Back to top
View user's profile Send private message
MandM
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2008
Posts: 101
Location: Orlando, FL

PostPosted: Tue Jan 06, 2009 1:45 pm    Post subject: Reply with quote

Thanks for the reply!

I eventually want to be able to hook up a printer to this server's queue. There are times when our dba's want printouts and the printer will be phyically located in the server room once it's installed. Until then, I'd like to know that a printer has been set up correctly by seeing its jobs sitting happily in a queue.
_________________
Mr. M
Back to top
View user's profile Send private message
heikole
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2004
Posts: 148
Location: Berlin, Germany

PostPosted: Tue Jan 06, 2009 3:49 pm    Post subject: Reply with quote

Is your main concern to write your jobs (files) to a directory first instead of sending them to a print queue directly? Do you want these files to be sent from the directory to a print queue automatically by a script then?

CUPS or those command line tools like lpq and lpstat provide you with print queues as well as access to them. You'd have to configure at least one queue (printer), of course, if not done so already. Would that be a great fuss to you?
_________________
42
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Tue Jan 06, 2009 3:51 pm    Post subject: Reply with quote

There's nothing to invent here: just set up a CUPS printer at your central server, set it to hold all jobs and have clients send jobs to the remote printer via IPP at queue-name@print-server. When you want to print, release the queue.

The web administration interface built into CUPS provides all you need to review and control printer status and queued jobs.

Edit: fixed remote printer URL.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
MandM
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2008
Posts: 101
Location: Orlando, FL

PostPosted: Fri Jan 09, 2009 2:06 pm    Post subject: Reply with quote

timeBandit wrote:
There's nothing to invent here: just set up a CUPS printer at your central server, set it to hold all jobs and have clients send jobs to the remote printer via IPP at queue-name@print-server. When you want to print, release the queue.

The web administration interface built into CUPS provides all you need to review and control printer status and queued jobs.

Edit: fixed remote printer URL.


Ah... ok. I had most of it configured correctly - I just couldn't figure out the part about holding the jobs.

Worked like a charm! Thanks for all of the help!
_________________
Mr. M
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum