Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

printing with HP jetdirect and NT emacs

0 views
Skip to first unread message

Jeff Baggett

unread,
Jun 27, 2001, 5:15:15 PM6/27/01
to
How do I set the ps-printer-name to print to an HP
postscript printer that is installed on my W98 box using
HP JetDirect? I'm using NT emacs 20.4.
Jeff
baggett@math dot uwlax dot edu


Eli Zaretskii

unread,
Jun 27, 2001, 11:34:07 PM6/27/01
to
Jeff Baggett wrote:
>
> How do I set the ps-printer-name to print to an HP
> postscript printer that is installed on my W98 box using
> HP JetDirect?

How do you print to that printer from the command line?

Jeff Guerber

unread,
Jul 4, 2001, 12:51:20 AM7/4/01
to
Jeff,

I have the same configuration on my PC (although I mostly work on the
Unix system), and here's what I did to print to our JetDirect printers:

(First, I'll assume you have the appropriate printer drivers from the
HP Printing System CDROM installed, and that you've told Windows about
your printer(s). My PC also has the HP JetAdmin Utilities, but one of the
sysadmins set that stuff up so I'm not sure whether it gets installed
automatically or not.)

Someone, I don't recall whether it was one of my colleagues, or in a
newsgroup article, told me about a great little free program called
PrintFile (prfile21) by Peter Lerup, which is available at
http://hem1.passagen.se/ptlerup/prfile.html. After I installed PrintFile,
I added the following lines to my C:\.emacs file:

> ;;; STUFF FOR NTEMACS ON WINBLOWS98:
>
> ;; Print using PrintFile (http://hem1.passagen.se/ptlerup/prfile.html):
> ;; So far, only works with lpr-* and ps-*, not print-*. PrintFile's
> ;; configuration *must* have "Quit when handled command line" checked.
> (setq printer-name nil
> lpr-command "C:\Program Files/PrintFile/PRFILE32.EXE"
> lpr-switches nil)

Since my PC mostly just serves as an X terminal, I never have gone on
to figure out how to get the print-* commands to work; but otherwise, this
combination works great (for me, anyway).

I hope this helps. NOTE: Opinions expressed here are my own, and don't
constitute endorsement or otherwise by either NASA or Raytheon!!

Jeff Guerber

0 new messages