The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem with dd command or maybe AFS problem Anta Shell Programming and Scripting 0 08-25-2006 07:10 AM
Can I print ps file using enscript? redlotus72 UNIX for Dummies Questions & Answers 1 06-28-2005 11:36 AM
Enscript surajemenon UNIX for Dummies Questions & Answers 0 12-08-2004 08:36 AM
SSH Problem auth problem budrito UNIX for Advanced & Expert Users 1 03-17-2004 06:12 AM
Enscript mirzabhai UNIX for Dummies Questions & Answers 1 06-11-2001 06:46 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-05-2005
Registered User
 

Join Date: Feb 2005
Posts: 68
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
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-05-2005
Registered User
 

Join Date: Feb 2005
Posts: 68
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?
Reply With Quote
  #3 (permalink)  
Old 07-05-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,462
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.
Reply With Quote
  #4 (permalink)  
Old 07-05-2005
Registered User
 

Join Date: Feb 2005
Posts: 68
How to use ^@ps{code} in enscript?
any sample please

my code is :

enscript -B -fHelvetica9 -Xps P000000327_55138.ps| lp -d n40prt052
Reply With Quote
  #5 (permalink)  
Old 07-06-2005
Registered User
 

Join Date: Feb 2005
Posts: 68
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
Reply With Quote
  #6 (permalink)  
Old 07-06-2005
Registered User
 

Join Date: Feb 2005
Posts: 68
Finally I found the solution..

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

but this thing was not documented any where..

thanks..
Reply With Quote
  #7 (permalink)  
Old 07-06-2005
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,883
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:36 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0