Sponsored Content
Top Forums UNIX for Dummies Questions & Answers [OpenServer 5]Line Printing and special character (é @) Post 302129970 by jgt on Thursday 2nd of August 2007 03:44:36 PM
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.
 

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
PAPSTATUS(8)							   Netatalk 2.2 						      PAPSTATUS(8)

NAME
papstatus - get the status of an AppleTalk-connected printer SYNOPSIS
/usr/sbin/papstatus [-d] [-p printer] [retrytime] DESCRIPTION
papstatus is used to obtain the current status message from an AppleTalk connected printer. It uses the Printer Access Protocol (PAP) to obtain the status information. If no printer is specified on the command line, papstatus looks for a file called .paprc in the current directory and reads it to obtain the name of a printer. The .paprc file should contain a single line of the form object:type@zone where each of object, :type, and @zone are optional. type and zone must be proceeded by `:' and `@' respectively. Blank lines and lines the begin with a `#' are ignored. type and zone default to LaserWriter and the zone of the local host, respectively. OPTIONS
-d Turns on a debugging mode that prints some extra information to standard error. -p printer Get status from printer (do not consult any .paprc files to find a printer name). The syntax for printer is the same as discussed above for the .paprc file. retrytime Normally, papstatus only gets the status from the printer once. If retrytime is specified, the status is obtained repeatedly, with a sleep of retrytime seconds between inquiring the printer. FILES
.paprc file that contains printer name SEE ALSO
nbp(1), pap(1) Netatalk 2.2 17 Dec 1991 PAPSTATUS(8)
All times are GMT -4. The time now is 07:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy