Sponsored Content
Full Discussion: Printing extended ASCII
Operating Systems AIX Printing extended ASCII Post 302523164 by petervg on Wednesday 18th of May 2011 05:59:39 AM
Old 05-18-2011
It is a HP2055 on a hpjetdirect.
It is created as a hpjetdirect: other: generic: ascii queue.
It is created on AIX 5.3.
 

9 More Discussions You Might Find Interesting

1. Programming

Extended ascii

Hi all, I would like to change the extended ascii code ( 128 - 255). I tried to change LC_ALL and LANG in current session ( values from locale -a) and for no good. Thanks. (0 Replies)
Discussion started by: avis
0 Replies

2. Shell Programming and Scripting

extended ascii problem

hi i would like to check text files if they contain extended ascii characters within or not. i really dont have any idea how to start your kind help would be very much appreciated thanks. (7 Replies)
Discussion started by: smooth
7 Replies

3. UNIX for Advanced & Expert Users

Processing extended ascii character file names in UNIX (BASH scipts)

Hi, I have a accentuated letter (ö) in a script for an Installer. It's a file name. This is not working and I'm told to try using the octal value for the extended ascii character. Does anyone no how to do this? If I had the word "filförval", can I just put in the value between the letters, like... (9 Replies)
Discussion started by: peli
9 Replies

4. Shell Programming and Scripting

Identify extended ascii characters in a file

Hi, Is there a way to identify the lines in a file having extended ascii characters and display the same? For instance I have a file abc.txt having below data aaa|bbb|111|This is first line aaa|bbb|222|This is secõnd line aaa|bbb|333|This is third line aaa|bbb|444|This is foùrth line... (3 Replies)
Discussion started by: decci_7
3 Replies

5. Shell Programming and Scripting

Search and Replace Extended Ascii Characters

We are getting extended Ascii characters in the input file and my requirement is to search and replace them with a space. I am using the following command LANG=C sed -e 's// /g' It is doing a good job, but in some cases it is replacing the extended characters with two spaces. So my input... (12 Replies)
Discussion started by: ysvsr1
12 Replies

6. Programming

How to read extended ASCII characters from stdin?

Hi, I want to read extended ASCII characters from keyboard using c language on unix/linux. How to read extended characters from keyboard or by copy-paste in terminal irrespective of locale set in the system. I want to read the input characters from keyboard, store it in an array or some local... (3 Replies)
Discussion started by: sanzee007
3 Replies

7. Shell Programming and Scripting

Removal Extended ASCII using awk

Hi All, I am trying to remove (SELECTIVE - passed as argument) Extended ASCII using Awk based on adhoc basis. Can you please let me know how to do it. I have to implement this using awk only. Thanks & Regads (14 Replies)
Discussion started by: tostay2003
14 Replies

8. Shell Programming and Scripting

Extended ASCII Characters keep on getting reintroduced to text files

I am working with a log file that I am trying to clean up by removing non-English ASCII characters. I am using Bash via Cygwin on Windows. Before I start I set: export LC_ALL=C I clean it up by removing all non-English ASCII characters with the following command; grep -v $''... (4 Replies)
Discussion started by: lewk
4 Replies

9. UNIX for Beginners Questions & Answers

Print byte position of extended ascii character

Hello, I am on AIX. When I encounter extended ascii characters and special characters on a file I need to print.. Byte position, actual character and line number. Is there a simple command that can give me the above result ? Thanks in advance (38 Replies)
Discussion started by: rosebud123
38 Replies
xdpr(1X)																  xdpr(1X)

NAME
xdpr - dump an X window directly to a printer SYNOPSIS
xdpr [filename] [-display host:display] [-Pprinter] [-device devtype] [option...] OPTIONS
Specifies a file containing a window dump (created by xwd) to be printed instead of selecting an X window. Specifies a printer to send the output to. If a printer name is not specified here, xdpr (really, lpr or lp) will send your output to the printer specified by the PRINTER environment variable. Be sure that type of the printer matches the type specified with the -device option. host:display Normally, xdpr gets the host and display number to use from the environment variable DISPLAY. One can, however, specify them explicitly; see X(1X). Spec- ifies the device on which the file will be printed. Currently supported: LA100 HP LaserJet series and other monochrome PCL devices such as ThinkJet, QuietJet, RuggedWriter, HP560 series, and HP930 series printers LN03 HP PaintJet (color mode) HP HP PaintJet XL Color Graphics Printer (color mode) IBM PP3812 PostScript printer The default is PostScript. -device lw (LaserWriter) is equivalent to -device ps and is provided only for backwards compatibility. This option displays the list of options known to xdpr. Any other arguments will be passed to the xwd, xpr, and lpr or lp commands as appropriate for each. DESCRIPTION
The xdpr command uses the commands xwd, xpr, and lpr orlp to dump an X window, process it for a particular printer type, and print it out on the printer of your choice. This is the easiest way to get a printout of a window. xdpr by default will print the largest possible representation of the window on the output page. The options for xdpr are the same as those for xpr, xwd, and lpr or lp. The most commonly-used options are described above; see the manual pages for these commands for more detailed descriptions of the many options available. ENVIRONMENT
which display to use by default. which printer to use by default. COPYRIGHT
Copyright 1985, 1988, X Consortium See X(1X) for a full statement of rights and permissions. SEE ALSO
xwd(1X), xpr(1X), lpr(1), lp(1), xwud(1X), X(1X) AUTHORS
Paul Boutin, MIT Project Athena Michael R. Gretzinger, MIT Project Athena Jim Gettys, MIT Project Athena xdpr(1X)
All times are GMT -4. The time now is 10:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy