Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista print fax & scan

LPD service SimulatePassThrough ineffective

Closed Thread
 
Thread Tools Display Modes
Old 11-27-2007   #1 (permalink)
jonj
Guest


 

LPD service SimulatePassThrough ineffective

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?
Old 11-27-2007   #2 (permalink)
Alan Morris [MSFT]
Guest


 

Re: LPD service SimulatePassThrough ineffective

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.

"jonj" <jonj@xxxxxx> wrote in message
news:BB4E32D8-9A9C-440C-A6B8-45E180BB4787@xxxxxx
Quote:

> 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?

Old 11-27-2007   #3 (permalink)
jonj
Guest


 

Re: LPD service SimulatePassThrough ineffective

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

"Alan Morris [MSFT]" wrote:
Quote:

> 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.
>
> "jonj" <jonj@xxxxxx> wrote in message
> news:BB4E32D8-9A9C-440C-A6B8-45E180BB4787@xxxxxx
Quote:

> > 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?
>
>
>
Old 11-28-2007   #4 (permalink)
Alan Morris [MSFT]
Guest


 

Re: LPD service SimulatePassThrough ineffective

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.

"jonj" <jonj@xxxxxx> wrote in message
news:774120D9-B38B-45E2-9F1D-17BE43EECEAE@xxxxxx
Quote:

> 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
>
> "Alan Morris [MSFT]" wrote:
>
Quote:

>> 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.
>>
>> "jonj" <jonj@xxxxxx> wrote in message
>> news:BB4E32D8-9A9C-440C-A6B8-45E180BB4787@xxxxxx
Quote:

>> > 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?
>>
>>
>>

Old 11-28-2007   #5 (permalink)
jonj
Guest


 

Re: LPD service SimulatePassThrough ineffective

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

"Alan Morris [MSFT]" wrote:
Quote:

> 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.
>
> "jonj" <jonj@xxxxxx> wrote in message
> news:774120D9-B38B-45E2-9F1D-17BE43EECEAE@xxxxxx
Quote:

> > 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
> >
> > "Alan Morris [MSFT]" wrote:
> >
Quote:

> >> 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.
> >>
> >> "jonj" <jonj@xxxxxx> wrote in message
> >> news:BB4E32D8-9A9C-440C-A6B8-45E180BB4787@xxxxxx
> >> > 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?
> >>
> >>
> >>
>
>
>
Old 11-29-2007   #6 (permalink)
Alan Morris [MSFT]
Guest


 

Re: LPD service SimulatePassThrough ineffective

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.

"jonj" <jonj@xxxxxx> wrote in message
news:A9FC2164-5E1A-4DCD-87F2-F3F8BA10ECB6@xxxxxx
Quote:

> 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
>
> "Alan Morris [MSFT]" wrote:
>
Quote:

>> 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.
>>
>> "jonj" <jonj@xxxxxx> wrote in message
>> news:774120D9-B38B-45E2-9F1D-17BE43EECEAE@xxxxxx
Quote:

>> > 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
>> >
>> > "Alan Morris [MSFT]" wrote:
>> >
>> >> 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.
>> >>
>> >> "jonj" <jonj@xxxxxx> wrote in message
>> >> news:BB4E32D8-9A9C-440C-A6B8-45E180BB4787@xxxxxx
>> >> > 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?
>> >>
>> >>
>> >>
>>
>>
>>

Old 11-29-2007   #7 (permalink)
jonj
Guest


 

Re: LPD service SimulatePassThrough ineffective

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

"Alan Morris [MSFT]" wrote:
Quote:

> 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.
>
> "jonj" <jonj@xxxxxx> wrote in message
> news:A9FC2164-5E1A-4DCD-87F2-F3F8BA10ECB6@xxxxxx
Quote:

> > 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
> >
> > "Alan Morris [MSFT]" wrote:
> >
Quote:

> >> 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.
> >>
> >> "jonj" <jonj@xxxxxx> wrote in message
> >> news:774120D9-B38B-45E2-9F1D-17BE43EECEAE@xxxxxx
> >> > 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
> >> >
> >> > "Alan Morris [MSFT]" wrote:
> >> >
> >> >> 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.
> >> >>
> >> >> "jonj" <jonj@xxxxxx> wrote in message
> >> >> news:BB4E32D8-9A9C-440C-A6B8-45E180BB4787@xxxxxx
> >> >> > 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?
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>
Old 12-03-2007   #8 (permalink)
jonj
Guest


 

Re: LPD service SimulatePassThrough ineffective

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^^^^^^^^^^-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^**
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/

"jonj" wrote:
Quote:

> 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
>
> "Alan Morris [MSFT]" wrote:
>
Quote:

> > 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.
> >
> > "jonj" <jonj@xxxxxx> wrote in message
> > news:A9FC2164-5E1A-4DCD-87F2-F3F8BA10ECB6@xxxxxx
Quote:

> > > 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
> > >
> > > "Alan Morris [MSFT]" wrote:
> > >
> > >> 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.
> > >>
> > >> "jonj" <jonj@xxxxxx> wrote in message
> > >> news:774120D9-B38B-45E2-9F1D-17BE43EECEAE@xxxxxx
> > >> > 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
> > >> >
> > >> > "Alan Morris [MSFT]" wrote:
> > >> >
> > >> >> 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.
> > >> >>
> > >> >> "jonj" <jonj@xxxxxx> wrote in message
> > >> >> news:BB4E32D8-9A9C-440C-A6B8-45E180BB4787@xxxxxx
> > >> >> > 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?
> > >> >>
> > >> >>
> > >> >>
> > >>
> > >>
> > >>
> >
> >
> >
Old 12-04-2007   #9 (permalink)
Alan Morris [MSFT]
Guest


 

Re: LPD service SimulatePassThrough ineffective

The long delay is the windows firewall.

Change the print processor to winprint instead the HP print proc or create a
new printer for you LPR jobs and set this to winprint.

Does your LPR client have an option for file type?

Attempt using the lpr client in Windows (from a Windows machine) and verify
you can get the expected output.

Usage: lpr -S server -P printer [-C class] [-J job] [-o option] [-x] [-d]
filename

Options:
-S server Name or ipaddress of the host providing lpd service
-P printer Name of the print queue
-C class Job classification for use on the burst page
-J job Job name to print on the burst page
-o option Indicates type of the file (by default assumes a text
file)
Use "-o l" for binary (e.g. postscript) files
-x Compatibility with SunOS 4.1.x and prior
-d Send data file first

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

"jonj" <jonj@xxxxxx> wrote in message
news:8930C243-1B0B-404C-AD5B-709D33276A6D@xxxxxx
Quote: