Sponsored Content
Top Forums UNIX for Dummies Questions & Answers [OpenServer 5]Line Printing and special character (é @) Post 302129466 by tankd on Tuesday 31st of July 2007 05:22:30 AM
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.
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
lpr(1)								    Apple Inc.								    lpr(1)

NAME
lpr - print files SYNOPSIS
lpr [ -E ] [ -H server[:port] ] [ -U username ] [ -P destination[/instance] ] [ -# num-copies [ -h ] [ -l ] [ -m ] [ -o option[=value] ] [ -p] [ -q ] [ -r ] [ -C/J/T title ] [ file(s) ] DESCRIPTION
lpr submits files for printing. Files named on the command line are sent to the named printer (or the default destination if no destination is specified). If no files are listed on the command-line, lpr reads the print file from the standard input. THE DEFAULT DESTINATION
CUPS provides many ways to set the default destination. The "LPDEST" and "PRINTER" environment variables are consulted first. If neither are set, the current default set using the lpoptions(1) command is used, followed by the default set using the lpadmin(8) command. OPTIONS
The following options are recognized by lpr: -E Forces encryption when connecting to the server. -H server[:port] Specifies an alternate server. -C "name" -J "name" -T "name" Sets the job name. -P destination[/instance] Prints files to the named printer. -U username Specifies an alternate username. -# copies Sets the number of copies to print from 1 to 100. -h Disables banner printing. This option is equivalent to "-o job-sheets=none". -l Specifies that the print file is already formatted for the destination and should be sent without filtering. This option is equivalent to "-o raw". -m Send an email on job completion. -o option[=value] Sets a job option. -p Specifies that the print file should be formatted with a shaded header with the date, time, job name, and page number. This option is equivalent to "-o prettyprint" and is only useful when printing text files. -q Hold job for printing. -r Specifies that the named print files should be deleted after printing them. COMPATIBILITY
The "c", "d", "f", "g", "i", "n", "t", "v", and "w" options are not supported by CUPS and produce a warning message if used. SEE ALSO
cancel(1), lp(1), lpadmin(8), lpoptions(1), lpq(1), lprm(1), lpstat(1), http://localhost:631/help COPYRIGHT
Copyright 2007-2009 by Apple Inc. 29 August 2008 CUPS lpr(1)
All times are GMT -4. The time now is 09:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy