From: Labonte <labonte!@!zk3.dec.com>
Subject: Re: PCL Printing in 4.0E
Date: 1999/04/02 [thread overview]
Message-ID: <7e2vlp$s5o$1@lead.zk3.dec.com> (raw)
In-Reply-To: 7dvr5p$u86$1@reader1.reader.news.ozemail.net
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
> >
> >
next prev parent reply other threads:[~1999-04-02 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-02 5:00 PCL Printing in 4.0E tony
1999-04-02 5:00 ` Labonte [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-04-02 5:00 tony
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox