[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] UNIX lp - error**urgent**
Hi,
I have written a SQR program which creates a Label file, which is
then copied to another Print server.
This program has "Company" as a input parameter and is run for 3
different company values.
What program does is,
1) Create a label file AXAHR067.lis on the Unix server
2) Rename the file as PAYLabels_$CompanyName_PRCSinstance.PCL
3) Copy PAYLAbels_$CompanyName_PRCSinstance.PCL to another print
server.
Program runs absolutely fine for 2 companies, but for one company
I got following error:
lp: file
"/opt/pshr/hrdev/hrdev/hr750/appserv/prcs/PSHRDEV/output/PAYLabels_IPC_21733.PCL"
is empty
lp: request not accepted
status: 1.000000
When I see the file, it does exist and has data in it.
I debugged this as, stopped the execution of program just before
the lp command and checked the .PCL file, it does exist with data
in it.
And when run the lp command on UNIX prompt , it works.
I am just wondering why is this happening in the SQR program?
File size is 1kb, is something to do with this? Bcos file size for
other two companies in 7kb.
Can anyone please help me to fix this problem.
Attached the Program, output and the log file.
Thanks and regards,
Sachin.
___________________________________________________
Get www. mycompany .com and 5 matching email ids.
Just Rs. 1499/ year.
Click here http://www.rediffmailpro.com
Here was a non admissible message part of 'application/octet-stream'
MIME type. It has been automatically discarded before sending the
message to the list.
Here was a non admissible message part of 'application/octet-stream'
MIME type. It has been automatically discarded before sending the
message to the list.
Here was a non admissible message part of 'application/octet-stream'
MIME type. It has been automatically discarded before sending the
message to the list.