The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sed-Special character replacement usshell Shell Programming and Scripting 3 05-22-2008 10:06 AM
[OpenServer 5]Line Printing and Hp laserjet 2015dn tankd UNIX for Dummies Questions & Answers 3 09-04-2007 11:21 AM
convert special character like £ cynnie Shell Programming and Scripting 1 08-08-2007 06:37 AM
printing problem in sco5.0.7 openserver arunvmk SCO 0 05-03-2005 02:24 AM
special character ? mile1982 High Level Programming 1 10-19-2004 08:15 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-31-2007
tankd tankd is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 5
Unhappy [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 (permalink)  
Old 08-01-2007
jgt jgt is offline
Registered User
  
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 439
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 (permalink)  
Old 08-02-2007
tankd tankd is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 5
Thanks for your answer !

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


Tankd
  #4 (permalink)  
Old 08-02-2007
jgt jgt is offline
Registered User
  
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 439
Try front panel menu on the printer.
  #5 (permalink)  
Old 08-02-2007
tankd tankd is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 5
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 (permalink)  
Old 08-02-2007
jgt jgt is offline
Registered User
  
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 439
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:31 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0