[cups.general] bulk/batch printing using CUPS

Jerome Alet alet at librelogiciel.com
Fri Dec 8 01:52:55 PST 2006


On Fri, Dec 08, 2006 at 04:31:21AM -0500, uttam hoode wrote:
> hi all,
>   i have a folder with around 1000 postscript file. is it possible to
> print all the postscript file in one shot using command line?

What about :

  $ cd /path/to/your/folder
  $ lp *.ps
  
or if lp doesn't accept as many arguments :  

  $ cat *.ps | lp
  
or one file at a time :  

  $ for fname in *.ps ; do
      lp $fname ;
    done
    
hth    

Jerome Alet





More information about the cups mailing list