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


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers [OpenServer 5]Line Printing and special character (é @)
# 1  
Old 07-31-2007
Data [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 any command to modify the printer configuration and print it correctly ?

Thanks,

Tankd.
# 2  
Old 08-01-2007
Add <esc>c(xx
where xx represents the symbol set selection that you want, to the beginning of the print file.
In other words, the default symbol set in the printer is not the same as the one in the computer.
# 3  
Old 08-02-2007
Thanks for your answer !

How can I set the default symbol in the printer in order to automate this solution ?


Tankd
# 4  
Old 08-02-2007
Try front panel menu on the printer.
# 5  
Old 08-02-2007
Command Line only

I can't find any option in HP menu !

i find this line in another printer config ( Model config file)
stty raw 9600 -parenb cs8 ixon -istrip clocal <2 1> /dev/null

it was for a local printer.
If this line can help me, how can i insert it in the configuration ?

Tankd.

And sorry, i'm not an Unix Expert !
# 6  
Old 08-02-2007
If the printer is set up as a JetDirect printer (through the HP Printer Manager) then there is a model file in /usr/spool/lp/admins/lp/interfaces/model.orig
Edit the model file and add the escape sequence.
If the printer is set up as a lpr/lpd printer then you have to add it as per the other thread about setting up the printer.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to understand special character for line reading in bash shell?

I am still learning shell scripting. Recently I see a function for read configuration. But some of special character make me confused. I checked online to find answer. It was not successful. I post the code here to consult with expert or guru to get better understanding on these special characters... (3 Replies)
Discussion started by: duke0001
3 Replies

2. 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

3. Shell Programming and Scripting

Delete Numbers, Spaces, Special Character from the begining of the line of a file

Hi All, I want to keep the name of the songs with their respective extensions only. Sample Code ======== 03 Choti choti gaiya choti choti gaval.mp3 03---Brazil Dhol.mp3 03 PAYALIYA .mp3 04 - Isq Risk .mp3 04%20-%20Oh%20My%20Love(wapking.in).mp3 08 - A2 - Aasan Nahin Yahan .mp3 AE... (3 Replies)
Discussion started by: Pramod_009
3 Replies

4. Shell Programming and Scripting

parse special character in the line

Hi all, I have a file with some module names as below. Font::AFM Data::Grove ---> libxml-perl Net::LDAP ---> perl-ldap DBI XML .... ... .... and so on ... The file has some lines with the character " -->" . Now how can I cut only the last column of the line wherever "-->" is... (4 Replies)
Discussion started by: vijaya2006
4 Replies

5. Shell Programming and Scripting

Printing special character in bash

I am using this character as a delimiter 'þ' Currently, I set it straight: DELIMITER='þ' However, while copying the file, this character often gets mangled. Is there a bash way (perhaps using tr or printf) of generating this character. It corresponds to "chr(0xfe)" if using perl. (I've... (6 Replies)
Discussion started by: sentinel
6 Replies

6. Shell Programming and Scripting

Deleteing one character after an special character

I have below line in a unix file, I want to delete one character after "Â". 20091020.Non-Agency CMO Daily Trade Recap Â~V Hybrids The result should be : 20091020.Non-Agency CMO Daily Trade Recap  Hybrids i dont want to use "~V" anywhere in the sed command or any other command, just remove... (1 Reply)
Discussion started by: mohsin.quazi
1 Replies

7. Shell Programming and Scripting

How to insert a character in line in Special condition?

Hi, I have a log file generated by a tool which has the following look : /tmp/releases/directory/datefilename1_release_date.zip /tmp/releases/directory/datefilename2_release_date.zip /tmp/releases/directory/datefilename3_release_date.zip... (8 Replies)
Discussion started by: bhaskar_m
8 Replies

8. Shell Programming and Scripting

Adding a special character at the end of the line

I used following to add * at the end of the line in file1. It adds * at the end but has a space before it for some lines but some other lines it adds exactly after the last character. How do I take out the space ? sed 's/$/*/' file1 > file2 example: contents of file1 : ... (2 Replies)
Discussion started by: pitagi
2 Replies

9. UNIX for Dummies Questions & Answers

[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... (3 Replies)
Discussion started by: tankd
3 Replies

10. 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
Login or Register to Ask a Question