* hardcopy renders a plot to a PostScript file (works in -b batch too)
V1 in 0 SIN(0 1 1k)
R1 in out 1k
C1 out 0 100n
.tran 20u 1m
.control
  run
  set hcopypscolor=1     $ colour instead of monochrome
  hardcopy plot.ps v(out)
.endc
.end
