Problem in enscript???


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Problem in enscript???
# 1  
Old 07-05-2005
Problem in enscript???

hi,
I am trying to print ps file..

using ENSCRIPT='-fHelvetica10' PE51_217685.ps

but I am getting followinf error..

any idea?

It was printing if I use lpr command, i need to font externally..
So I am using enscript.. but...!!!


PE51_217685.ps: %!PS-Adobe-3.0: not found
PE51_217685.ps[2]: %%BoundingBox:: not found
PE51_217685.ps[3]: %%LanguageLevel:: not found
PE51_217685.ps[4]: %%Creator:: not found
PE51_217685.ps[5]: %%CreationDate:: not found
PE51_217685.ps[6]: %%Title:: not found
PE51_217685.ps[7]: %%Pages:: not found
PE51_217685.ps[8]: %%DocumentNeededResources:: not found
PE51_217685.ps[9]: %%+: not found
PE51_217685.ps[10]: %%+: not found
PE51_217685.ps[11]: %%+: not found
PE51_217685.ps[12]: %%+: not found
PE51_217685.ps[13]: %%+: not found
PE51_217685.ps[14]: %%+: not found
PE51_217685.ps[15]: %%+: not found
PE51_217685.ps[16]: %%DocumentData:: not found
PE51_217685.ps[17]: %%EndComments: not found
PE51_217685.ps[18]: %%BeginProlog: not found
PE51_217685.ps[19]: %%BeginResource:: not found
PE51_217685.ps[20]: /BD{bind: not found
PE51_217685.ps[21]: closepath: not found
PE51_217685.ps[22]: /CM{concat}BD/DF{findfont: not found
PE51_217685.ps[23]: ifelse}forall/Encoding: not found
PE51_217685.ps[24]: /F{dup: not found
PE51_217685.ps[25]: /FS{/hdFontSize: not found
PE51_217685.ps[26]: /L{0: not found
PE51_217685.ps[27]: /RO{rotate}BD/S{show}BD/SC{dup: not found
PE51_217685.ps[28]: /SF{findfont: not found
PE51_217685.ps[29]: %%EndResource: not found
PE51_217685.ps[30]: /fontencoding[: not found
PE51_217685.ps[31]: /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef: not found
PE51_217685.ps[32]: /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef: not found
PE51_217685.ps[33]: /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef: not found
PE51_217685.ps[34]: /.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent/ampersand: not found
PE51_217685.ps[35]: /quotesingle/parenleft/parenright/asterisk/plus/comma/minus/period/slash/zero: not found
PE51_217685.ps[36]: /one/two/three/four/five/six/seven/eight/nine/colon/semicolon/less/equal/greater: not found
PE51_217685.ps[37]: /question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft: not found
PE51_217685.ps[38]: /backslash/bracketright/asciicircum/underscore/grave/a/b/c/d/e/f/g/h/i/j/k/l/m/n: not found
PE51_217685.ps[39]: /o/p/q/r/s/t/u/v/w/x/y/z/braceleft/bar/braceright/asciitilde/.notdef/Euro: not found
PE51_217685.ps[40]: /.notdef/quotesinglbase/florin/quotedblbase/ellipsis/dagger/daggerdbl/circumflex: not found
PE51_217685.ps[41]: /perthousand/Scaron/guilsinglleft/OE/.notdef/.notdef/.notdef/.notdef/quoteleft: not found
PE51_217685.ps[42]: /quoteright/quotedblleft/quotedblright/bullet/endash/emdash/tilde/trademark: not found
PE51_217685.ps[43]: /scaron/guilsinglright/oe/.notdef/.notdef/Ydieresis/space/exclamdown/cent: not found
PE51_217685.ps[44]: /sterling/currency/yen/brokenbar/section/dieresis/copyright/ordfeminine: not found
PE51_217685.ps[45]: /guillemotleft/logicalnot/hyphen/registered/macron/degree/plusminus/twosuperior: not found
PE51_217685.ps[46]: /threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior: not found
PE51_217685.ps[47]: /ordmasculine/guillemotright/onequarter/onehalf/threequarters/questiondown: not found
PE51_217685.ps[48]: /Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE/Ccedilla/Egrave/Eacute: not found
PE51_217685.ps[49]: /Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex/Idieresis/Eth/Ntilde/Ograve: not found
PE51_217685.ps[50]: /Oacute/Ocircumflex/Otilde/Odieresis/multiply/Oslash/Ugrave/Uacute/Ucircumflex: not found
PE51_217685.ps[51]: /Udieresis/Yacute/Thorn/germandbls/agrave/aacute/acircumflex/atilde/adieresis: not found
PE51_217685.ps[52]: /aring/ae/ccedilla/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex: not found
PE51_217685.ps[53]: /idieresis/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash: not found
PE51_217685.ps[54]: /ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def: not found
PE51_217685.ps[55]: /F0/Courier: not found
PE51_217685.ps[56]: /F4/Times-Roman: not found
PE51_217685.ps[57]: /F5/Times-Bold: not found
PE51_217685.ps[58]: /F6/Times-Italic: not found
PE51_217685.ps[59]: /F8/Helvetica: not found
PE51_217685.ps[60]: /F9/Helvetica-Bold: not found
PE51_217685.ps[61]: /Fc/Symbol: not found
PE51_217685.ps[62]: %%EndProlog: not found
PE51_217685.ps[63]: %%Page:: not found
PE51_217685.ps[64]: %%PageBoundingBox:: not found
PE51_217685.ps[65]: GS: not found
PE51_217685.ps[66]: 72: not found
PE51_217685.ps[67]: -0: not found
PE51_217685.ps[68]: -0: not found
PE51_217685.ps[69]: 26.154: not found
PE51_217685.ps[70]: -0: not found
PE51_217685.ps[71]: 26.154: not found
PE51_217685.ps[72]: 26.154: not found
PE51_217685.ps[73]: 184.616: not found
PE51_217685.ps[74]: 26.154: not found
PE51_217685.ps[75]: 184.616: not found
PE51_217685.ps[76]: 184.616: not found
PE51_217685.ps[77]: 235.339: not found
PE51_217685.ps[78]: 184.616: not found
PE51_217685.ps[79]: 235.339: not found
PE51_217685.ps[80]: 235.339: not found
PE51_217685.ps[81]: 267.596: not found
PE51_217685.ps[82]: 235.339: not found
PE51_217685.ps[83]: 267.596: not found
PE51_217685.ps[84]: 267.596: not found
PE51_217685.ps[85]: 296.771: not found
PE51_217685.ps[86]: 267.596: not found
PE51_217685.ps[87]: 296.771: not found
PE51_217685.ps[88]: 296.771: not found
PE51_217685.ps[89]: 361.239: not found
PE51_217685.ps[90]: 296.771: not found
PE51_217685.ps[91]: 361.239: not found
PE51_217685.ps[92]: 361.239: not found
PE51_217685.ps[93]: 424.74: not found
PE51_217685.ps[94]: 361.239: not found
PE51_217685.ps[95]: 424.74: not found
PE51_217685.ps[96]: 424.74: not found
PE51_217685.ps[97]: 501.35: not found
PE51_217685.ps[98]: 424.74: not found
PE51_217685.ps[99]: -0: not found
PE51_217685.ps[100]: -0: not found
PE51_217685.ps[101]: 26.154: not found
PE51_217685.ps[102]: -0: not found
PE51_217685.ps[103]: 26.154: not found
PE51_217685.ps[104]: 26.154: not found
PE51_217685.ps[105]: 184.616: not found
PE51_217685.ps[106]: 26.154: not found
PE51_217685.ps[107]: 184.616: not found
PE51_217685.ps[108]: 184.616: not found
PE51_217685.ps[109]: 235.339: not found
PE51_217685.ps[110]: 184.616: not found
PE51_217685.ps[111]: 235.339: not found
PE51_217685.ps[112]: 235.339: not found
PE51_217685.ps[113]: 267.596: not found
PE51_217685.ps[114]: 235.339: not found
PE51_217685.ps[115]: 267.596: not found
PE51_217685.ps[116]: 267.596: not found
PE51_217685.ps[117]: 296.771: not found
PE51_217685.ps[118]: 267.596: not found
PE51_217685.ps[119]: 296.771: not found
PE51_217685.ps[120]: 296.771: not found
PE51_217685.ps[121]: 361.239: not found
PE51_217685.ps[122]: 296.771: not found
PE51_217685.ps[123]: 361.239: not found
PE51_217685.ps[124]: 361.239: not found
PE51_217685.ps[125]: 424.74: not found
PE51_217685.ps[126]: 361.239: not found
PE51_217685.ps[127]: 424.74: not found
PE51_217685.ps[128]: 424.74: not found
PE51_217685.ps[129]: 501.35: not found
PE51_217685.ps[130]: 424.74: not found
PE51_217685.ps[131]: -0: not found
PE51_217685.ps[132]: -0: not found
PE51_217685.ps[133]: 26.154: not found
PE51_217685.ps[134]: -0: not found
PE51_217685.ps[135]: 26.154: not found
PE51_217685.ps[136]: 26.154: not found
PE51_217685.ps[137]: 501.35: not found
PE51_217685.ps[138]: 26.154: not found
PE51_217685.ps[139]: -0: not found
PE51_217685.ps[140]: -0: not found
PE51_217685.ps[141]: 501.35: not found
PE51_217685.ps[142]: -0: not found
PE51_217685.ps[143]: -0: not found
PE51_217685.ps[144]: -0: not found
PE51_217685.ps[145]: 501.35: not found
PE51_217685.ps[146]: -0: not found
PE51_217685.ps[147]: -0: not found
PE51_217685.ps[148]: -0: not found
PE51_217685.ps[149]: 361.239: not found
PE51_217685.ps[150]: -0: not found
PE51_217685.ps[151]: 361.239: not found
PE51_217685.ps[152]: 361.239: not found
PE51_217685.ps[153]: 424.74: not found
PE51_217685.ps[154]: 361.239: not found
PE51_217685.ps[155]: 424.74: not found
PE51_217685.ps[156]: 424.74: not found
PE51_217685.ps[157]: 501.35: not found
PE51_217685.ps[158]: 424.74: not found
PE51_217685.ps[159]: syntax error at line 159 : `(' unexpected
# 2  
Old 07-05-2005
Why enscript is printing raw data?

hi,
I am using enscript for printing..

enscript -B -fHelvetica10 P000000327_55138.ps

I am getting print out as raw data.. like..

%!PS-Adobe-3.0
%%BoundingBox: 0 0 595 792
%%LanguageLevel: 1
%%Creator: htmldoc 1.8.23 Copyright 1997-2002 Easy Software Products, All Rights Reserved.
%%CreationDate: D:20050317050927+0700
%%Title: Order C68-R28
%%Pages: 1
%%DocumentNeededResources:
%%+ font Courier
%%+ font Times-Roman
%%+ font Times-Bold
%%+ font Helvetic

how to correct?
# 3  
Old 07-05-2005
Please read our rules and note:

(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post where your goal is to get an answer more quickly.

I have merged the two threads.
# 4  
Old 07-05-2005
How to use ^@ps{code} in enscript?
any sample please

my code is :

enscript -B -fHelvetica9 -Xps P000000327_55138.ps| lp -d n40prt052
# 5  
Old 07-06-2005
any other method to chnage the default font, or font size..

now its printing TimeRoman 8, i need some other with 10..
my OS is AIX
# 6  
Old 07-06-2005
Finally I found the solution..

lp -d n40prt234 -o font=Helvetica-11 P000000327_55138.ps

but this thing was not documented any where..

thanks..
# 7  
Old 07-06-2005
Because "-o <option>" is printer driver specific. It works only for one flavor of printer.
On our printers it is -k <n><fontname> for example.

man lp tells you where to find the options files (which -o commands work and how to use them) for every printer on your system.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Enscript text 2 postscript converter

I am trying to create a pdf file starting with a .eps file for the letterhead, and a text file to print on it. According to the man page the following should work. ^@epsf /home/aoti/coll07.eps ****** INVOICE ****** PAGE: 1 where ^@ is a... (0 Replies)
Discussion started by: jgt
0 Replies

2. Shell Programming and Scripting

enscript color

Hi, I am converting a text file to ps using enscript. Does anyone know how to print in color? Here is what I tried: enscript -ptemp.ps -G -F Souvenir-DemiItalic20 -f Souvenir-DemiItalic20 -E --color file.txt The color doesn't work Thanks (5 Replies)
Discussion started by: forumbaba
5 Replies

3. IP Networking

Problem with forwarding emails (SPF problem)

Hi, This is rather a question from a "user" than from a sys admin, but I think this forum is apropriate for the question. I have an adress with automatic email forwarding and for some senders (two hietherto), emails are bouncing. This has really created a lot of problems those two time so I... (0 Replies)
Discussion started by: carwe
0 Replies

4. Linux

Euro - Symbol with enscript

Hello List, I am new in this forum. I have a problem with enscript and I am searching for about one year for a solution: We are using enscript and ghostscript to create pdf-Documents with our Software running on linux server. To print the EURO Symbol on a fixed place I can change the... (1 Reply)
Discussion started by: stefan2907
1 Replies

5. AIX

user login problem & Files listing problem.

1) when user login to the server the session got colosed. How will resolve? 2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem? Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies

6. UNIX for Dummies Questions & Answers

Can I print ps file using enscript?

Hi, I have ps file, I want to print with diffrent font, is it possible to print like this? enscript -fCourier9 test.ps how to find enscript is installed or not? if I enter man enscript I am able to see the documentation, but if I try enscript -fCourier9 test.ps I am getting ksh:... (1 Reply)
Discussion started by: redlotus72
1 Replies

7. UNIX for Dummies Questions & Answers

Enscript

When I am trying to use ENSCRIPT for formatting a file, the output I am getting has prolog statements and I am not getting desired results.. Please help (0 Replies)
Discussion started by: surajemenon
0 Replies

8. UNIX for Dummies Questions & Answers

Enscript

I'm trying to print a perlscript file from nedit using the enscript command. It reads as follows: enscript -dbigbird -R -G -b"my_perl_script.pl" This is the printer command line when I print from nedit. I also have the language set to perl under preferences. This allows me to view comments... (1 Reply)
Discussion started by: mirzabhai
1 Replies
Login or Register to Ask a Question