[U2] Problem Printing PCL ESC Sequences to a RHEL Printer from Universe

2008-05-19 Thread Dave Taylor
I have installed UV PE 10.2.7 on RHEL 5.1 Desktop and want to send PCL ESC sequences to a printer to configure the printer before I send print jobs to that printer. The HP LaserJet printer driver will not pass ESC sequences thru to the printer (as it won't on Windows). 1.I created a raw

RE: [U2] Problem Printing PCL ESC Sequences to a RHEL Printer from Universe

2008-05-19 Thread JPB-U2UG
The printer is not including a carriage return at the end on the line. Set up a Linux script like the following: #!/bin/bash # # Include a carriage return at the end of a line of text before printing. # Cat - | sed 's/$/^013/' | lp -d printername -o nobanner The ^013 is the carriage return

RE: [U2] Global Catalog - Recovery

2008-05-19 Thread Brutzman, Bill
Clif / Tom: Thanks. Following Tom's comment, I made a backup copy of catdir first. Let's call it a victory. --Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Clifton Oliver Sent: Thursday, May 15, 2008 5:55 PM To: u2-users@listserver.u2ug.org

[U2] multi-valued extraction

2008-05-19 Thread Brenda Price
I know I've done this before several times in fact but for some reason, today I just can't get my dict item to work correctly. Field 1 is multivalued with 10 digit ids, I want to extract only the first 4 digits of those ids, then read another field with each of those extracted ids. My dict

RE: [U2] multi-valued extraction

2008-05-19 Thread Brian Leach
Hi Brenda The substring extraction does not vector in an I Descriptor. One way around it is to use OCONVS() OCONVS(@RECORD1,T1,4) Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brenda Price Sent: 19 May 2008 21:24 To:

RE: [U2] multi-valued extraction

2008-05-19 Thread Brutzman, Bill
Q1: Is this an I-Descriptor? Q2: What syntax was attempted so far? --Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brenda Price Sent: Monday, May 19, 2008 4:24 PM To: u2-users@listserver.u2ug.org Subject: [U2] multi-valued extraction I know I've

RE: [U2] multi-valued extraction

2008-05-19 Thread Katie Morgan
I think you want SUBSTRINGS? Katie Katie Morgan Datatel Programmer/Analyst Linfield College Integrated Technology Services 900 SE Baker St McMinnville, OR 97128-6894 [EMAIL PROTECTED] 503.883.2714 -Original Message- From: [EMAIL PROTECTED] [mailto:owner-u2- [EMAIL PROTECTED] On

RE: [U2] multi-valued extraction

2008-05-19 Thread Jeff Fitzgerald
The [1,4] syntax doesn't know how to handle multi-values correctly. Here's one way to do it: SUBSTRINGS(@RECORD1,1,4) This is one of the standard functions that deal with multi-valued fields HTH, Jeff Fitzgerald Fitzgerald Long, Inc. -Original Message- From: [EMAIL PROTECTED]

RE: [U2] multi-valued extraction

2008-05-19 Thread rbl000
In a Pick-style dictionary, a correlative like this should work: T1,4^253TOTHER.FILE;X;;99 or: A1(T1,4)(TOTHER.FILE;X;;99) or: F;1;(T1,4);(TOTHER.FILE;X;;99) or as an I-descriptor expression: TRANS(OTHER.FILE,SUBSTRINGS(F1,1,4),99,'X') Best Regards, Richard Lewis IBM Certified Solutions

RE: [U2] multi-valued extraction

2008-05-19 Thread Brenda Price
Works great and if I'd put the 1,4 in the right place it would have worked earlier. Don't you just hate those days when you're doing something wrong and you know it but just can't think what it is. Especially when you've been doing this for 15 years, its downright embarrassing. -Original

RE: [U2] multi-valued extraction

2008-05-19 Thread Bessel, Karen
Make sure that all of the dictionary items are set up as M-type (multi-valued). Karen Bessel Software Developer Tyler Technologies, Inc. 6500 International Parkway, Suite 2000 Plano, TX 75093 Phone: 972.713.3770 ext:6227 Fax: 972.713.3777 Email: [EMAIL PROTECTED] Web:

RE: [U2] multi-valued extraction

2008-05-19 Thread Brenda Price
Yes, it was an I descriptor and it was setup as multivalued. Both the SUBSTRING worked and the OCONVS(@RECORD1,T1.4). Everything I tried would have worked if I'd had the 1,4 in the right position or had used the SUBSTRING. Like I said, it was a Duh Day! -Original Message- From:

RE: [U2] multi-valued extraction

2008-05-19 Thread Oaks, Harold
Brenda: One way to pick off only the first four characters in each value is to use !FMTS, one of the dynamic-array handling subroutines. You create an I-type like so in the DICT of first file: 0001: I 0002: SUBR(!FMTS,ONE,4L) 0003: 0004: PICK4 0005: 10L 0006: M If we now type the command

RE: [U2] multi-valued extraction

2008-05-19 Thread Tony G
Please have a look at my blog entry: remove.pleaseNebula-RnD.com/blog/tech/mv/2007/01/dict-items01.htm l I explained there how Pick dict items work, where conversions and correlatives are processed in a very specific order. I'm not familiar enough with the nuances of the Prime influences on U2,