This is a discussion on PDF creation in Unix within the Sco Unix forums, part of the Unix Operating Systems category; --> brian@aljex.com wrote in message news:<1112480714.218958.53770@f14g2000cwb.googlegr oups.com>... > the actual executable binary for the package called ghostpcl is pcl6 > ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| brian@aljex.com wrote in message news:<1112480714.218958.53770@f14g2000cwb.googlegr oups.com>... > the actual executable binary for the package called ghostpcl is pcl6 > the binary for ghostscript is "gs" > pcl2pdf is a shell script that runs pcl6 > you say you ran pcl2pdf, but the error message looks like it came from > gs not from pcl6 > did you edit pcl2pdf or something? > > pcl6 expects to read PCL data. > gs expects to read PS (postscript) data. > > what kind of data are you feeding in? yes you are right , I misinformed you in my pessage: I am using ps2pdf , my data cames from a text message processed with txt2post original binary in SCO 5.0.7 . Still I have the message error : Any idea ? |
| |||
| So you are running gs, which expects postscript data and you are feed it postscript data, as far as you know. That's good except... Unfortunately the error posted previously doesn't mean anything to me. I would have tried using txt2post myself and seeing if gs-6.51 likes it's output for me or if I get the error you got, except... I have access to many 5.0.7 boxes, and all of them updated with at least MP3 (which includes gwxlibs) and gnutools, and they don't have any such program as "txt2post" In fact, I've never heard of such a program and google doesn't even turn it up so I doubt it's avan part of some common gnu package like enscript or a2ps (2 packages that read plain text and output postscript), so... I'm stuck. What is this txt2post? It's definitely not part of sco 5.0.7. It *could* be part of UP3 which I don't have installed anywhere nor have access to. Try this and cut & paste the results back here, that should tell me if it's part of any custom-installable package, be it an update pack or some skunkware package. ls -l `where txt2post` |
| |||
| Ian Wilson wrote: > willjay wrote: > >> "Ian Wilson" <scobloke2@infotop.co.uk> wrote in message >> news:d2druj$3i2$2@hercules.btinternet.com... >> >>> pablo hernandez wrote: >>> >>>> I am interested in any PDF creation software for Unix. >>>> >>>> I have OS5.0.7. >>>> >>>> I know ghostscript , but it is difficult to compile . >>>> >>>> Any idea where to find a binary ? Or any other software ? >>> >>> >>> A binary for 5.0.7 is in SCO Skunkware >>> >> >> >> Will gostscript create a PDF or just print/display one? Regards wj >> >> > > Ghostscript can create PDFs in OSR 5.0.7 - I've done it. >uname -v 5.0.7 >gs -v GNU Ghostscript 6.51 (2001-03-28) Copyright (C) 2001 artofcode LLC, Benicia, CA. All rights reserved. >ps2pdf test.ps test.pdf >ls -l test.ps test.pdf -rw-r----- 1 ian group 2334 Apr 4 10:45 test.pdf -rw-r----- 1 ian group 247 Apr 4 10:42 test.ps |
| |||
| On Sun, Apr 03, 2005 at 10:19:33PM -0700, Brian K. White wrote: | So you are running gs, which expects postscript data | and you are feed it postscript data, as far as you know. | | That's good except... | | Unfortunately the error posted previously doesn't mean anything to me. | | I would have tried using txt2post myself and seeing if gs-6.51 likes | it's output for me or if I get the error you got, except... | | I have access to many 5.0.7 boxes, and all of them updated with at | least MP3 (which includes gwxlibs) and gnutools, and they don't have | any such program as "txt2post" | | In fact, I've never heard of such a program and google doesn't even | turn it up so I doubt it's avan part of some common gnu package like | enscript or a2ps (2 packages that read plain text and output | postscript), so... | | I'm stuck. What is this txt2post? It's definitely not part of sco | 5.0.7. It *could* be part of UP3 which I don't have installed anywhere | nor have access to. Try this and cut & paste the results back here, | that should tell me if it's part of any custom-installable package, be | it an update pack or some skunkware package. | | ls -l `where txt2post` I use "enscript" from SkunkWare 2000 to convert a text file to a postscript file, then "ps2pdf" (also from SkunkWare 2000) to do the conversion to a PDF file. Bob -- Bob Stockler - bob@trebor.iglou.com Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus. Fully functional (time-limited) demos available by email request (specify OS). |
| |||
| brian@aljex.com wrote in message news:<1112591973.457876.245970@z14g2000cwz.googleg roups.com>... > So you are running gs, which expects postscript data > and you are feed it postscript data, as far as you know. > > That's good except... > > Unfortunately the error posted previously doesn't mean anything to me. > > I would have tried using txt2post myself and seeing if gs-6.51 likes > it's output for me or if I get the error you got, except... > > I have access to many 5.0.7 boxes, and all of them updated with at > least MP3 (which includes gwxlibs) and gnutools, and they don't have > any such program as "txt2post" > > In fact, I've never heard of such a program and google doesn't even > turn it up so I doubt it's avan part of some common gnu package like > enscript or a2ps (2 packages that read plain text and output > postscript), so... > > I'm stuck. What is this txt2post? It's definitely not part of sco > 5.0.7. It *could* be part of UP3 which I don't have installed anywhere > nor have access to. Try this and cut & paste the results back here, > that should tell me if it's part of any custom-installable package, be > it an update pack or some skunkware package. > > ls -l `where txt2post` txt2post cames in my Os507: /usr/spool/lp/bin/text2post , and is invoked also in the "postscript" print interface : I use it in the following way : cat EMAIL000032 | /usr/spool/lp/bin/text2post > E32.pos /usr/local/bin/ps2pdf E32.pos E32.pdf Do you think is not a suitable way to convert to poscript ? is pcl2pos better option ? |
| |||
| brian@aljex.com typed (on Sun, Apr 03, 2005 at 10:19:33PM -0700): | So you are running gs, which expects postscript data | and you are feed it postscript data, as far as you know. | | That's good except... | | Unfortunately the error posted previously doesn't mean anything to me. | | I would have tried using txt2post myself and seeing if gs-6.51 likes | it's output for me or if I get the error you got, except... | | I have access to many 5.0.7 boxes, and all of them updated with at | least MP3 (which includes gwxlibs) and gnutools, and they don't have | any such program as "txt2post" | | In fact, I've never heard of such a program and google doesn't even | turn it up so I doubt it's avan part of some common gnu package like | enscript or a2ps (2 packages that read plain text and output | postscript), so... | | I'm stuck. What is this txt2post? It's definitely not part of sco | 5.0.7. It *could* be part of UP3 which I don't have installed anywhere | nor have access to. Try this and cut & paste the results back here, | that should tell me if it's part of any custom-installable package, be | it an update pack or some skunkware package. | | ls -l `where txt2post` Typo in prior messages. It's a shell script, been part of OSR 5 for years, as /bin/text2post. -- JP |
| |||
| Jean-Pierre Radley <jpr@jpr.com> wrote in message news:<20050405162137.GA27688@jpradley.jpr.com>... > brian@aljex.com typed (on Sun, Apr 03, 2005 at 10:19:33PM -0700): > | So you are running gs, which expects postscript data > | and you are feed it postscript data, as far as you know. > | > | That's good except... > | > | Unfortunately the error posted previously doesn't mean anything to me. > | > | I would have tried using txt2post myself and seeing if gs-6.51 likes > | it's output for me or if I get the error you got, except... > | > | I have access to many 5.0.7 boxes, and all of them updated with at > | least MP3 (which includes gwxlibs) and gnutools, and they don't have > | any such program as "txt2post" > | > | In fact, I've never heard of such a program and google doesn't even > | turn it up so I doubt it's avan part of some common gnu package like > | enscript or a2ps (2 packages that read plain text and output > | postscript), so... > | > | I'm stuck. What is this txt2post? It's definitely not part of sco > | 5.0.7. It *could* be part of UP3 which I don't have installed anywhere > | nor have access to. Try this and cut & paste the results back here, > | that should tell me if it's part of any custom-installable package, be > | it an update pack or some skunkware package. > | > | ls -l `where txt2post` > > Typo in prior messages. It's a shell script, been part of OSR 5 for years, > as /bin/text2post. text2post creates a file ended with "restore" , this is causing gs to drop the error is my message. changing text2post to write "quit" intead of "restore" fix the problem , now everything is Ok thansk a lot |
| |||
| "Michel Donais" <donais@gsig-net.qc.ca> wrote in message news:rom3e.55$5u4.499@nnrp1.uunet.ca... > > > > I am interested in any PDF creation software for Unix. > > > > I have OS5.0.7. > I do it for Hylafax with Sco 5.0.4 > > The output is from a PCL printer or read a file > cat outfile$ | /tmp/fax3 $PHONE $SERVER $SENDER 2>/dev/null > > My script: fax3 > ---------------------------cut here --------------------- > #!/bin/sh > PHONE=$1 > SERVER=$2 > SENDER=$3 > cat $4 > /tmp/temp.$$ > # /usr/local/bin/pcl2ps /tmp/temp2.$$ /tmp/temp3.$$ > /usr/local/bin/pcl2pdf /tmp/temp2.$$ /tmp/temp3.$$ > > # sent to fax > /usr/local/bin/sendfax -m -n -d $PHONE -h $SERVER -D $SENDER /tmp/temp3.$$ > 1>/dev/null > > rm -f /tmp/temp.$$ > rm -f /tmp/temp2.$$ > rm -f /tmp/temp3.$$ > exit 0 > ------------------------------------end cut --------------------------- > > I do it using ghostscript found at > ftp://ftp2.sco.com/pub/skunkware/osr...-6.51-VOLS.tar > > and ghostpcl already build under SCO 5.0.7 by Brian K. White > http://www.aljex.com/bkw/sco/ghostpcl.tar.bz2 > > Michel > > I am getting the following error using the ghostpcl program. Anyone have a clue? # pcl2pdf 1a.pcl 1a.pdf dynamic linker : pcl6 : error opening /usr/lib/libm.so.1 Killed # l /usr/lib/libm.so.1 l: /usr/lib/libm.so.1 not found: No such file or directory (error 2) |
| |||
| willjay typed (on Thu, Apr 07, 2005 at 10:50:49AM -0400): | | "Michel Donais" <donais@gsig-net.qc.ca> wrote in message | news:rom3e.55$5u4.499@nnrp1.uunet.ca... | > > > > I am interested in any PDF creation software for Unix. | > > > > I have OS5.0.7. | > I do it for Hylafax with Sco 5.0.4 | > | > The output is from a PCL printer or read a file | > cat outfile$ | /tmp/fax3 $PHONE $SERVER $SENDER 2>/dev/null | > | > My script: fax3 | > ---------------------------cut here --------------------- | > #!/bin/sh | > PHONE=$1 | > SERVER=$2 | > SENDER=$3 | > cat $4 > /tmp/temp.$$ | > # /usr/local/bin/pcl2ps /tmp/temp2.$$ /tmp/temp3.$$ | > /usr/local/bin/pcl2pdf /tmp/temp2.$$ /tmp/temp3.$$ | > | > # sent to fax | > /usr/local/bin/sendfax -m -n -d $PHONE -h $SERVER -D $SENDER /tmp/temp3.$$ | > 1>/dev/null | > | > rm -f /tmp/temp.$$ | > rm -f /tmp/temp2.$$ | > rm -f /tmp/temp3.$$ | > exit 0 | > ------------------------------------end cut --------------------------- | > | > I do it using ghostscript found at | > ftp://ftp2.sco.com/pub/skunkware/osr...-6.51-VOLS.tar | > | > and ghostpcl already build under SCO 5.0.7 by Brian K. White | > http://www.aljex.com/bkw/sco/ghostpcl.tar.bz2 | > | > Michel | > | > | | I am getting the following error using the ghostpcl program. | | Anyone have a clue? | | | # pcl2pdf 1a.pcl 1a.pdf | dynamic linker : pcl6 : error opening /usr/lib/libm.so.1 | Killed | # l /usr/lib/libm.so.1 | l: /usr/lib/libm.so.1 not found: No such file or directory (error 2) | Did you install oss646c? -- JP |
| ||||
| "willjay" <willjay@excite.com> wrote in message news:<qMb5e.31515$vL3.2465@bignews4.bellsouth.net> ... > "Michel Donais" <donais@gsig-net.qc.ca> wrote in message > news:rom3e.55$5u4.499@nnrp1.uunet.ca... > > > > > I am interested in any PDF creation software for Unix. > > > > > I have OS5.0.7. > > I do it for Hylafax with Sco 5.0.4 > > > > The output is from a PCL printer or read a file > > cat outfile$ | /tmp/fax3 $PHONE $SERVER $SENDER 2>/dev/null > > > > My script: fax3 > > ---------------------------cut here --------------------- > > #!/bin/sh > > PHONE=$1 > > SERVER=$2 > > SENDER=$3 > > cat $4 > /tmp/temp.$$ > > # /usr/local/bin/pcl2ps /tmp/temp2.$$ /tmp/temp3.$$ > > /usr/local/bin/pcl2pdf /tmp/temp2.$$ /tmp/temp3.$$ > > > > # sent to fax > > /usr/local/bin/sendfax -m -n -d $PHONE -h $SERVER -D $SENDER /tmp/temp3.$$ > > 1>/dev/null > > > > rm -f /tmp/temp.$$ > > rm -f /tmp/temp2.$$ > > rm -f /tmp/temp3.$$ > > exit 0 > > ------------------------------------end cut --------------------------- > > > > I do it using ghostscript found at > > ftp://ftp2.sco.com/pub/skunkware/osr...-6.51-VOLS.tar > > > > and ghostpcl already build under SCO 5.0.7 by Brian K. White > > http://www.aljex.com/bkw/sco/ghostpcl.tar.bz2 > > > > Michel > > > > > > I am getting the following error using the ghostpcl program. > > Anyone have a clue? > > > # pcl2pdf 1a.pcl 1a.pdf > dynamic linker : pcl6 : error opening /usr/lib/libm.so.1 > Killed > # l /usr/lib/libm.so.1 > l: /usr/lib/libm.so.1 not found: No such file or directory (error 2) some sources of ghostscript creates this and other files in /usr/local/lib try to found if it is here , and copy to /usr/lib if not execute : "find / -name libm.so.1" and you 'll know where this file is , the copy a set permissions hope it helps |