[go: up one dir, main page]

File: print

package info (click to toggle)
cook 2.29-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 8,656 kB
  • ctags: 4,083
  • sloc: ansic: 47,636; sh: 14,376; makefile: 4,656; yacc: 3,166; perl: 224; awk: 219
file content (39 lines) | stat: -rw-r--r-- 845 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * NAME
 *      print - print files
 *
 * DESCRIPTION
 *      This cookbook is used to print files.
 *      It will almost certainly need to be changed for every site.
 *
 * RECIPES
 *      %.lw: %.ps      print a PostScript file
 *      %.lp: %         print a text file
 *
 * VARIABLES
 *      lp              The print command.
 *                      Not altered if already defined.
 *      lp_flags        OPtions passed to the print command.
 *                      Not altered if already defined.
 *                      Defaults to empty.
 *
 * MANIFEST: cookbook for printing files
 * Copyright (C) 1997-2007 Peter Miller
 */

#pragma once

if [not [defined lp]] then
        lp = lp;
if [not [defined lp_flags]] then
        lp_flags = ;

%.lw: %.ps
{
        [lp] [lp_flags] -dlaser %.ps;
}

%.lp: %
{
        [lp] [lp_flags] %;
}