# (print \[expression \[file-descriptor\]\]) [GstarCAD 2011](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md) <a id="244"></a> ## (print \[expression \[file-descriptor\]\]) --- Print, using formatted printing. --- - This function prints the same way as [prin1](%28prin1%20-expression%20-file-descriptor-%29.md), with the exception of adding an new-line character before *expression* and a space after it. Like [prin1](%28prin1%20-expression%20-file-descriptor-%29.md), the **print** function treats control characters literally (does not activate them). ### Examples | Code | Prints | Returns | | --- | --- | --- | | (**print** "First pt: ") | New line. "First pt:Space." | "First pt:" | | | | | | (**print** "\\nCompany\\005: ") | New line. | "\\nCompany\\005: " | | | "\\nCompany\\005:Space." | | **NOTE**  The difference between the **print** function and LISP's other print-related functions (for example, [prin1](%28prin1%20-expression%20-file-descriptor-%29.md) and [princ](%28princ%20-expression%20-file-descriptor-%29.md) is that **print** automatically includes a new-line character before *expression* and adds a space after *expression)*. **Tell me about...** [(prompt string)](%28prompt%20string%29.md) [(terpri)](%28terpri%29.md) [(write-line string \[file-descriptor\])](%28write-line%20string%20-file-descriptor-%29.md) [LISP Compatibility](../LISP%20Compatibility.md) [Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md) <a id="holding"></a> ## Other versions with matching text [GstarCAD 2012](../../../../2012/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28print%20-expression%20-file-descriptor-%29.md)