![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| printing the next line too?? | AndyA | Shell Programming and Scripting | 6 | 01-31-2008 03:35 AM |
| Printing a Line from a file | Nysif Steve | UNIX for Dummies Questions & Answers | 4 | 08-31-2007 04:58 AM |
| [OpenServer 5]Line Printing and special character (é @) | tankd | UNIX for Dummies Questions & Answers | 5 | 08-02-2007 12:44 PM |
| Creating a line for printing | jhansrod | Shell Programming and Scripting | 3 | 06-17-2005 02:38 AM |
| printing problem in sco5.0.7 openserver | arunvmk | SCO | 0 | 05-02-2005 11:24 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
[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 |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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 10:08 AM. |
|
#3
|
|||
|
|||
|
I can't find where i should add
cat escape.seq.file; cat $file; cat reset.seq; )\ |lp -d remote-printer-name Tankd |
|
#4
|
|||
|
|||
|
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 |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|