Printing Using Unix

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.

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.
 

TomBascom

Curmudgeon
I know we're a bunch of nice guys who just cannot help but answer questions but... There is nothing especially Progress-related about setting up print queues. The gory details do tend to vary from UNIX to UNIX.

So my first suggestion would be to look for support on UNIX printing from your UNIX vendor.
 
Thanks for your response Tom!!

As suggested, I have been trying to coordinate with some Unix experts, those could help me in setting print queues.

Regards,
Rajat.
 
Top