unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16866: 24.3.50; printing region gives non colorized output
@ 2014-02-24 16:45 Stefan-W. Hahn
  2014-02-24 17:33 ` Eli Zaretskii
  2014-02-25 16:40 ` Stefan-W. Hahn
  0 siblings, 2 replies; 8+ messages in thread
From: Stefan-W. Hahn @ 2014-02-24 16:45 UTC (permalink / raw)
  To: 16866

[-- Attachment #1: Type: text/plain, Size: 2477 bytes --]

Good evening,

if printing a buffer with postscript the out is colorized. If printing
a region of the same buffer the output is bw.

To test it I tried to print the *scratch* buffer with it's initial text.
If I print the whole buffer the output is colorized, if mark the whole
buffer and print that marked region I got a bw output.

I diffed the to ps spool files and got:

First file is the region printing, second the complete.
I attached the both files.

The difference is in third hunk, where the FG (foreground) color when
printing a region is "0 0 0" compared to the colors in the other case.

,----
| --- prspool-5368vp.ps	2014-02-24 07:11:08.000000000 +0100
| +++ prspool-536J6v.ps	2014-02-24 07:11:32.000000000 +0100
| @@ -2,7 +2,7 @@
|  %%Title: *scratch*
|  %%Creator: ps-print v7.3.5
|  %%For: Stefan-W. Hahn
| -%%CreationDate: 07:11:07 Feb 24 2014
| +%%CreationDate: 07:11:31 Feb 24 2014
|  %%Orientation: Landscape
|  %%DocumentNeededResources: font Times-Roman Times-Italic
|  %%+ font Courier
| @@ -1267,7 +1267,7 @@
|  /LineNumber 1 def
|  /PageNumber 1 def
|  /HeaderLinesLeft[
| - [/h0 (Subset of: *scratch* \(unsaved\))]
| + [/h0 (*scratch* \(unsaved\))]
|   [/h1 ()]
|  ]def
|  /HeaderLinesRight[
| @@ -1279,6 +1279,7 @@
|  /f0 F
|  false BG
|  0.000 0.000 0.000 FG
| +0.698 0.133 0.133 FG
|  (;; ) S
|  (This buffer is for notes you don't want to save, and for Lisp evaluation.) S
|  LHL
| @@ -1288,6 +1289,7 @@
|  (;; ) S
|  (then enter the text in that file's own buffer.) S
|  PHL
| +0.000 0.000 0.000 FG
|  PHL
|  EndPage
|  EndDSCPage
`----

I'm running on Windows 7:

In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2014-02-17 on ODIEONE
Repository revision: 116465 eggert@cs.ucla.edu-20140217212044-yvn8tmrl0c3p8=
jf2
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs
 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib
 CPPFLAGS=3D-Ic:/Devel/emacs/include'

Important settings:
  value of $LANG: DEU
  locale-coding-system: cp1252

Major mode: Lisp Interaction

Minor modes in effect:

Recent messages:
Mark set [2 times]
Formatting...done
Saving...
Wrote d:/tmp/prspool-5368vp.ps [2 times]
Formatting...done
Saving...
Wrote d:/tmp/prspool-536J6v.ps [2 times]
Mark set

With kind regards,
Stefan

-- 
Stefan-W. Hahn                          It is easy to make things.
                                        It is hard to make things simple.

[-- Attachment #2: prspool.tar.gz --]
[-- Type: application/octet-stream, Size: 20061 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-03-19 19:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-24 16:45 bug#16866: 24.3.50; printing region gives non colorized output Stefan-W. Hahn
2014-02-24 17:33 ` Eli Zaretskii
2014-02-24 20:09   ` Stefan-W. Hahn
2014-02-25 16:40 ` Stefan-W. Hahn
2014-03-16 14:22   ` Stefan-W. Hahn
2014-03-18 20:04     ` Stefan Monnier
2014-03-19 16:24       ` Stefan-W. Hahn
2014-03-19 19:13         ` Stefan

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).