> From [EMAIL PROTECTED] Fri Jan 18 01:15:43 2002
> Date: Fri, 18 Jan 2002 09:28:31 +0100 (NFT)
> From: Thies Meincke <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: PDF problem
>
> Hi,
>
> I got a problem printing PDF files on a Linux system using LPRNG
> 3.8.2 and IFHP 3.5.2. The PDF file is not printed, just a error
> message on a single sheet of paper:
>
>
> Conversion failed for type 'pdf_document,_version_1.2'
> Using '/usr/bin/pdf2ps'
> Error: 'Converter exited with status 'exit status 1''
>
>
> This is most likely created by ifhp; this is also confirmed
> by the status file in the spool directory:
>
> using model 'DEFAULT' at 08:20:51.940
> pagecount using 'pjl info pagecount' at 08:20:51.942
> setting up printer at 08:20:51.942
> pagecounter 51821 after 1 attempts at 08:20:52.040
> pagecounter 51821 at 08:20:52.040
> sending job file at 08:20:52.040
> starting transfer at 08:20:52.041
> file program = '/usr/bin/file -' at 08:20:52.041
> started FILE_UTIL- 'file' at 08:20:52.041
> file information = 'pdf_document,_version_1.2' at 08:20:52.052
> initial job type 'pdf_document,_version_1.2' at 08:20:52.052
> decoded job type 'POSTSCRIPT' at 08:20:52.052
> job type 'POSTSCRIPT', converter '/usr/bin/pdf2ps - -' at 08:20:52.052
> started CONVERTER- 'pdf2ps' at 08:20:52.053
> 'CONVERTER' error msg 'AFPL Ghostscript 7.03: Unrecoverable error, exit code 1' at 
>08:20:52.156
> converter done, output 271 bytes at 08:20:52.158
> initial job type 'POSTSCRIPT' at 08:20:52.158
> decoded job type 'POSTSCRIPT' at 08:20:52.158
> job type 'POSTSCRIPT' at 08:20:52.158
> transferring 271 bytes at 08:20:52.159
> 100 percent done at 08:20:52.159
> data sent at 08:20:52.159
> sent job file at 08:20:52.159
> getting end using 'pjl job/eoj' at 08:20:52.159
> code = 10024, 'waiting' at 08:20:53.099
> end of job detected at 08:20:53.169
> pagecounter 51821 after 1 attempts at 08:20:53.183
> pagecounter 51821, pages 0 at 08:20:53.183
> done at 08:20:53.183
>
> pdf2ps invoked manually works fine (for all PDF files I tried), so
> it should be ok. As I am using the new AFPL Ghostscript version 7.3
> the problem may be in the call of pdf2ps in ifhp (may be a change
> in the pdf2ps options or gs options in pdf2ps?).
>
> Any suggestions?
>
> Thies Meincke
> +----------------------------+-------------------------------------------+
> | Thies Meincke              | Tel.  : +49/(0)40/42838-6355              |
> | Universitaet Hamburg       | Fax   : +49/(0)40/42838-6270              |
> | Regionales Rechenzentrum   | E-mail: [EMAIL PROTECTED]        |
> | Schlueterstr. 70           | URL   : http://www.rrz.uni-hamburg.de/    |
> | 20146 Hamburg              |         RRZ/Personal/TMeincke.html        |
> | Germany                    |                                           |
> +----------------------------+-------------------------------------------+

1. Set up a shell environment and then rip out ALL of the environment options.
   Set path to:  /bin:/usr/bin:/usr/local/bin

2. get a PDF file and invoke it with EXACTLY the same options as you see in
   the command.

3. Curse and swear when you find out that it does not work.

4. Read the man page, find the right combination of stuff.

5. save the current /etc/ifhp.conf file as /etc/ifhp.conf.orig

6. Edit the /etc/ifhp.conf file, set the pdf_converter option to the right value.

7. Print a job and see if it works

Patrick

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to