Job forewarding with no processing

Anonymous anonymous at easysw.com
Wed Nov 3 23:49:45 PST 2004


Anonymous wrote:
> Thanks for the quick reply!  You guys are great.  I added the PostScript with XML header type as suggested to the two mime files.  I am getting the following error and wondered if you had any insight:
>
> D [28/Oct/2004:12:50:44 -0600] StartJob(181, 0x808e568)
> D [28/Oct/2004:12:50:44 -0600] StartJob() id = 181, file = 0/1
> E [28/Oct/2004:12:50:44 -0600] Unable to convert file 0 to printable format for job 181!
> I [28/Oct/2004:12:50:44 -0600] Hint: Do you have ESP Ghostscript installed?
> D [28/Oct/2004:12:50:44 -0600] CancelJob: id = 181
>
> I have commented and uncommented out the mime.types and the mime.convs files quite a bit over the last couple of weeks while trying to trick CUPS into just passing the files through.  Could this error be a problem with those files?
>
> Thanks again!
> Drew Johnson
>
>
>
> pipitas wrote:
> > Anonymous wrote:
> >
> > > I work at a Print Center at a university and am interested in setting up a
> > > CUPS server to accept jobs and hold them for routing to one of several
> > > large network printers (Xerox DocuTech 6135) or some other printer.  The
> > > problem that I am encountering is that CUPS wants to change the files more
> > > often than I would like.  The jobs that are printed to the server are
> > > PostScript jobs, but they have an XML header, so CUPS wants to interpert
> > > them as text files.  Even without the header (a conforming PostScript
> > > file), I am having some errors with files that I normally have no problems
> > > with.
> >
> > I am not sure if I really do get what you want....
> >
> > If it is that CUPS shouldnt touch these files at all, then you may want
> > to set up a "raw" queue: that is, a printer with no PPD associated. (You
> > may need to comment out the last lines of the /etc/cups/mime.* files too,
> > which are referring to "application/octet-stream").
> >
> > > Can anyone suggest a configuration which would ensure minimal interference
> > > with the files.  {I have tried adding the XML files to the MIME type files
> > > and have them process as raw, but can't seem to get that to work)
> >
> > Why not?
> >
> > First, add a mime type definition in "mime.types":
> >
> >  application/vnd.ps-with-xml-header    contains(0,1024,"<xml>") contains(0,1024,"<XML>")
> >
> > This assumes that amongst the first 1024 characters of the file there
> > is contained either "<xml>" or "<XML>". Of course you can make up a
> > more precise definition since you know the files you are dealing with
> > better than I do.
> >
> > Second, add a conversion rule" in "mime.convs":
> >
> >   application/vnd.ps-with-xml-header  application/vnd.cups-raw   0   -
> >
> > This "converts" youre "vnd.ps-with-xml-header" into a "vnd.cups-raw"
> > file by doing nothing at all (the "-" is the CUPS "nullfilter). This
> > should ensure your special XML-headed files go directly to the printer
> > (if that is what you want). Note, that here you dont need to set up a
> > special raw queue. It is just that the xml-headed PS files are treated
> > as "raw".
> >
> >
> > > I am running CUPS 1.1.15.61 on SUSE Enterprise Server 8 (2.4.19).
> > >
> > > Thanks in advance!  CUPS is a wonderful product and KDEPrint is just what
> > > we are looking for to handle our job redirecting.
> >
> > ;-)
> >
> > > Drew Johnson
> >
> > Cheers,
> > Kurt





More information about the cups mailing list