all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: zeb7k@hotmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: glitch when printing from Win 7
Date: Thu, 11 Jul 2013 04:12:25 -0700 (PDT)	[thread overview]
Message-ID: <62b05b4a-377d-4320-82ae-ced020eef894@googlegroups.com> (raw)
In-Reply-To: <c04f946a-534e-4b29-ac72-f7ad552ffac5@googlegroups.com>

It finally happened again.

Here are the pertinent commands in my .EMACS startup file:

   (setq lpr-command "P:/PrintFile/PrintFile.bat")
   (setq printer-name nil)
   (setq lpr-headers-switches "/p")

Here is the batch file PrintFile.bat:

echo appdrive is %APPDRIVE% > x:\PrintTrace.log
echo 1 is %1 >> x:\PrintTrace.log
echo 2 is %2 >> x:\PrintTrace.log
regedit.exe /s %APPDRIVE%:\PrintFile\NotePad.reg
NotePad.exe %1 %2

(Sometimes I adjust the font in Notepad and forget to switch it back.  The regedit command simply makes sure Notepad.exe is working with the same font size I always use for printing.)

Here is the contents of PrintTrace.log as viewed in fundamental mode:

appdrive is P 
1 is /p 
2 is \213\257\250t:\Temp\EP4252h0o 

Note the three octal characters in front of the file name.  This is what's gumming things up.  Why is this happening?


  parent reply	other threads:[~2013-07-11 11:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-02 20:12 glitch when printing from Win 7 zeb7k
2013-06-03  2:38 ` Eli Zaretskii
     [not found] ` <mailman.904.1370227127.22516.help-gnu-emacs@gnu.org>
2013-06-03 10:05   ` zeb7k
2013-06-04 13:41     ` Kevin Rodgers
2013-07-11 11:12 ` zeb7k [this message]
2013-07-11 17:02   ` Eli Zaretskii
     [not found]   ` <mailman.843.1373562166.12400.help-gnu-emacs@gnu.org>
2013-07-11 17:33     ` zeb7k
2013-07-11 18:21       ` Eli Zaretskii
     [not found]       ` <mailman.858.1373567307.12400.help-gnu-emacs@gnu.org>
2013-07-11 21:12         ` zeb7k

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

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

  git send-email \
    --in-reply-to=62b05b4a-377d-4320-82ae-ced020eef894@googlegroups.com \
    --to=zeb7k@hotmail.com \
    --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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.