Rajat Sharma
Member
Hi All, Hope you are doing well!!
I want to do printing stuff with UNIX environment from Progress 4GL. I have gone through and tried some code (mentioned below) regarding this but getting some queue error.
Error Message that I have got:
(FATAL ERROR): There are no queues defined in the /etc/qconfig file.
I have removed –dlwmis as well but getting the same error message.
I have also tried lpstat lpr commands for finding all the printers list over the network but getting blank record and same fatal error messages (mentioned above) respectively. I have also checked etc/qconfig file and think that initially we need to configure/define printer in this file.
Please Suggest.
Rajat.
I want to do printing stuff with UNIX environment from Progress 4GL. I have gone through and tried some code (mentioned below) regarding this but getting some queue error.
Code:
OUTPUT TO VALUE("Test file path").
PUT "Print Example".
UNIX silent lp -dlwmis value("Test file Path"). /* spool report */
OUTPUT close.
Error Message that I have got:
(FATAL ERROR): There are no queues defined in the /etc/qconfig file.
I have removed –dlwmis as well but getting the same error message.
I have also tried lpstat lpr commands for finding all the printers list over the network but getting blank record and same fatal error messages (mentioned above) respectively. I have also checked etc/qconfig file and think that initially we need to configure/define printer in this file.
Please Suggest.
Rajat.