Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to convert binary Unix file to text Post 302095653 by user12345 on Wednesday 8th of November 2006 08:54:53 PM
Old 11-08-2006
Hi,

I don't know what exact means by layout. The format of the dflt in windows is something like the following format which is a text file.
//////////////////////////////////////////////
printer "dflt"

height 66
width 80

after page control(L)

return ""
linefeed control(J)
///////////////////////////////////////////////

Rgds
 

10 More Discussions You Might Find Interesting

1. Programming

trying to convert binary data to text using C++

i hav tried to convert binary 2D data into text using binreader and writing into text file using streamwriter. i use ReadSingle() function to convert from binary to ascii, although it works good in 1D data but not in more dimensions. the kind of values i get are -1.265369923E+038 and like ... (2 Replies)
Discussion started by: geet
2 Replies

2. Shell Programming and Scripting

convert binary file into text file

im looking for anothr way to convert binary file into text file im using old solaris version (exatcly like xxd -r) thanks (2 Replies)
Discussion started by: modcan
2 Replies

3. AIX

Convert clear text into binary

Hi I need to display the binary text of an clearn text which is sent as input to the shell script (c shell); ex: I will pass "HELLO" as input, and i should get the binary format of the text Thanks in advance Mohan (1 Reply)
Discussion started by: mKarri
1 Replies

4. Shell Programming and Scripting

Need a unix script to convert date into Julian format in a text file

The 6th & 7th column of the text files represents date & time. I need this to be converted in julian format using command "date +%s -d <date>". I know the command, but dont know how to use it on the script 0 dbclstr-b IXT_Web Memphis_Prod_SQL_Full Memphis-Prod-SQL-Full-Application-Backup... (4 Replies)
Discussion started by: ajiwww
4 Replies

5. Shell Programming and Scripting

Convert binary to text Perl script

Hello everyone, I have a binary file with a structure unknown. I have found 2 perl scripts that it seems to do the convertion but I get sintactic errors when I run them, may somebody test these 2 scripts please and see if really work? One if from here... (10 Replies)
Discussion started by: Ophiuchus
10 Replies

6. Shell Programming and Scripting

Convert binary file to csv and then back to the binary format

Hello *nix specialists, Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies

7. Windows & DOS: Issues & Discussions

Convert UNIX text file in Windows to recognize line breaks

Hmmm I think I found the correct subforum to ask my question... I have some text files that I prepared in vi some time ago, and now I want to open and edit them with Windows Notepad. I don't have a Unix terminal at the moment so I need to do the conversion in Windows. Is there a way to do this?... (1 Reply)
Discussion started by: frys_hp
1 Replies

8. UNIX for Dummies Questions & Answers

Convert UNIX text file in Windows to recognize line breaks

Hi all, I have some text files that I prepared in vi some time ago, and now I want to open and edit them with Windows Notepad. I don't have a Unix terminal at the moment so I need to do the conversion in Windows. Is there a way to do this? Or just reinsert thousands of line breaks again :eek: ? (2 Replies)
Discussion started by: frys_hp
2 Replies

9. Shell Programming and Scripting

Need to convert delimited text file in UNIX to an Excel file

Dear Users , Need to convert delimited text files in UNix server to an Excel file and move the excel file to Windows environment. Am trying to automate the whole process. Can anyone share the ideas,if they have done similar ones before...Thanks -Meera (1 Reply)
Discussion started by: meerakrish
1 Replies

10. Shell Programming and Scripting

Read csv file, convert the data and make one text file in UNIX shell scripting

I have input data looks like this which is a part of a csv file 7,1265,76548,"0102:04" 8,1266,76545,"0112:04" I need to make the output data should look like this and the output data will be part of text file: 7|1265000 |7654899 |A| 8|12660000 |76545999 |B| The logic behind the... (6 Replies)
Discussion started by: RJG
6 Replies
jprconv(1)							   User Commands							jprconv(1)

NAME
jprconv - Filter for printing Japanese text on a dot-matrix Kanji printer or Japanese language page printer SYNOPSIS
jprconv [-T terminfo] [-r ] /usr/lib/lp/text/jprconv AVAILABILITY
SUNWjfpu DESCRIPTION
jprconv is a filter for printing Japanese text on a dot-matrix Kanji printer (EPSON VP-5085 or NEC PC-PR201) or Japanese language page printer (Canon LASERSHOT). Control codes for each printer are as follows: +-----------------------+-----------------------------------+ |Database |Control code | |EPSON VP-5085 |ESC/P24-J84 of EPSON ESC/P | |NEC PR201 |NEC 201PL | |Canon LASERSHOT |LIPS-complied control code | +-----------------------+-----------------------------------+ If the above control codes are supported, Japanese text can be printed on another printer. jprconv reads Japanese characters from the standard input, converts them to each control code, and writes to the standard output. If the input character code includes any user-defined characters, JIS X 0212, IBM Extended characters, or NEC-selective IBM Extended characters, these fonts are also printed. For the other characters, fonts installed on the printer are used. You can use sdtudctool to define user-specific characters (see sdtudctool(1)). To print JIS X 0212, IBM Extended characters, or NEC-selec- tive IBM Extended characters, the SUNWjcs3f package is also needed. OPTIONS
-T Specifies to use terminfo database. Any one of the following must be spefified. canon-ls-408 In case of LIPS format nec-pr201 In case of NEC 201PL format epson-vp5085 In case of ESC/P24-J84 format -r Does not convert NL to CR-NL when printing. By default it is converted. EXAMPLES
To print file1 in the ESC/P24-J84 format, type: example% jprconv -T epson-vp5085 < file1 ENVIRONMENT VARIABLES
To run this command, the locale must be set to ja, ja_JP.PCK or ja_JP.UTF-8. FILES
/usr/lib/lp/text/jprconv.conf /usr/share/lib/terminfo/e/epson-vp5085 /usr/share/lib/terminfo/n/nec-pr201 /usr/share/lib/terminfo/c/canon-ls-a408 SEE ALSO
jtops(1), jpostprint(1), sdtudctool(1), lpfilter(1M) Japanese Environment User's Guide NOTES
In general, it is not necessary to use the jprconv because jprconv is used as a filter on the printer server side. For the setting on the printer server side, see Japanese Environment User's Guide. Only Japanese characters are printable in the ja_JP.UTF-8 locale. SunOS 5.10 10 Jan 2003 jprconv(1)
All times are GMT -4. The time now is 01:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy