Printing pdf problem using pasta.cfg


 
Thread Tools Search this Thread
Operating Systems Solaris Printing pdf problem using pasta.cfg
# 1  
Old 11-28-2012
Printing pdf problem using pasta.cfg

hi folks

I have issue in printing pdf while using ERP application, it's using pasta utility to print pdf. If i print from command line its successful while when ERP user give print command the printer doesnot print anything rather it gives error which is as follows

Code:
ESP Ghostscript 815.01: Unrecoverable error, exit code 1
Pasta: Error: Preprocess failed. Command=/usr/sfw/bin/pdf2ps /prdclone/CLN/inst/apps/prdcln_zainirqerpp/logs/appl/conc/out/o2371566.out/prdclone/CLN/inst/apps/prdcln_zainirqerpp/appltmp/pasta14671_0.tmp
Pasta: Error: Preprocess or Print command failed!!!
APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1

Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 1.

Kindly help. If i run command from command line its successful but for printing from EPR it gives error

Regards

Last edited by Scott; 11-28-2012 at 07:57 AM.. Reason: Code tags, please...
# 2  
Old 11-28-2012
Missing space runs two path arguments to pdf2ps into one invalid path?
# 3  
Old 11-28-2012
Could you please explain and tell the solution as i am very disappointedSmilie
# 4  
Old 11-28-2012
Code:
This:
/usr/sfw/bin/pdf2ps /prdclone/CLN/inst/apps/prdcln_zainirqerpp/logs/appl/conc/out/o2371566.out/prdclone/CLN/inst/apps/prdcln_zainirqerpp/appltmp/pasta14671_0.tmp

s/b:
/usr/sfw/bin/pdf2ps /prdclone/CLN/inst/apps/prdcln_zainirqerpp/logs/appl/conc/out/o2371566.out /prdclone/CLN/inst/apps/prdcln_zainirqerpp/appltmp/pasta14671_0.tmp

Man Page for pdf2ps (all Section 0) - The UNIX and Linux Forums
# 5  
Old 11-28-2012
Thanks. Could you please tell where will i do changes so that it could be corrected

Regards

---------- Post updated at 06:49 PM ---------- Previous update was at 06:26 PM ----------

This is error which I am receiving


Code:
Printing output file.
               Request ID : 2371640 	
         Number of copies : 1 	
                  Printer : hplasterjet5500pcl6 

ESP Ghostscript 815.01: Unrecoverable error, exit code 1
Pasta: Error: Preprocess failed. Command=/usr/sfw/bin/pdf2ps -toPostscript -pairs /prdclone/CLN/inst/apps/prdcln_zainirqerpp/logs/appl/conc/out/o2371640.out.pdf /prdclone/CLN/inst/apps/prdcln_zainirqerpp/appltmp/pasta1096_0.tmp
Pasta: Error: Preprocess or Print command failed!!!
APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1

Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 1.


Last edited by Scott; 11-28-2012 at 12:31 PM.. Reason: Code tags
# 6  
Old 11-28-2012
In the pasta config file, put a space between the meta tags in braces '{infile}' and '{outfile}':

preprocess=pdftops {infile} {outfile}
# 7  
Old 11-29-2012
There is already spaces between infile and outfile, should I put and between them? Kindly help

Regards

---------- Post updated at 10:16 AM ---------- Previous update was at 09:34 AM ----------

another thing which is worth mentioning is that as ERP guys send request for print, the printer does not print anything rather it gives warning and error is same which is mentioned above.

Regards
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem in refreshing a text editor (gedit) for scanned pdf

Dear Friends, I am using Ubuntu 15.10, 34 bit system. I added a Nautilus-Actions script in shell script to convert PDF files to text. There are 2 types of PDF 1. Scanned PDF -- Not OCR type -- When I convert it to text it work , but as the part it must (text file) open in gedit . But I can see... (2 Replies)
Discussion started by: anespa
2 Replies

2. Shell Programming and Scripting

[Solved] Pdf Printing in Solaris

HI All I need help related to Pdf printing in Solaris.as I print pdf file in solaris it print garbage.how can I print pdf correctly. need help asap. Regards (21 Replies)
Discussion started by: smazshah
21 Replies

3. UNIX for Advanced & Expert Users

problem creating pxelinux.cfg default file

Hi All, I was trying to create pxelinux.cfg/default file in a script that I use for creating backup of bootimage. cat 2>${BACKUB_BOOTIMAGE_ERRINFO} >${pxelinux_cfg_file} <<EOF prompt 1 timeout 0 display boot.msg label restore kernel kernel append root=/dev/nfs... (0 Replies)
Discussion started by: Pkumar Sachin
0 Replies

4. Windows & DOS: Issues & Discussions

Linux to Windows Printing: PDF starts printing from middle of page.

We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies

5. UNIX for Dummies Questions & Answers

wget pdf downloading problem

Hi. I am trying to make a mirror of this free online journal: http://www.informaworld.com/smpp/title~content=t716100758~db=all Under the individual issues, the link location for the "Full Text PDF" does not have ".pdf" as an extension -- so when I use wget it misses the file. However clicking... (5 Replies)
Discussion started by: obo1234
5 Replies

6. Shell Programming and Scripting

Printing to PDF - Advanced usage

Hello, Just a rather long query regarding printing to PDF. I have installed the Cups-PDF printing system which enables me to send a normal text file and create a PDF of it. I then use the pdftk to merge that file with a template. My question is, that I have a database system that will need... (2 Replies)
Discussion started by: stuaz
2 Replies

7. UNIX for Dummies Questions & Answers

PDF Printing....

:confused: We have a Sco Open Unix 5.0.5 Server that I am trying to configure to allow for PDF creation. Currently the server is just using lpr to print to laser printers located throughout the facility. The goal is to be able to also print to pdf documents. There is no option for... (2 Replies)
Discussion started by: pabloescobar
2 Replies

8. UNIX for Dummies Questions & Answers

What's the problem with the pdf file??

Sometimes,I open a pdf file with ghostview and it works well. But when I open the file below, the error message comes out: /****message begin****/ bash-2.03$ bash-2.03$ ghostview TexBook_chinese_ver.pdf information提示框 Error: /typecheckAFPL Ghostscript 8.14: Unrecoverable error, exit code 1... (1 Reply)
Discussion started by: new_hand
1 Replies

9. UNIX for Dummies Questions & Answers

printing in postscript or convert from pdf?

hi - go easy on me, i'm new to UNIX... i need to resample huge pdf files and make them smaller. distiller won't resize existing pdf files. i thought i could print the pdf to a postscript file and then resample that. would that work? if so, how? is this the best way forward or should... (1 Reply)
Discussion started by: jono2000
1 Replies

10. UNIX for Dummies Questions & Answers

printing PDF files

Hi all: I'm trying to resolve a print issue in HPUX. Background: An ascii report file was being produced by a program. It was being sent to the printer via internal commands, to wit: let #send_status = 0 let $send_cmd = 'lp -d lp03 /ps/tmp/edsprint/eds*.N.LIS' call... (4 Replies)
Discussion started by: abNORMal
4 Replies
Login or Register to Ask a Question