Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* LAT printer question
@ 1995-05-16  4:00 Franco Screpanti
  1995-05-17  4:00 ` Stephen Mullin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Franco Screpanti @ 1995-05-16  4:00 UTC (permalink / raw)


I have a problem with a LAT printer under OSF1.

I have create the port with command:
/usr/sbin/latcp -A -p tty0e -H LAT_08002B0D7CE5 -R PORT_5

Then i have added in my /etc/printcap
# Printer HP
HP2LASER|lp4|4:\
        :br#19200:\
        :ct=dev:\
        :fc#0177777:\
        :fs#023:\
        :lf=/usr/adm/lp4err:\
        :lp=/dev/tty0e:\
        :mx#0:\
        :of=/usr/lbin/lpf:\
        :pl#66:\
        :pw#80:\
        :sd=/usr/spool/lpd4:\        
        :xc#0177777:\
        :xf=/usr/lbin/xf:\
        :xs#044000:

Then i rebooted the machine and i try to print with

lpr -PHP2LASER /users/.profile

and the status of printing after some minutes is

# lpc stat HP2LASER
HP2LASER:
        printer is on device '/dev/tty0e' speed 19200
        queuing is enabled
        printing is enabled
        1 entry in spool area
        waiting for HP2LASER to become ready (offline ?)

The printer is online (obviously) and the same printer is 
configured in another VMS host and work perfectly.

Can someone help me?

Thanks.



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

* Re: LAT printer question
  1995-05-16  4:00 LAT printer question Franco Screpanti
@ 1995-05-17  4:00 ` Stephen Mullin
  1995-05-18  4:00 ` Albert Zollinger
  1995-05-18  4:00 ` g0daeniken
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Mullin @ 1995-05-17  4:00 UTC (permalink / raw)
  To: franco

You need to use ...

	:ct=LAT:\   (uppercase)

.for lat connected printers

Then do:
 lpc abort lp4; lpc start lp4; lpr -Plp4 /etc/motd 
to test.

-Stephen




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

* Re: LAT printer question
  1995-05-16  4:00 LAT printer question Franco Screpanti
  1995-05-17  4:00 ` Stephen Mullin
@ 1995-05-18  4:00 ` Albert Zollinger
  1995-05-18  4:00 ` g0daeniken
  2 siblings, 0 replies; 4+ messages in thread
From: Albert Zollinger @ 1995-05-18  4:00 UTC (permalink / raw)


In article <3pa90b$kdr@sirio.cineca.it>, infor@meteo1.arpamet.regione.emilia-romagna.it (Franco Screpanti) says:
>
>I have a problem with a LAT printer under OSF1.
>
>I have create the port with command:
>/usr/sbin/latcp -A -p tty0e -H LAT_08002B0D7CE5 -R PORT_5
>
>Then i have added in my /etc/printcap
># Printer HP
>HP2LASER|lp4|4:\
>        :br#19200:\
>        :ct=dev:\
>        :fc#0177777:\
>        :...........
>       


Hello Franco,

In your file printcap, you have to replace the line 
 
	:ct=dev:\

with the line

	:ct=LAT:\

After this exchange I think your printer can be seen by your host.
	 

Regards, Albert



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

* Re: LAT printer question
  1995-05-16  4:00 LAT printer question Franco Screpanti
  1995-05-17  4:00 ` Stephen Mullin
  1995-05-18  4:00 ` Albert Zollinger
@ 1995-05-18  4:00 ` g0daeniken
  2 siblings, 0 replies; 4+ messages in thread
From: g0daeniken @ 1995-05-18  4:00 UTC (permalink / raw)


In article <3pa90b$kdr@sirio.cineca.it>, infor@meteo1.arpamet.regione.emilia-romagna.it (Franco Screpanti) writes:
> I have a problem with a LAT printer under OSF1.
[...] 
> Then i have added in my /etc/printcap
> # Printer HP
> HP2LASER|lp4|4:\
>         :br#19200:\
>         :ct=dev:\
>         :fc#0177777:\
>         :fs#023:\
>         :lf=/usr/adm/lp4err:\
>         :lp=/dev/tty0e:\
>         :mx#0:\
>         :of=/usr/lbin/lpf:\
>         :pl#66:\
>         :pw#80:\
>         :sd=/usr/spool/lpd4:\        
>         :xc#0177777:\
>         :xf=/usr/lbin/xf:\
>         :xs#044000:
>[...] 
>         waiting for HP2LASER to become ready (offline ?)
> 
> The printer is online (obviously) and the same printer is 
> configured in another VMS host and work perfectly.

I see some possible causes:

- did you try the hplaserof filter? (usr/lbin/hplaserof as if and of
  parameter in /etc/printcap)

- is tty0e defined (latsetup)?

- is the respawn parameter of the tty0e getty entry in /etc/inittab changed
  to off? Should look like
  lat0e:3:off:/usr/sbin/getty     /dev/tty0e      console vt100
  (if you change it online, execute the command "init q" afterwards)

- is your (obviously correct) latcp command executed at reboot?
  If not, insert it in /sbin/init.d/lat, or better: create a separate
  /sbin/init.d/latsetup file and call it from an appropriate /sbin/rc3.d
  entry (i.e. S59latsetup)

- is the XON/XOFF flow control enabled on the printer AND the terminal 
  server?


hope this helps,
Eric



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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-05-16  4:00 LAT printer question Franco Screpanti
1995-05-17  4:00 ` Stephen Mullin
1995-05-18  4:00 ` Albert Zollinger
1995-05-18  4:00 ` g0daeniken

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