Advertisement
HufflepuffBR

printer.el

Aug 6th, 2014
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.48 KB | None | 0 0
  1. (defun print-header-func ()
  2.   (concat (ps-time-stamp-locale-default) " : " (ps-header-dirpart)))
  3.  
  4.  
  5. (setq ps-spool-duplex t
  6.       ps-switch-header nil
  7.       ps-print-header t
  8.       ps-print-footer nil
  9.       ps-print-header-frame nil
  10.       ps-header-offset 5.58001116
  11.       ps-header-title-font-size '(10 . 12)
  12.       ps-header-font-size '(7 . 8.5)
  13.       ps-header-lines 1
  14.       ps-left-header (list 'print-header-func))
  15.  
  16. (setq lpr-command "gtklp")
  17. (setq ps-lpr-command "gtklp")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement