SCIENTIFIC-LINUX-USERS Archives

August 2010

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Larry Linder <[log in to unmask]>
Reply To:
Larry Linder <[log in to unmask]>
Date:
Wed, 11 Aug 2010 11:26:05 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
A script that has worked for 12 years no longer works.
It worked fine with SL5.4   Redhat 6 7.1 7.3 from 10 yeas ago, works with susi 
9.2.  etc.
This is almost as old as unix itself.
LPD & LPR
"lpr" does not recognize the -o cpi=10.   In fact it doesn't recognize -o 
cpi=12 or any other font size.
This script takes the complete parts (thousands of parts) list and inventory 
and allows users to input a partnumber, or range of pn's and print  labels 
from anywhere in parts list, awks the parts list and prints the labels at 
selected locations on a page of sticky labels.  Completely formated to label 
page.
Tests:
Removed the -o cpi=10 from script and it runs fine except the font size is the 
default of 12.
The output data was redirected to file "junk" 
If you "cat junk | lpr -o "other options" -P ep900c" it will print.
Add -o cpi=10 and it halts no error message - nothing.
Page is in CUPS as a sent file but no printing.
The hardware, printserver, printer is unchanged but with the upgrade to SL 5.5 
we can no longer print at a defined "cpi".
To test we tried several printers on the network and all have the same result.
They work fine with out the "-o cpi=10".
The job shows it was processed by cups but never is deleted from jobs list.

It like the font list was some how disconnected, lpr never times out after 
hours of letting it run.

It has got be something that was changed or upgraded and defaults set or ???

Larry Linder

ATOM RSS1 RSS2