We are migrating our UniVerse application from AIX to Linux. After moving, all is good except print files that contain escape characters (char(27)) are losing the escape character and printing flat text of the control string. We have confirmed that the print file is constructed properly. It only does this when streaming the print file to the printers.
Linux dropping escape characters
464 Views Asked by JTeter At
2
There are 2 best solutions below
0
rbl
On
We just migrated from HP to linux and have the same problem on CentOS 5.9 (but not on RHEL 6.4!). For us, the solution was to use the '-o raw' option on the lpr command that is used in the driver file we have being reference by the sp.config. The other half of the solution is that we had to change the printer settings to automatically do a CR when a LF is done without its own CR, otherwise print lines 'stair-step' across the page. YMMV
Related Questions in LINUX
- Is there some way to use printf to print a horizontal list of decrementing hex digits in NASM assembly on Linux
- Why does Hugo generate different taxonomy-related HTML on different OS's?
- Writes in io_uring do not advance the file offset
- Why `set -o pipefail` gives different output even though the pipe is not failing
- what really controls the permissions: UID or eUID?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Docker container unable to make HTTPS requests to external API
- Whow to use callback_query_handler in Python 3.10
- Create kea runtime directory at startup in Yocto image
- Problem on CPU scheduling algorithms in OS
- How to copy files into the singularity sandbox?
- Android kernel error: undefined reference to `get_hw_version_platform'
- Is there a need for BPF Linux namespace?
- Error when trying to execute a binary compiled in a Kali Linux machine on an Ubuntu system
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
Related Questions in ESCAPING
- How is passing a function as a parameter related to escaping autoclosure?
- How to appropriately handle newlines and the escaping of them?
- How to assign a value to a string variable, that includes embedded '=' in the value
- How to escape angle brackets in YAML?
- How to write .csv that includes column containing text (and special characters) with pandas
- Laravel 10 partially unescaping back JSON strings with \n \r escape sequences inside
- Python Backslash JSON Escaping issue - adding unwanted double backslash \\
- How to escape Freemarker output of captured assign?
- escaping symbolic characters in strings programmatically (zsh)
- How do Jersey endpoints call each other?
- sudo command behaviour difference with the -i flag
- Why ^^! and not ^! for literal escapes during delayed variable expansion?
- Single quotes being swapped for double quotes upon replace
- How can I see the escape sequence of a given key combo (specifically Alt+letter) when I use the meta8 option in URxvt?
- How to parse a double quote at start of field in csv using jackson-dataformat-csv CsvMapper
Related Questions in U2
- Writing to UniVerse Linked Server from SQL Server via ODBC
- Retain spaces before new line in output from RetrieVe or UniVerseSQL
- How to return exit code in UniData?
- In UniVerse SQL. How to get the Maximum actual Data Len of a column
- How to connect Spring boot application with U2 universe database?
- Is there a case statement for U2 universe database?
- Universe OCONV argument for zero-padding
- Attempted READ of key larger than file maximum key size
- Rocket Universe hung deleting multipart file
- Is there an R package for connecting to U2 / Universe / PICK?
- How to get the smallest date value using SELECT on TCL from a file?
- Posting Time value to Universe database from .NET Entity Framework
- Universe DB Connection via SSH
- Improper data type return when creating API request in Rocket Universe
- Connection using uniobject.NET connection to unidata account does not work and transaction fails
Related Questions in UNIVERSE
- UniVerse PHANTOM command
- Writing to UniVerse Linked Server from SQL Server via ODBC
- Universe : SQL Statement with dates to YYYYMMDD string
- Retain spaces before new line in output from RetrieVe or UniVerseSQL
- How can I integrate to Rocket universe u2 database from Mulesoft
- Functions vs External Subroutines in Unidata/Universe
- How can I make the new list created by my UV BASIC program the active list when executed from TCL like in jBase's OR-LISTS program?
- Is there a way to build a command in a script and then execute it within the script with an alias?
- In UniVerse SQL. How to get the Maximum actual Data Len of a column
- Rocket UniData/UniVerse: ODBC Unable to allocate sufficient memory
- Big query nested json strings to arrays then new tables
- How to connect Spring boot application with U2 universe database?
- Is there a case statement for U2 universe database?
- UniObjects for Java how to open sessions to emulate connection pooling
- Universe OCONV argument for zero-padding
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If I understand you correctly, the characters in the file are now
^and[instead of the^[literal escape, and you want the literal escape. If that's the case, you can use:where
^[in the replacement is a literal escape, typed with Ctrl+V Esc.If that's not what they're printing, please post an example of what it is and what it should be.