Well, the "what comes out on the printer", below, didn't come out right
in
the reply - here it is with caret's inserted where there are blanks on
the
printed sheet:
/*
^^** Name: lk_handle_ivb^^^^^^^^^^-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/
:
Well, now we're getting somewhere, sort of. You're right, the HP
Officejet
7310xi does -not- support PostScript, just PCL3, PCL3 GUI, and PCL10.
However, I took PS out of the equation and just printed a simple
3-line
text
file using LPR on the client, and after a considerable delay at the
printer,
one page of weirdness followed by an unknown number of blank pages (I
hit
"cancel" on the printer at this point).
The source file ("y") on the client looks like:
/*
** Name: lk_handle_ivb -
**
*/
Is printed from the client with "lpr -P <hostname>:HPOffice y"
and what comes out on the first print page (after a long delay) looks
something like
/*
** Name: lk_handle_ivb -
**
*/
Some of the printer configuration stuff (from the Windows Printer Test
Page):
Printer name: HPOffice
Port name(s): USB001
Data format: RAW
Share name: HPOffice
Driver name: UNIDRV.DLL
Data file: HPO7300T.GPD
Help file: UNIDRV.HLP
Driver version: 6.00
Environment: Windows NT x86
Monitor: PCL hpz311hn
These results with both "passthoughs" set to 1 still. I tried setting
them
both to zero, same result.
Regards, Jon
:
Does the printer configuration page state that a PS module is
installed? I
don't think your previous setup was sending PS to the device.
If the config page says it has the PS module installed, is the
printer
configured to automatically switch from PCL to PS?
What you are seeing is the PS data getting printed as PCL text. If
you
create PCL data on the client with the passthrough settings, will
the
PCL
data print correctly?
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
This posting is provided "AS IS" with no warranties, and confers no
rights.
Thanks for working on this, Alan.
"SuSE" is a Linux distro, but at this point is, I believe,
irrelevant. My
enscript jobs originate on a Solaris SSH client (enscript -P
Vista:HPOffice
<file name>)
I have downloaded and installed the most recent set of Vista
drivers
for
the
Officejet 7310xi series from HP (AIO_CDB_Full_Network_enu.exe),
and
have
no
reason to believe that they now for some reason no longer support
PostScript
as they did on XP (but one never knows...). Is there any way to
verify
this
via printer properties, the registry, or elsewhere?
Setting LpdPrinterPassThrough = 1 for HPOffice had no effect;
what's
printed
is still "%!PS-Adobe-3.0" as the first line of output. The first 3
lines
of
enscript output, for reference, are "%!PS-Adobe-3.0
%%BoundingBox: 24 24 588 768
%%Title: Enscript Output
"
Regards, Jon
:
The printer has to support the Postscript language (personality)
in
order
to
print Postscript other than that the PCL native language on the
printer
will
print Postscript as straight PCL text.
Unsure what SuSe is.
There is another registry key that the LPD service writes into
the
printer
registry when an inbound lpr.exe job is transferred to the
printer.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\PRINTERNAME\PrinterDriverData\LpdPrinterPassThrough
Set this to 1 for per printer passthrough
The LPD service looks for this string in the print job. Just
open
the
file
generated by enscript (I assume this is the application you are
using),
it
should be on the first or second line.
%!PS-Adobe-3.0
I confirmed that both keys work and pass straight unformatted
pscript
data
to the printer. The printer I used is the HP Color LaserJet
9500.
The
PCL
and the PS personalities are installed.
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
This posting is provided "AS IS" with no warranties, and confers
no
rights.
Not sure what you mean. I've been using this printer for
several
years
successfully with XP. Previously had it defined on an XP
desktop
with a
SuSE
desktop printing to is using enscript & PostScript, defined on
SuSE as
a
Samba share, without this problem. It's now wired to my Vista
desktop
via
a
USB port. I have a LAN with an XP desktop and a XP laptop which
are
both
able
to print to this shared printer perfectly; it's just the
PostScript
coming
from the remote SSH client via enscript or lpr that is not
being
identified
as such by the LPD service, the exact symptoms that 150930 is
supposed
to
address.
Please clarify!
Jon
:
Did you purchase the PostScript personality for this printer?
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
This posting is provided "AS IS" with no warranties, and
confers
no
rights.
Printing via enscript or lpr from a Putty Unix SSH client to
Vista
HP
7310
printer. enscript/lpr produces PostScript output which is
sent
to
Vista's
LPD
service, but what's printed are the PostScript codes instead
of
the
properly
formatted document. Q150930 for non-Vista Windows suggested
adding
SimulatePassThrough=1 to the registry, which I did, but it
is
apparently
ineffective on Vista. I noted that the LPD service is
supposed
to be
deprecated with Vista, but it's configurable, so what's the
secret
to
printing PostScript from a remote client?