LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-28-2010, 10:11 AM   #1
jbspain
LQ Newbie
 
Registered: Oct 2010
Posts: 12

Rep: Reputation: 0
Spool Files in Cups Server


Hi,

I'm trying to setup a print server in Fedora 13. I've made it using CUPS and when I send something to print from a Windows PC it goes ok.
My main concern is to know where is the spool file stored when a file is sent to print.
I've seen in many forums that it is stored in /var/spools/cups. What I only see here is a file name c000XXX with some information about the printing job. I'm using hold print for this printer and before printing out anything I can't find the spool.
I've tried cups-pdf and it stores a pdf file in a route but this is not enough for me.
I need to know where the spool data is stored in order to know from who is the job being send.

Can anyone please help me.
Thanks.
 
Old 10-28-2010, 12:48 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,501
Blog Entries: 15

Rep: Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466
When you use a CUPS printserver the job is queued on the originating system until it succeeds on the printserver. In fact if you submit more than one job on originating system you won't even see any information about the 2nd job (or jobs after it) until the 1st one has printed. That is to say it doesn't queue them up on the printserver like you'd expect but instead leaves them queued up on the originating server. You'll only see info about 1 job at a time from the originating system on the printserver.

If your originating server uses cups its /var/spool/cups will have the queued jobs that are pending going to a separate cups printserver.

Note if you do a "strings" on the c file you see in /var/spool/cups you can make more sense out of the information it contains. Doing a "cat" isn't useful.
 
  


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
Delete files in /var/spool/mqueue HLisD1 Linux - General 7 02-09-2018 09:10 AM
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Monitor a cups spool directory cov Linux - Hardware 0 02-15-2009 08:01 AM
Printing from Mozilla creates 200Mb files in /var/spool/cups mikeyt_333 Linux - Software 3 05-23-2004 12:47 PM
Print Jobs Get Lost in CUPS Spool jmoutdoors Linux - Networking 1 12-17-2003 09:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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