Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: PCL Printing in 4.0E
@ 1999-04-02  5:00 tony
  1999-04-02  5:00 ` Labonte
  0 siblings, 1 reply; 3+ messages in thread
From: tony @ 1999-04-02  5:00 UTC (permalink / raw)



tony <#####*^%tony.pomeroy@southmark.com.au> wrote in message ...
>Does anyone know how to set up a PCL Printer (HP DeskJet 694C) connected
via
>a Jetdirect 3 Port.
>The Remote printing side has been setup OK and prints text fine. Obviouslly
>the printer doesn't support postscipt.
>
>Tony P
>
>





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

* Re: PCL Printing in 4.0E
  1999-04-02  5:00 PCL Printing in 4.0E tony
@ 1999-04-02  5:00 ` Labonte
  0 siblings, 0 replies; 3+ messages in thread
From: Labonte @ 1999-04-02  5:00 UTC (permalink / raw)


best guess ...

Assuming you can ping the jetdirect box try the following...

Create a generic_text print queue connected to /dev/lp0 .

As ROOT edit the /etc/services file and create a socket name
for a port on the JetDirect. eg:

                hp_port1        9100/tcp
                hp_port2        9101/tcp
                hp_port3        9102/tcp

Now that the services file has been updated, restart the inetd
deamon by sending it a SIGHUP. This needs to be done to reload
the updated services files. eg:

                # ps ax | grep inetd
                  446 ??       I        0:00.17 /usr/sbin/inetd
                  966 ttyp2    S  +     0:00.01 grep inetd
                # kill -HUP 446

          446 is the process ID number and will not be the same.

          ( You could also use the command "rcinet restart" )

Edit the previously created print queue and change the lp value to:

                :lp=@jetdirect_host_name/hp_port1:\

If the printer is on port 2 then use hp_port2, etc..

           Change or add ct setting to `:ct=tcp:\'.

If everything went well you should be able to print.

Example of a completed printcap entry:

pr|lp:\
        :ct=tcp:\
        :if=/usr/lbin/pcfof +Cgeneric_text.pcf:\
        :if=/usr/lbin/ln03rof:\
        :lf=/usr/adm/lperr_pr:\
        :lp=@jetdirect_host_name/hp_port1:\
        :mx#0:\
        :of=/usr/lbin/pcfof +Cgeneric_text.pcf:\
        :pl#66:\
        :pw#80:\
        :rw:\
        :sd=/usr/spool/print/pr:\
        :xf=/usr/lbin/xf:

Add :sh:\ to suppress the banner page.

tony wrote:

> tony <#####*^%tony.pomeroy@southmark.com.au> wrote in message ...
> >Does anyone know how to set up a PCL Printer (HP DeskJet 694C) connected
> via
> >a Jetdirect 3 Port.
> >The Remote printing side has been setup OK and prints text fine. Obviouslly
> >the printer doesn't support postscipt.
> >
> >Tony P
> >
> >




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

* PCL Printing in 4.0E
@ 1999-04-02  5:00 tony
  0 siblings, 0 replies; 3+ messages in thread
From: tony @ 1999-04-02  5:00 UTC (permalink / raw)


Does anyone know how to set up a PCL Printer (HP DeskJet 694C) connected via
a Jetdirect 3 Port.
The Remote printing side has been setup OK and prints text fine. Obviouslly
the printer doesn't support postscipt.

Tony P





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

end of thread, other threads:[~1999-04-02  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-02  5:00 PCL Printing in 4.0E tony
1999-04-02  5:00 ` Labonte
  -- strict thread matches above, loose matches on Subject: below --
1999-04-02  5:00 tony

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