We used LPRng for many years on Linux to control print forms. Unfortunately, the latest versions of Linux have dropped support for it. We were forced to create our own forms control by outputting printing to files identified by form name, then using a daemon to monitor what forms were being...
Count the number of characters in the city name before
encountering multiple spaces at the end of the city name.
Example: If you put the city name from the file in a 25 character field and the city name is Santa Fe, you should wind up with a count of 8. Now unstring your data delimited
by...
You might have better luck this way:
1. Use a zip table like this:http://mappinghacks.com/data/
2. Build a table or index file from the zip code master.
3. Isolate the zip code from every string.
4. From the zip code file, get the city name and unstring
your data into two fields with the...
maybe clumsy, but here goes:
month=`date +%m -d "next month"`
year=`date+%Y -d "next month"`
for day in `cal $month $year`
do
lastday=$day
done
echo $month"/"$lastday"/"$year
So after you calibrate it, when you press the feed button multiple times it works correctly? Is your program overruning the print area or resetting the size?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.