unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: stromme@math.uib.no (Stein Arild Strømme)
To: help-gnu-emacs@gnu.org
Subject: postscript printing from emacs
Date: Fri, 23 Mar 2007 15:03:30 +0100	[thread overview]
Message-ID: <jxulkhot5u5.fsf@mi061052.klientdrift.uib.no> (raw)

Hello,

I have the following problem printing with ps-print-buffer:  The
printer gives me one page containing only the letters "IB", and a
second page containing the following:

PCL XL error
       Subsystem:  KERNEL
       Error:      IllegalOperatorSequence
       Operator:   0x1b
       Position:   2

ps-print.el version 6.6.7, emacs 22.0.50.  Any idea what this is?  If
the postscript file is generated using ps-spool-buffer instead,
Ghostview is able to display the file correctly, but the same problems
occur if I try printing.  I have even moved the ps file to my Mac, and
Preview.app is not able to display it properly.  

I take all of this to point in the direction of ps-print.el.  Any idea
how this can be fixed?  If an expert in postscript code wants to look
at the code, an example can be found on www.math.uib.no/stromme/psfil
(based on a buffer containing only the single letter "a").

As alternatives, I'm exploring ways to use a2ps or enscript instead,
but they don't seem to support utf-8.  Other ways?

Grateful for advice.  We need only very basic printing.  

(lpr-buffer itself chokes on non-ascii characters; this may be due to
a complex printing environment at my institution, where there is a
Windows print server.)

SA
-- 
Stein Arild Strømme            +47 55584825, +47 95801887
Universitetet i Bergen                  Fax: +47 55589672     
Matematisk institutt, UiB     http://math.uib.no/stromme/         
Johs Brunsg 12, N-5008 BERGEN         stromme@math.uib.no

             reply	other threads:[~2007-03-23 14:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-23 14:03 Stein Arild Strømme [this message]
2007-03-23 14:07 ` postscript printing from emacs Stein Arild Strømme
2007-03-23 15:17 ` Peter Dyballa
2007-03-23 15:41   ` Stein Arild Strømme
2007-03-23 17:04     ` Peter Dyballa
     [not found]     ` <mailman.1318.1174669608.7795.help-gnu-emacs@gnu.org>
2007-03-23 21:17       ` Stein Arild Strømme
2007-03-23 21:58         ` Lennart Borgman (gmail)
     [not found]         ` <mailman.1344.1174687255.7795.help-gnu-emacs@gnu.org>
2007-03-23 23:12           ` Stein Arild Strømme
2007-03-24  9:38             ` Peter Dyballa
2007-03-24 12:13               ` Lennart Borgman (gmail)
     [not found]             ` <mailman.1355.1174729271.7795.help-gnu-emacs@gnu.org>
2007-04-09  8:49               ` David Combs
2007-04-09 23:14                 ` Peter Dyballa
2007-03-26  7:22           ` Stein Arild Strømme
2007-03-28 11:11             ` Stein Arild Strømme
2007-03-24  7:39       ` Charles philip Chan
2007-03-24  7:46       ` Charles philip Chan
2007-03-24  8:06 ` Charles philip Chan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jxulkhot5u5.fsf@mi061052.klientdrift.uib.no \
    --to=stromme@math.uib.no \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).