Re: printing problems

Michael Heerdegen via Users list for the GNU Emacs text editor <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
gfp <[email protected]> writes:  | Debugger entered--Lisp error: 
(error "Invalid text printer name | ‘prt_06a’ for variable 
‘pr-txt-name’") |   error("Invalid text printer name `%s' for 
variable `pr-txt-name'" |   prt_06a) | 
pr-txt-set-printer(prt_06a) |   pr-menu-set-txt-title(prt_06a) | 
pr-txt-name-custom-set(pr-txt-name prt_06a) | 
setopt--set(pr-txt-name prt_06a) 
 
> "prt_06a" is  defined in printing.el 
 
It's appearing in examples only, as far as I understand. 
 
> init.el: 
>     [...]  (setopt pr-txt-name      'prt_06a) (setopt 
>     pr-txt-printer-alist 
>           '((prt_06a "lpr" nil "prt_06a") 
>             (prt_07c nil   nil "prt_07c") )) 
 
Given the kind of error you're encountering, I would first try to 
setopt `pr-txt-printer-alist' _before_ setting `pr-txt-name'.  In 
other words, reverse the order of these expressions. 
 
 
Michael.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.