Login or Register to Ask a Question and Join Our Community

Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fixnt(1) [debian man page]

fixnt(1)							      Debian								  fixnt(1)

fixnt - Filter for the Windows NT postscript printer driver. SYNOPSIS
The Windows NT postscript driver has a tendency to make broken postscript files, that are incompatible with psutils. fixnt is a filter that fixes these problems, allowing the use of psnup(1). The filter takes the broken postscript file on stdin, and outputs a fixed postscript file on stdout. It has no other form for invocation and takes no options on the command-line. OPTIONS
fixnt takes no options. BUGS
fixnt does not check for NTPSOct94. For a workaround, use a sed(1) command to replace 'NTPSOct94' with 'NTPSOct95', like so: sed 's/NTPSOct94/NTPSOct95/g' This is particularly important for Windows NT 3.5 users. AUTHOR
fixnt was written by Holger Bauer <Holger.Bauer@topmail.de>, Michael Rath <rath@itsm.uni-stuttgart.de>, and Akim Demaille <demaille@inf.enst.fr>. REPORTING BUGS
Report bugs to the Authors, but avoid sending large postscript files. Patches are always welcome; send to <bauer@itsm.uni-stuttgart.de>. SEE ALSO
psnup(1), sed(1) a2ps February 2003 fixnt(1)

Check Out this Related Man Page

FIXPS(1)								FSF								  FIXPS(1)

