I have written a program that assembles data and sends it to an HP laserjet printer for printing. I can get it to work on a Windows platform using ASSIGN 'Printername'.
However, I am not sure how to do this when I run it on the Unix environment. If I use ASSIGN 'Printername' , I get the data in a file named Printername.
I have tried putting lp -d in the ASSIGN statement, I get the same results..file named as lp -dPrintername.
Is it possible to use ASSIGN to send directly to a printer in UNIX???
Thanks for any advice anyone may have.
However, I am not sure how to do this when I run it on the Unix environment. If I use ASSIGN 'Printername' , I get the data in a file named Printername.
I have tried putting lp -d in the ASSIGN statement, I get the same results..file named as lp -dPrintername.
Is it possible to use ASSIGN to send directly to a printer in UNIX???
Thanks for any advice anyone may have.