PRINTER NAME variable?
Kenneth Brody
kenbrody at bestweb.net
Wed Feb 20 13:57:17 PST 2008
Quoting Jay R. Ashworth (Wed, 20 Feb 2008 16:50:39 -0500):
> On Wed, Feb 20, 2008 at 04:45:03PM -0500, Kenneth Brody wrote:
[...]
>> >PRINTER NAME lp
>> >
>> >but the following
>> >
>> >FORM "barcode" command isn't printing... anywhere, as car as I can
>> >tell. Thoughts?
>>
>> What are the contents of lp, and what is the corresponding definition
>> in pmaint?
>
> lp gets GETENV("LBLPRT") assigned to it, and a show statment says
> that's "njaud1".
>
> In config:
>
> printer19=njaud1,nocodes,lp -dnjaud1 -s, NJ Aud label 1
>
> My printers currently go from 1 through 22, inclusive.
>
> njaud1 is a valid Linux printer;
>
> lp -dnjaud1 /tmp/bctest
>
> prints a label.
What about:
cat /tmp/bctest | lp -dnjaud1 -s
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list