Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Printing from DU 3.2 to NT 4.0 using HP JetDirect
@ 1997-04-16  4:00 Jerome Milazzo
  1997-04-16  4:00 ` EMMANUEL CHOQUET
  1997-04-17  4:00 ` Robert Lowe
  0 siblings, 2 replies; 4+ messages in thread
From: Jerome Milazzo @ 1997-04-16  4:00 UTC (permalink / raw)



Hello,

I have several HP postscript printers with Jetdirect network cards,
but no driver/software to use them on Digital Unix ! I'am trying
to use the LPD service on an NT server (the DLC protocol is available
on this system, so I can create HP printer port...) but I have some
problems : Postscript files are not compute by the printers (All I have,
is a lot of pages with postscript TEXT...!)

I use the HP postscript drivers on the Nt Server.

My printcap look like :

hplj|lj:\
:mc#20:mx#0:pl#66:pw#80\
:af=/usr/adm/lpacct:\
:lf=/usr/adm/lperr:\
:lp=:\
:rm=NT_SERVER:\
:rp=unix_hplj:\
:sb:\
:sd=/usr/spool/lpd:

Are there any specific filters ?

What about HP header (control codes) in the Postscript file ?

Any Idea/Experience would be helpfull...

Thanks in advance



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Printing from DU 3.2 to NT 4.0 using HP JetDirect
  1997-04-16  4:00 Printing from DU 3.2 to NT 4.0 using HP JetDirect Jerome Milazzo
@ 1997-04-16  4:00 ` EMMANUEL CHOQUET
  1997-04-17  4:00 ` Robert Lowe
  1 sibling, 0 replies; 4+ messages in thread
From: EMMANUEL CHOQUET @ 1997-04-16  4:00 UTC (permalink / raw)
  To: Jerome Milazzo


Jerome Milazzo wrote:
> 
> Hello,
> 
> I have several HP postscript printers with Jetdirect network cards,
> but no driver/software to use them on Digital Unix ! I'am trying
> to use the LPD service on an NT server (the DLC protocol is available
> on this system, so I can create HP printer port...) but I have some
> problems : Postscript files are not compute by the printers (All I have,
> is a lot of pages with postscript TEXT...!)
> 
> I use the HP postscript drivers on the Nt Server.
> 
> My printcap look like :
> 
> hplj|lj:\
> :mc#20:mx#0:pl#66:pw#80\
> :af=/usr/adm/lpacct:\
> :lf=/usr/adm/lperr:\
> :lp=:\
> :rm=NT_SERVER:\
> :rp=unix_hplj:\
> :sb:\
> :sd=/usr/spool/lpd:
> 
> Are there any specific filters ?
> 
> What about HP header (control codes) in the Postscript file ?
> 
> Any Idea/Experience would be helpfull...
> 
> Thanks in advance

-1st of all no filter is used at Unix side when you do remote printing
so 
- > :af=/usr/adm/lpacct:\
> :lf=/usr/adm/lperr:\
 is not used at all.


-2dly this is a known problem : IP Unix to NT printing :

Do it this way, works on NT 3.51 AND NT 4.0 :
*

DOCUMENT:Q150930  28-AUG-1996  [winnt]
TITLE   :LPD Server Adds and Prints Control Codes
PRODUCT :Microsoft Windows NT
PROD/VER:3.50 3.51
OPER/SYS:WINDOWS
KEYWORDS:kbnetwork

-------------------------------------------------------------------------
The information in this article applies to:

 - Microsoft Windows NT Workstation versions 3.5 and 3.51
 - Microsoft Windows NT Server versions 3.5 and 3.51
-------------------------------------------------------------------------

SYMPTOMS
========

When a formatted job prints from an LPR client to a Windows NT computer
that is running the LPD services, PCL or PostScript codes are printed on
the output instead of a properly formatted document.

WORKAROUND
==========

In Windows NT 3.51, this problem can be prevented by reconfiguring LPD
to
ignore the control command and always assign the RAW datatype. However,
the code that implements this is not working. The code looks for a
registry
setting in the LPD key instead of the LPDSVC key. You can work around
this
problem by creating an LPD key at the same level of the LPDSVC key, and
then provide duplicate information of the LPDSVC key to the LPD key.

For Windows NT 3.51 to assign the RAW datatype, regardless of the
control file contents, do the following:

WARNING: Using Registry Editor incorrectly can cause serious, system-
wide problems that may require you to reinstall Windows NT to correct
them. Microsoft cannot guarantee that any problems resulting from the
use of Registry Editor can be solved. Use this tool at your own risk.

 1. Run Registry Editor (REGEDT32.EXE).

 2. From the HKEY_LOCAL_MACHINE subtree, go to the following key:

       \SYSTEM\CurrentControlSet\Services\LPDSVC\Parameters

 3. On the Edit menu, choose Add Value.

 4. Add the following:

       Value Name: SimulatePassThrough
       Data Type: REG_DWORD
       Data: 1

    NOTE: The default value is 0, which informs LPD to assign datatypes
    according to the control commands.

 5. To work around the problem mentioned above, create an LPD key at
    the same level of the LPDSVC key.

 6. Select the LPDSVC Key and choose Save Key from the Registry menu,
    save the file as LPDSVC.KEY.

 7. Select the LPD key created in step 5.

 8. Choose Restore on the Registry menu and select the file created
    in step 6. Click OK.

 9. A warning message appears. Click OK and quit the Registry Editor.

