[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in ps-print.el?
From: |
Sebastian Tennant |
Subject: |
Bug in ps-print.el? |
Date: |
Wed, 12 Jan 2005 04:18:33 +0000 |
(current-buffer)
#<buffer *scratch*>
(emacs-version)
"GNU Emacs 21.3.1 (i386-pc-linux-gnu)
of 2004-10-16 on raven, modified by Debian"
(progn
(setq ps-selected-pages '(1))
(ps-print-buffer nil))
t
; works fine printing this scratch buffer
(progn
(setq ps-selected-pages '(1))
(set-buffer "*info*") ; info buffer - emacs (Top)
(ps-print-buffer nil))
t
; doesn't work - printer gears up and then winds down without doing anything
; spooled PS file ends up in /var/spool/cups/
(shell-command "sudo ls -l /var/spool/cups" t)
536
total 32
-rw------- 1 root lpadmin 672 Jan 11 22:28 c00065
-rw------- 1 root lpadmin 672 Jan 11 22:30 c00066
-rw------- 1 root lpadmin 672 Jan 11 22:31 c00067
-rw------- 1 root lpadmin 672 Jan 12 02:09 c00068
-rw------- 1 root lpadmin 672 Jan 12 02:11 c00069
-rw------- 1 root lpadmin 672 Jan 12 03:40 c00070
-rw------- 1 root lpadmin 672 Jan 12 03:51 c00071
drwxrwx--T 2 root lpadmin 4096 Jan 10 02:09 tmp
; As you can see there are several failed print jobs here.
; I only use the *info* buffer as an example. Behaviour is
; completely erratic as far as I can tell, but generally,
; individual pages and ranges are far more likely to fail
; that printing the whole buffer. I have got some ranges
; to work by expanding the range beyond my requirements and
; then getting the range I'm after.
(shell-command "sudo cat /var/spool/cups/c00071" t)
1402
address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@$ip\p://localhost:631/printers/address@hidden@address@hidden@^G(stdin)address@hidden@^Vapplication/postscriptB^@
address@hidden@address@hidden@address@hidden@address@hidden@^BA4B^@
address@hidden@
address@hidden@
Resolution^@
address@hidden@address@hidden@address@hidden@^Yjob-originating-host-name^@
address@hidden@address@hidden@address@hidden@ \
address@hidden@address@hidden@ !
address@hidden@address@hidden@address@hidden@address@hidden@)http://debian-laptop\:631/printers/address@hidden@^G(stdin)address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden
; I've no idea if this is any use and I sincerely hope I'm not
; doing something incredibly dumb and wasting your time.
Sebastian
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug in ps-print.el?,
Sebastian Tennant <=