How do you print to that printer from the command line?
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