linux-l: Re: Druckerprobleme
Robin S. Socha
robin at socha.net
Mo Okt 23 19:53:44 CEST 2000
* Ulrich Wiederhold <U.Wiederhold at gmx.net> writes:
> ich habe ein Problem mit meinem Drucker, Okipage 6ex. Ich betreibe
> ihn mittels magicfilter. Ich möchte jetzt ein Script aus xemacs
> ausdrucken. Mein Problem ist, daß ständig die Zufuhr von letter-Papier
> verlangt wird, obwohl ich in xemacs a4 eingestellt habe und beim
> Configurieren eigentlich auch.
Was sagen denn `ps-lpr-command' und `ps-lpr-switches'?
> Wie kann ich das Problem dauerhaft lösen?
Das hier läuft bei mir ohne Probleme:
;:*=======================
;:* Define options for printing PS files.
(setq-default
;; Specifies the size of paper to format for.
ps-paper-type 'a4
;; If non-nil, print the buffer's text in color.
ps-print-color-p t
ps-print-line-number nil
ps-font-family 'Courier
ps-font-size 9
ps-header-font-family 'Times
ps-header-font-size 12
ps-header-title-font-size 14
ps-lpr-command lpr-command
ps-lpr-switches lpr-switches
ps-landscape-mode nil
ps-number-of-columns 1
ps-print-header t
ps-show-n-of-n t
ps-razzle-dazzle t
ps-spool-duplex nil
ps-underlined-faces '()
ps-bold-faces '(font-lock-function-name-face
font-lock-keyword-face)
ps-italic-faces '(font-lock-variable-name-face
font-lock-string-face
font-lock-reference-face
font-lock-comment-face)
ps-right-header (list "/pagenumberstring load"
'german-date-dd-Mon-yyyy
'time-stamp-hh:mm:ss)
)
;
;; Generate and print a PostScript image of the buffer.
(global-set-key [(control c) p] 'ps-print-buffer-with-faces)
;; Generate and print a PostScript image of the buffer.
(fset 'toolbar-print 'ps-print-buffer-with-faces)
--
Robin S. Socha <http://socha.net/>
Mehr Informationen über die Mailingliste linux-l