Next Previous Up Top Contents Index

12 The LISPWORKS Package

hardcopy-system

Function

Summary

Print each file of a system to a printer.
Package

lispworks

Signature

hardcopy-system system-name &key command simulate => nil

Arguments

system-name

A symbol representing the name of the system. The system must have been defined using thedefsystem macro.

simulate

Ifnil or not present thenhardcopy-system works silently. Otherwise a plan of the actions whichhardcopy-system intends to carry out is printed. What happens next depends on the value of simulate :

t -- do nothing.

:ask -- you are asked, usingy-or-n-p, if you want the plan to be carried out.

:each --hardcopy-system displays each action in the plan one at a time, and asks you if you want to carry out this particular action. The answer executes the rest of the plan without further prompting,e returns fromhardcopy-system without further processing, and y andn work as expected.

Values

hardcopy-system returnsnil.
Examples

(hardcopy-system 'blackboard)

(hardcopy-system 'tms :simulate :ask :command "lpr")

Notes

By default,hardcopy-system uses*print-command* as the command sent to the shell.
See also

defsystem
compile-system
load-system
*print-command*


LispWorks Reference Manual - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker