[OpenServer 5]Line Printing and Hp laserjet 2015dn


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers [OpenServer 5]Line Printing and Hp laserjet 2015dn
# 1  
Old 07-31-2007
[OpenServer 5]Line Printing and Hp laserjet 2015dn

Hello,

I want to install an Hp Laserjet 2015dn on SCO OpenServeur5 without CUPS.

This printer doesn't have an PrinterServer inside.

The configuration work fine, but i can't print anything.

I heart solution with netcat but i can't find any docs...

How should i configure netcat and my printer ?

Thanks

Tankd
# 2  
Old 07-31-2007
Set the printer up using tcp.
Add a remote printer through SCOADMIN
Now you have two choices, either screen every file before it is printed to either ensure that it has CRLF line termination or add <esc>&k2G to the beginning of the file.
You will have to add any other PCL commands to the file as well.
Another way to avoid trapping and modifying the print file, is to also create a local printer with /dev/null and dumb for the printer model, then change the loop that actually send the file to the printer from 'cat ${file}......'
to
(
cat escape.seq.file;
cat $file;
cat reset.seq;
)\
|lp -d remote-printer-name

Then either create a different local printer for each escape sequence,
or add a -o escape.seq to the lp command

Last edited by jgt; 07-31-2007 at 02:08 PM..
# 3  
Old 08-07-2007
I can't find where i should add

cat escape.seq.file;
cat $file;
cat reset.seq;
)\
|lp -d remote-printer-name

Tankd
# 4  
Old 09-04-2007
hp2015dn

Hi tankd,

I think the better solution is to install an HP 4250 n.

In fact, the print server is different in a 2015 dn and in a 4250 n.

good luck

Franz
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Printing string from last field of the nth line of file to start (or end) of each line (awk I think)

My file (the output of an experiment) starts off looking like this, _____________________________________________________________ Subjects incorporated to date: 001 Data file started on machine PKSHS260-05CP ********************************************************************** Subject 1,... (9 Replies)
Discussion started by: samonl
9 Replies

2. Solaris

Solaris 5.9 - HP Laserjet 9050dn

Hi there, I hope someone could shed a light on my problem. OS is running in local zone (global zone - 5.10). We use many printers from Ricoh etc. Most of them are running fine if configured as below (for Ricoh printers I use their installer): lpadmin -p _printer_ -v /dev/null -A write -i... (0 Replies)
Discussion started by: cyjan
0 Replies

3. SCO

USB Printing for SCO UNIX OpenServer 5.0.7

Years ago I set up USB printing for SCO UNIX OpenServer 5.0.7 for a client--but I've misplaced my notes on how to do this! Maintenance Pack 5 is installed. I need step-by-step instructions to proceed. I've searched the SCO Knowledge Base site and found nothing there or elsewhere on the Web. (3 Replies)
Discussion started by: Transpower
3 Replies

4. Shell Programming and Scripting

Echo printing a line in 2 lines; expected to print in one line

Dear All, fileName: therm.txt nc3h7o2h 7/27/98 thermc 3h 8o 2 0g 300.000 5000.000 1390.000 41 1.47017550e+01 1.71731699e-02-5.91205329e-06 9.21842570e-10-5.36438880e-14 2 -2.99988556e+04-4.93387892e+01 2.34710908e+00 4.34517484e-02-2.65357553e-05 3 ... (7 Replies)
Discussion started by: linuxUser_
7 Replies

5. UNIX for Dummies Questions & Answers

Printing the next line side by to the current line

Help, I have a text file which looks like disco 5674536 3456 jambo disco 453678 4578 jambo I would like to have an output which looks like below disco 3456 disco 4578 (4 Replies)
Discussion started by: Indra2011
4 Replies

6. Solaris

Printing to HP Laserjet M1212nf MFP

Server: Solaris 10 Have a HP Laserjet M1212nf MFP attached to a PC on tcp/ip connected to USB port. Has anyone tried to print to this printer from Solaris? Not using CUPS. netpr command called is: /usr/lib/lp/bin/netpr -b -f l -I 191162p-15497 -U user@server -p 191162p -d... (0 Replies)
Discussion started by: pmm
0 Replies

7. Shell Programming and Scripting

Need help in sed command [ printing a pattern + its line no or line no alone ]

Hello friends, Only very recently i started learning sed command...an i found that sed is faster in finding the patterns than some of my scripts that uses grep to check the patten inside a file using line by line search method which is time consuming. The below script... (4 Replies)
Discussion started by: frozensmilz
4 Replies

8. UNIX for Dummies Questions & Answers

[OpenServer 5]Line Printing and special character (é @)

Hello, On Sco OpenServer 5, i want to print using the lpr command, no CUPS installed. I print on an HP LaserJet 4050 on LAN (IP 192.168.x.x) the printer is installed by HP Network Printer service. it works fine, but Specials characters, like é, @ or ° print bad characters. Is there... (5 Replies)
Discussion started by: tankd
5 Replies

9. SCO

printing problem in sco5.0.7 openserver

hi all, i have recntly installed sco openserver 5.0.7. the machine is having onboard ,pci parrallel port card.while iam giving printing via onboard parallel port its printing absolutely fine.but if i give printots via pci parallel port printer prints very slowly.it stops for a few seconds... (0 Replies)
Discussion started by: arunvmk
0 Replies

10. AIX

HP Laserjet 2200dtn Drivers

Hello, We have an AIX version 4.3 server here, and I have installed an HP Laserjet 2200dtn, via a JetDirect card, on the system, and currently, the driver is setup as an hplj 4+, I know that works for some HP Lasers, but I don't think it works with this one, because when we print reports... (1 Reply)
Discussion started by: AztexSun
1 Replies
Login or Register to Ask a Question