10. At a command prompt, type:

       net stop lpdsvc

11. At a command prompt, type:

       net start lpdsvc

MORE INFORMATION
================

The Windows NT LPD Service follows the RFC1179 specification. This
states
that the LPR client must tell the LPD server how to handle the print
job.
If the client formats the job, it must send the "l" control character to
instruct the LPD server to print the job without any alteration.

Some LPR clients cannot be configured to send different control
characters
and always send an "f". This control character instructs Windows NT to
assign a data type of TEXT and to use the printer driver to create a new
print job that prints the text of the original job on the page. In the
case
of a postscript job, the new print job prints the original job's
PostScript
code on the page.

KBCategory: kbnetwork
KBSubcategory: ntprint
Additional reference words: 3.50 3.51 prodnt unix aix sun solaris

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
SO THE FOREGOING LIMITATION MAY NOT APPLY.

Emmanuel Choquet 
Informatique Client/Serveur
& Communication
                _/
                            _/
              _/   _/_/_/  _/   _/_/_/
             _/   _/      _/   _/
            _/   _/      _/   _/_/_/
           _/   _/      _/       _/
          _/   _/_/_/  _/   _/_/_/

ics@cica.fr
c/o Cica      Tel: (33) 4 92.94.23.50 
2229, route des cretes  fax: (33) 4 92.94.23.54
06560 Sophia-Antipolis



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Printing from DU 3.2 to NT 4.0 using HP JetDirect
  1997-04-16  4:00 Printing from DU 3.2 to NT 4.0 using HP JetDirect Jerome Milazzo
  1997-04-16  4:00 ` EMMANUEL CHOQUET
@ 1997-04-17  4:00 ` Robert Lowe
  1997-04-18  4:00   ` Peter deFriesse
  1 sibling, 1 reply; 4+ messages in thread
From: Robert Lowe @ 1997-04-17  4:00 UTC (permalink / raw)




Jerome Milazzo wrote:
> I have several HP postscript printers with Jetdirect network cards,
> but no driver/software to use them on Digital Unix ! 
<snip>


You don't need any drivers for Digital Unix.  LPD on the HP JetDirect
cards (port 9100, I believe) supports two queues, "raw" and "text". 
Create two printcap entries, one for each and forget using the NT box
altogether.  This should all be in the HP manual.  If you need sample
printcap entries, drop me a line.

-Robert



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Printing from DU 3.2 to NT 4.0 using HP JetDirect
  1997-04-17  4:00 ` Robert Lowe
@ 1997-04-18  4:00   ` Peter deFriesse
  0 siblings, 0 replies; 4+ messages in thread
From: Peter deFriesse @ 1997-04-18  4:00 UTC (permalink / raw)



Somewhere off the top of my screen in article <3356DEBE.7208C13C@lawrence.edu>,
  the esteemed Robert.H.Lowe@lawrence.edu said:

  Robert has mixed two completely different protocols here.  But
with my memory, I can understand...  :-)
>
>You don't need any drivers for Digital Unix.  LPD on the HP JetDirect
>cards (port 9100, I believe) supports two queues, "raw" and "text". 
>Create two printcap entries, one for each and forget using the NT box
>altogether.  This should all be in the HP manual.  If you need sample
>printcap entries, drop me a line.
>
  The Jet Direct card (hate them) uses either 9100/tcp protocol or
515/tcp lpd protocol.  Well, if your Jet Direct has old firmware
you might find lpd missing.  Call HP with the firmware rev. if you
are in doubt (see the PCL config page).  I don't think the 9100/tcp
stuff is supported in the DU release lpd (at least it is *not* at 3.2
versions) but you can get the functionality from the "unsupported lpd"
if you can find the right person at CSC to provide it.

  You're better off using the Jet Direct card's lpd as a plain old
remote printer with rm=your.hp.ip.addr and rp=raw or rp=text.

  If the DU lpd ever becomes even close to being functional as the 
extensions in the old Ultrix lpd made *that* one, I'll be one really 
happy camper:  The tcp extensions were built in as well as some damned 
useful escape expansion in the filter calls.  *sigh*  'Til then, I 
keep one Ultrix system for print service.

-- 
  peter defriesse \\ computing facilities management \\ OIT \\ UMass
       [OIT doesn't opine for me.  I return that courtesy..]

  Sysadmins don't go to hell; we're already doing our time in purgatory.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-04-18  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-16  4:00 Printing from DU 3.2 to NT 4.0 using HP JetDirect Jerome Milazzo
1997-04-16  4:00 ` EMMANUEL CHOQUET
1997-04-17  4:00 ` Robert Lowe
1997-04-18  4:00   ` Peter deFriesse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox