Holding jobs indefinitely.

Anonymous anonymous at easysw.com
Mon Jun 20 12:00:13 PDT 2005


> Helge Blischke wrote:
> > ronaress at esalq.usp.br wrote:
> > >
> > > Kurt Pfeifle wrote:
> > >
> > > > CUPS supports all basic and many extended IPP job attributes
> > > > (see RFCs for a list of the whole lot, or Mike Sweet's book on
> > > > CUPS). "job-hold-until=indefinite" is such an IPP job attribute.
> > > >
> > > > Use it like this:
> > > >
> > > >   lp -d printername -o job-hold-until=indefinite /path/to/printfile
> > > >
> > > > on the command line.
> > > >
> > > > I am not sure if you want to force this behaviour on your users, or
> > > > if a strongly defined default would help you, or if you want to rely
> > > > on the users to do it.
> > > >
> > > > In kprinter (KDE's GUI print command), click on "Expand" button (lower
> > > > left), select "Advanced Options" tab, choose "Schedule printing: 'never
> > > > (hold indefinitely)'" to make KDE send the "job-hold-until=indefinite"
> > > > parameter.
> > > >
> > > > To get the options as default, make sure they are in the
> > > > "$HOME/.lpoptions" and "/etc/cups/lpoptions" files. (These files may
> > > > not exist, but are created if the user, resp. root runs the "lpoptions"
> > > > command....
> > > >
> > > > Cheers,
> > > > Kurt
> > > >
> > > >
> > >
> > >   Dear, printing with CUPS + Samba, where I place the option (-o job-hold-until=indefinite), since the line "print command" in the samba is ignored when we use CUPS.
> > >
> > >   Some idea? Please, help-me.
> > >
> >
> > I recently read that Samba 3.0.x with  some x > 2 permits specifying
> > options like this.
> >
> > Helge
> >
> >
> > --
> > H.Blischke at srz-berlin.de
> > H.Blischke at srz-berlin.com
> > H.Blischke at acm.org
>
>   But I use Samba 2.2.3a-13, will be that it does not have a solution ?
>
>   Tankyou
>
>   Rog�rio
>
>


not sure if samba 2.2 does this, but check your man smb.conf

samba 3.0 lists the following information:

       cups options (S)
              This parameter is only applicable if printing is set to cups. Its value is a free form string of options passed directly to the cups library.

              You can pass any generic print option known to CUPS (as listed in the CUPS "Software Users' Manual"). You can also pass any  printer  specific  option  (as
              listed in "lpoptions -d printername -l") valid for the target queue.

              You  should  set  this  parameter  to raw if your CUPS server error_log file contains messages such as "Unsupported format 'application/octet-stream'" when
              printing from a Windows client through Samba. It is no longer necessary to enable system wide raw printing in /etc/cups/mime.{convs,types}.

              Default: cups options = ""

              Example: cups options = "raw,media=a4,job-sheets=secret,secret"

I'd take a stab at using:
cups options = "job-hold-until=indefinite"


Dan LaPine

dlapine at ncsa dot uiuc dot edu






More information about the cups mailing list