fixps - sanitize PostScript files SYNOPSIS
Try to fix common PostScript problems that break postprocessing. OPTIONS
-h, --help display this help and exit -v, --version display version information and exit -q, --quiet don't print informational messages -o, --output=FILE save result in FILE. If FILE is `-', send to stdout -f, --force force full rewrite by ghostscript -n, --no-fix don't fix the FILE, but still honor `-o' -c, --check, --dry-run don't perform any action Fixes: - Remove junk before and after PostScript content - Use only Unix end of lines ( ) - Remove empty lines - Fix Apple prologue (fixmacps) - Fix FrameMaker prologue (fixfmps) - Fix CorelDraw prologue (fixnt) - Fix Win- dows NT 3.5/4.0 prologue (fixnt) - Fix Windows 95 prologue - Ensure there is a `%%BeginSetup/%%EndSetup' section - Removes Canvas' extraneaous `%%EndDocument:' comments - Split too long lines If the FILE seems really in a bad state, ghostscript may be used to perform a full rewrite. The output might then be significantly bigger, but much safer. AUTHOR
Written by Akim Demaille. REPORTING BUGS
Report bugs to <bug-a2ps@gnu.org> COPYRIGHT
Copyright (C) 1998-2000 Akim Demaille, Miguel Santana This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
a2ps(1), card(1), fixps(1), pdiff(1), psset(1), texi2dvi4a2ps(1). The full documentation for fixps is maintained as a Texinfo manual. If the info and fixps programs are properly installed at your site, the command info fixps should give you access to the complete manual. fixps 1.5 (GNU a2ps 4.14) March 2014 FIXPS(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

difficult sed command

Im trying to replace every line line1 line2 line3 with: line1 extraline1 line2 extraline2 line3 extraline3 with about 10 extra lines I am able to add axtra lines with: (17 Replies)
Discussion started by: Dave724001
17 Replies

2. Shell Programming and Scripting

sed help.

guys... I have a file like this.. aa;sds;dsa;;das;;;das;;;; bg;;dsa;;;sd;fd;;;sd;;sd; each word is separated by a ";". U can see there are consecutive more thn 1 ";" also. I want to insert 0 (zero) between them. max consecutive no of ";" are 5. Pl help. thanks in advance. if... (19 Replies)
Discussion started by: clx
19 Replies

3. Shell Programming and Scripting

Replace multiple lines between tags using sed

I have a file example.txt with content look like this: <TAG> 1 2 3 </TAG> and I use a sed command to replace everything between <TAG></TAG> as below: sed -e 's/\(<TAG>\)*\(<.*\)/something/g' example.txt > example.txt.new But unfortunately, the command failed to replace as i want, it... (23 Replies)
Discussion started by: dollylamb
23 Replies

4. Shell Programming and Scripting

sed: How to modify files in a complex way

Hello, I am new to sed and hope that someone can help me with the following task. I need to modify a txt file which has format like this: xy=CreateDB|head.queue|head.source|head.definition|rtf.edit|rtf.task|rft.cut abc|source|divine|line4|5|true into something like: head.queue=abc... (19 Replies)
Discussion started by: pinkypunky
19 Replies

5. UNIX for Dummies Questions & Answers

Help with sed substitution

I'm a noob to unix, and I have a line of data like the following: title=Boston|tcolor=green|desc=Large city in New England|url=www.boston.com Is there a way to change a field value with sed substitution? (i.e. change tcolor=green to tcolor=blue) I figured out: sed... (19 Replies)
Discussion started by: stabby
19 Replies

6. UNIX for Advanced & Expert Users

sed command

Hi..... I'm using sed command for replace the words in a file cat >test.txt My test.txt contains Mary had a little ham Mary fried a lot of spam Jack ate a Spam sandwich Jill had a lamb spamwich Marry had a spicy wich $ sed 's/wich$/mirchi/g' test.txt output is: Mary had a little ham... (24 Replies)
Discussion started by: ksrivani
24 Replies

7. Shell Programming and Scripting

Problem with sed

I need to insert, or replace a character at a designated row and column in a text file with sed. Heres the code: sed "${row} s/./${newchar}/${col}" >test.txt Everytime I use this code on cygwin, It doesn't work, it just has me input text without an end. So why isn't it working? Also,... (35 Replies)
Discussion started by: tinman47
35 Replies

8. Shell Programming and Scripting

sed fails to apply substitute commands

I've made a shell script for archiving HTML pages, i.e. making them work offline plus add some features. Here is it: #!/bin/sh if || +/res/+") = "" ]; then echo "Usage: `basename $0` <4chan thread url> <>" exit 0 fi echo "4chan downloader" LOC=$(echo "$1" | sed... (23 Replies)
Discussion started by: Adolf1994
23 Replies

9. Shell Programming and Scripting

Deleting all lines except last 500

Hi All, I want to write a script which first check the line counts of a file if its more than 500 it deletes rest except the last 500.. I tried sed but it looks sed counts line numbers from the head & not from tail.. May be I need a wc -l frist then apply if statement & pass on the line count... (17 Replies)
Discussion started by: ailnilanjan
17 Replies

10. Shell Programming and Scripting

Tricky sed required

Hi All I need to put some sed together for a task and its a bit advanced for me, so I thought I'd ask if anyone here could help. I have a csv file with content like this - "","abcde","","" "'","abcde","","" "","","","1234" "'e'","","","" I need to remove any single quotes that fall... (17 Replies)
Discussion started by: steadyonabix
17 Replies

11. Shell Programming and Scripting

Inescapable '{' in sed?

Greetings! Well, this next example should be a snap, but, instead, sed is raising yet another bump on my head. Here's the "offending" commandline today:sed -i s'/\$\{HOUSING\}/casing/g' ./some.fileAnd, here's the output:sed: -e expression #1, char 27: Invalid content of \{\}FWIW, I tried... (17 Replies)
Discussion started by: LinQ
17 Replies

12. Shell Programming and Scripting

How to replace all but the first 3 characters with sed?

This seems like it should be an easy problem, but for some reason I am struggling with the solution. I simply want to replace all characters after the first 3 characters with another character, preferably with sed. Thanks in advance. Like this, but producing the proper number of *'s: sed... (30 Replies)
Discussion started by: leolson
30 Replies

13. Shell Programming and Scripting

[sed]: syntax to insert N spaces in front of a string

Dear all, I would like to insert N blankspaces in front of a string using sed command To give an example (N=10), I tried that code: $ echo "abcd" | sed 's/^/ \{10,\}&/' but I failed, by obtaining that result: {10,}abcd Any help would be greatly appreciated, Thanks in advance,... (18 Replies)
Discussion started by: dae
18 Replies

14. OS X (Apple)

Noob trying to improve

Hi everyone! This is my first post here, I hope that I will not already be violating any rule! I also would like to apologize in advance as my post will definitely be a noob post... please have patience and faith :rolleyes:! Now that I have set the ground rules :D:D, my objective is trying... (39 Replies)
Discussion started by: Ardzii
39 Replies

15. Shell Programming and Scripting

Issue with sed command does not replace exact string matched

I have a file change.sed more change.sed I fire the below command inorder to replace "" with "" in proxy.logsed -f change.sed proxy.log proxy.log has the below entry more proxy.log The command replaces both & as below: I am expecting... (17 Replies)
Discussion started by: mohtashims
17 Replies

Featured Tech Videos