laser print on sco openserver 6.0

Dear friends,
Please tell me
How install ethernet hp laser print p4015n on open server sco 6.0.
Thank you,
Edgar Guevara

Start scoadmin.
scoadmin->printers
If you want to use port 9100, add an HP printer, option 2.
If you want to use port 515, add a remote printer in option 4.
Add the printer to /etc/hosts.

thank for you help..
I want to use port 9100 but i dont now where indicate this port..
thank one more time

You don't have to. The default port is 9100, you only need to worry if you have a 3 port JetDirect unit. Then you need to manually change the port numbers to 9101 and 9102 respectively in the printer driver located in
/usr/spool/lp/admins/lp/interfaces/"destination name"

Excuseme,

but no print, please chek this files
the printer is ir1023n

/etc/hosts
#      @(#)hosts,v 6.1 1993/08/21 02:17:48 stevea Exp - STREAMware TCP/IP  source
#      SCCS IDENTIFICATION
127.0.0.1 localhost
192.168.2.7 drovenc1 drovenc1.drovencentro
192.168.2.3  psusb
192.168.2.6  ir1023n 

/etc/printcap
# Remote Line Printer Configuration File
# Note: This file is used by lpd.  CUPS uses the file /etc/printcap.cups
usb1:\
 :lp=:rm=psusb:ex:rp=usb1:sd=/usr/spool/lpd/usb1:mx#0:
ir1023n:\
 :lp=/dev/null:ex:sd=/usr/spool/lpd/ir1023n:mx#0:

thank you for your help...

There is a known conflict between CUPS and LPR/LPD printing.
http://wdb1.sco.com/kb/showta?taid=127400&qid=1238185150&sid=2014642731&pgnum=1

this link is broken, but i do not use cups

There seems to be a conflict between what I understood you were trying to do, and what you actually did.
There are two ways to set up a network printer, either RAW port 9100, or lpr port 515.
To set up a printer on port 9100:
Start scoadmin->printers
Take option 1 "HP Network Print Services Manager". this will install the software.
Tale option 2 "HP Network Print manager" run option 6, add the ip address to /etc/hosts first.
This creates a local printer, with a model file in /usr/spool/lp/admins/lp/interfaces.
You can modify this file to add PCL escape sequences etc.
To set up printer on port 515
scoadim->printers.
Take option 4 "Printer Manager"
select Printer->add remote, enter the ip address and queue name on the device.

You will have to ensure that all PCL escape sequences are embedded in the print file.
There will be a directory created in /usr/spool/lpd named the same as the queue name.

excuse me,
i did probe with cups and no good result.
mi customer will be buy hp4015n if this machine print on sco, and i don't now what say
thank you for your helps

---------- Post updated at 04:00 PM ---------- Previous update was at 03:55 PM ----------

i do telnet 192.168.2.6 9100 and enter, but i don't now what do...
escuse me mi language, i don't speak english..

Does your customer intend to print using PCL5 or Postscript?
If PCL:
Create a text file that has "esc&k2G" as the first line.

echo "\033&k2G" >text.file
cat /etc/passwd >>text.file

If Postscript, ask your customer for a sample text.file.

telnet 192.168.2.6 9100 <text.file

This should print the file.
Try this also with port 515.

You could also set up the printer as a Windows shared printer, and use Samba to connect to it.
I recently installed a HP M4345MFP printer, on port 515, as a remote printer. The only difficulty that I had was determining the PCL escape sequence for tray selection.

1 Like

thank for you time and patience...
i did like you indicate but not print
# telnet 192.168.2.6 9100 <text.file
Trying 192.168.2.6...
Connected to 192.168.2.6.
Escape character is '^]'.
Connection closed by foreign host.
# telnet 192.168.2.6 515 <text.file
Trying 192.168.2.6...
Connected to 192.168.2.6.
Escape character is '^]'.
Connection closed by foreign host.
#