Displaying 2 results from an estimated 2 matches for "mayst".
Did you mean:
mast
1999 Jun 30
0
Filtering ^D and PCL headers in samba print jobs under Solaris
...f pcl capability to the relevant printers:
lpadmin -p hp8000 -I 'simple,postscript,pcl'
Choose which printers you do this to carefully,
Using the Apple Printer Utility you can turn on pcl
when talking LPD to modern Apple Laserwriters,
but if thou speakest appletalk, even to an HP
thou mayst speak only pure postscript!
2) Have samba declare that all its jobs are type pcl.
Add "-T pcl t the samba print command.
This changes it to:
lp -c -d %p -T pcl %s; rm %s
3) Add a filter to solaris so pcl jobs
can still print on postscript printers:
cat <<EOF > /etc/lp/fd/pcl2...
2007 Oct 15
2
clipping off words inside a vector of strings
Hi,
I have a vector of strings (class character) with 6 elements (length
6). I call it 'names'.
"Graham Chapman"
"John Cleese"
"Terry Gilliam"
"Eric Idle"
"Terry Jones"
"Michael Palin"
And I want to turn it into another vector of strings called
'shortnames' with the same length.
The new vector should look like: