Print with lpr from standard input

jeudi 15 mars 2018

Hi!

I want to print directly from command line with lpr from standard input.
I tried the following:

Code:

echo -e "N\nq592\nA40,40,0,3,1,1,N,\"Hellooooo\"\nP" | lpr
I principle this line is working. The printer is printing "Hellooooo".
But only once after reboot.
If I am repeating this line nothing is printed.

Any idea what the problem is???


Kind regards,
Melle


0 commentaires:

Enregistrer un commentaire

 

Lorem

Ipsum

Dolor