From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: printing error Date: Fri, 19 Mar 2010 18:38:38 +0100 Message-ID: <7EC8206C-6D31-4B0A-984F-E8EBA2E72715@gmail.com> References: <46FF04F1BA077D4586212E7E31C57D2A04511725FE@MAIL.darden.virginia.edu> <8073.1268836388@gamaville.dokosmarshall.org> <46FF04F1BA077D4586212E7E31C57D2A0451260E43@MAIL.darden.virginia.edu> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NshIZ-0001dz-45 for emacs-orgmode@gnu.org; Fri, 19 Mar 2010 14:51:55 -0400 Received: from [140.186.70.92] (port=50159 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NshIW-0001cH-M5 for emacs-orgmode@gnu.org; Fri, 19 Mar 2010 14:51:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NshIU-0006S5-Aw for emacs-orgmode@gnu.org; Fri, 19 Mar 2010 14:51:52 -0400 Received: from mail-ew0-f224.google.com ([209.85.219.224]:58768) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NshIT-0006PF-A1 for emacs-orgmode@gnu.org; Fri, 19 Mar 2010 14:51:50 -0400 Received: by mail-ew0-f224.google.com with SMTP id 24so703576ewy.15 for ; Fri, 19 Mar 2010 11:51:48 -0700 (PDT) In-Reply-To: <46FF04F1BA077D4586212E7E31C57D2A0451260E43@MAIL.darden.virginia.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Brody, William (Buck)" Cc: "emacs-orgmode@gnu.org" Hi William looks like the Emacs 22.3 version of ps-print has this problem. I am using Emacs 23, and do not have this problem. The problem seems to be related to list face definition, maybe you are using them for org-todo-keyword-faces, for example? If you define these special faces as faces and then add them as faces (not lists) to that variable, maybe the problem can be circumvented? HTH - Carsten On Mar 17, 2010, at 10:58 PM, Brody, William (Buck) wrote: > Emacs version 22.3.1 > Org-mode version 6.34c > > Printing works on most documents. It works on some org documents, > but it seems to depend on whether specific fonts are used in the > faces. > > I created a sparse tree and typed > > Command: > M-x ps-print-buffer-with faces > > Minibuffer: > Font for some characters not found. Continue anyway? (yes or no) > > Command: > Yes > > This is the back trace: > > ebugger entered--Lisp error: (wrong-type-argument stringp > ("blue" :weight bold)) > xw-color-values(("blue" :weight bold) nil) > ps-e-color-values(("blue" :weight bold)) > ps-color-values(("blue" :weight bold)) > ps-color-scale(("blue" :weight bold)) > ps-plot-with-face(292 296 (:foreground "blue" :weight bold)) > ps-generate-postscript-with-faces(1 111826) > ps-generate(# 1 111826 ps-generate-postscript- > with-faces) > ps-spool-with-faces(1 111826 nil) > ps-print-with-faces(1 111826 nil) > ps-print-buffer-with-faces(nil) > call-interactively(ps-print-buffer-with-faces) > execute-extended-command(nil) > call-interactively(execute-extended-command) > > -----Original Message----- > From: nick@gamaville.dokosmarshall.org [mailto:nick@gamaville.dokosmarshall.org > ] On Behalf Of Nick Dokos > Sent: Wednesday, March 17, 2010 10:33 AM > To: Brody, William (Buck) > Cc: emacs-orgmode@gnu.org; nicholas.dokos@hp.com > Subject: Re: [Orgmode] printing error > > Brody, William (Buck) wrote: > >> When I try to print, using ps-print-buffer-with-faces, I am getting >> the fol= >> lowing error message: "Wrong type argument: stringp, >> ("blue" :weight bold)= >> " >> > > It could be anything: you will have to be *much* more specific. It's > not even clear > that it is an org problem, since you didn't specify *what* you are > trying to print. > If printing a text document does not work, then it is not an org > problem (but you > want to gather up a back trace in any case - you are just going to > have to send it > to the emacs list instead of the org mode list). If printing a text > document works, > but printing an org document does not, then gather up a backtrace > and send it to this > list. > > To find out how to get a backtrace, see section 1.4 "Feedback" of > the Orgmode manual. > > HTH, > Nick > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten