Re: [U2] Printer problems on UV PE under Windows XP
We'll try again. Too much of a hurry to get to the first "cuppa" for the day At 08:01 09/10/05 +1000, I wrote: Goo'day, At 10:10 08/10/05 -0400, you wrote: Folks, I've been struggling to set up a printer. After much tweaking and twiddling, I finally can actually see the printer in U2ADMIN, but still can't seem to get anything to print to it. There'd have to be thousands of "printer won't"'s in the archive probably too many. From the top: The first thing is Does the printer "name" have a space in it?UV doesn't like that.. As it is UV we're dealing with here, UVDEFAULT is probably the "best" name for a printer, providing, of course, (a) you don't already have a UVDEFAULT printer and (b) you don't mind this printer being UV's "default" printer. Secondly... You have a SETPTR somewhere where you're actually *starting* the printer, don't you? The SETPTR is a UniVerse verb If it's one of the "el cheapo" "jet" printers - or, actually, any "jet" printer - don't expect it to do any fancy printing: Under UV all you can get out of those sort of printers is a subset of PCL3... no lines, ergo, no boxes, very limited fonts, if any...About all you can get is some, very few, of the "normal" PCL stuff: IIRC you can go landscape/portrait and with the SETPTR GUI option you can set the font "FONTNAME Courier New" and size "FONTSIZE 8" to permit using an A4 sheet landscape, with small print, to emulate a 15x11" sheet... SETPTR 0,,AT UVDEFAULT,GUI, FONTNAME Courier New,FONTSIZE 8 should get you somewhere. Provided you've named your printer UVDEFAULT. If you get sick of being prompted about setting the printer to:. you can add a ,BRIEF to the above command What sort of printer? UV or UD? Sorry about that Too early in the morning -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.13/124 - Release Date: 07/10/05 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.13/124 - Release Date: 07/10/05 Regards, Bruce Nichol Talon Computer Services ALBURYNSW 2640 Australia http://www.taloncs.com.au Tel: +61 (0)411149636 Fax: +61 (0)260232119 If it ain't broke, fix it till it is! -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.13/124 - Release Date: 07/10/05 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Printer problems on UV PE under Windows XP
Goo'day, At 10:10 08/10/05 -0400, you wrote: Folks, I've been struggling to set up a printer. After much tweaking and twiddling, I finally can actually see the printer in U2ADMIN, but still can't seem to get anything to print to it. There'd have to be thousands of "printer won't"'s in the archive probably too many. From the top: The first thing is Does the printer "name" have a space in it?UV doesn't like that.. Secondly... You have a SETPTR somewhere where you're actually *starting* the printer, don't you? What sort of printer? UV or UD? Does anyone have a manual/ link to information to get this done? Is there some magic piece I'm missing? I posted this before and got no response - I assume this is because: A) It's a really complex thing and no-one knows the answer B) It's a really simple thing and no-one can believe I posted something so stupid C) It didn't get posted last time. Please could someone respond to this, just so I know it's at least making it to the list. Thanks Eric Eric Limbeek Norcron, Inc. 3700 Mansell Rd., Suite 220 Alpharetta, GA 30068 404 459-6500 / (fax) 404 459-6506 www.norcron.com Supply Chain and e-commerce Solutions --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.13/124 - Release Date: 07/10/05 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.13/124 - Release Date: 07/10/05 Regards, Bruce Nichol Talon Computer Services ALBURYNSW 2640 Australia http://www.taloncs.com.au Tel: +61 (0)411149636 Fax: +61 (0)260232119 If it ain't broke, fix it till it is! -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.13/124 - Release Date: 07/10/05 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Printer problems on UV PE under Windows XP
Eric, You're getting to the list Ok but it's often quiet at weekends. Regret (well quite pleased really) that most of my work is done on Unix servers and I can't answer the question. Have you tried the UV documentation at http://www-306.ibm.com/software/data/u2/pubs/library Good luck, Piers -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric Limbeek Sent: 08 October 2005 15:10 To: u2-users@listserver.u2ug.org Subject: [U2] Printer problems on UV PE under Windows XP Folks, I've been struggling to set up a printer. After much tweaking and twiddling, I finally can actually see the printer in U2ADMIN, but still can't seem to get anything to print to it. Does anyone have a manual/ link to information to get this done? Is there some magic piece I'm missing? I posted this before and got no response - I assume this is because: A) It's a really complex thing and no-one knows the answer B) It's a really simple thing and no-one can believe I posted something so stupid C) It didn't get posted last time. Please could someone respond to this, just so I know it's at least making it to the list. Thanks Eric Eric Limbeek Norcron, Inc. 3700 Mansell Rd., Suite 220 Alpharetta, GA 30068 404 459-6500 / (fax) 404 459-6506 www.norcron.com Supply Chain and e-commerce Solutions --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] OPEN vs TRANS
In situations where there are multiple reads I usually just pass the whole @RECORD. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark Johnson Sent: Friday, October 07, 2005 21:52 To: u2-users@listserver.u2ug.org Subject: Re: [U2] OPEN vs TRANS I've actually run into a program with 10 READV's, some processing then 10 WRITEV's for the obvious same record in the same file. Is the OCONV(translate) function any more or less effecient in BASIC than in English (sic). I use them for simple validation or to retrieve one field with no side effects. If I need another field, I use OPEN and READ. Thanks Mark Johnson - Original Message - From: "Timothy Snyder" <[EMAIL PROTECTED]> To: Sent: Friday, October 07, 2005 5:21 PM Subject: RE: [U2] OPEN vs TRANS > "Allen E. Elwood" <[EMAIL PROTECTED]> wrote on 10/07/2005 12:53:47 PM: > > > The way I look at it, when I started programming 30 years ago systems > were > > millions of times slower, and in another 30 years they'll be so stinking > > fast that coding for speed will go the way of the Suchomimus and the > > Iguanodon! > > As long as programmers think that way, their employers will continue to > pay people like me big bucks to come in and make the code more efficient. > ;-) Sometimes more powerful systems can make bottlenecks more prominent. > Today's systems are expected to process more data in a shorter time, and > to provide more functionality than in days of yore, so even minor > inefficiencies are encountered over and over again. IMHO, there will > always be room for efficient coding techniques. Some folks claim you have > to sacrifice maintainability and readability for the sake of efficiency - > I've rarely found that to be true. As long as you care about and consider > both performance and maintainability as you develop code, it all just > falls together. > > Now, as to people who want to code one line instead of two (e.g.: the > topic of this thread), I say take a touch typing course so you don't mind > a few extra keystrokes. (I've always been amazed watching seasoned > professionals using only one finger on each hand to write programs.) I > would much rather inherit a program that does its own opens and reads > instead of doing translates. Sooner or later somebody will want to get a > second field from the record and you'll be faced with doing two translates > or changing it to the way it should have been done in the first place. > Plus, the OCONV with a translate isn't nearly as obvious to the casual > observer of the code. Of course, you could put in some comments to make > it clear, but those keystrokes could have been spent opening the file at > the top of the program. > > > Tim Snyder > Consulting I/T Specialist , U2 Professional Services > North American Lab Services > DB2 Information Management, IBM Software Group > 717-545-6403 > [EMAIL PROTECTED] > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Printer problems on UV PE under Windows XP
DISCLAIMER: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please delete it and notify the sender immediately. Please note that there is no guarantee that this email or any attachment is virus free or has not been intercepted or amended. Hi Eric One thing I think this could be is the printer's inability to take ASCII characters and print them for itself rather than have the driver do the work. My understanding is that Universe will send, for example, ASCII 65 for the letter 'A' and expect the printer to print know what dots make it up whereas regular Windows applications let the driver do the work. Do you know if your printer has the ability to think for itself? You could try changing the driver to 'Generic/Text Only' to see if that makes a difference. Hope this helps. Philip -Original Message- From: Eric Limbeek [mailto:[EMAIL PROTECTED] Sent: 08 October 2005 15:10 To: u2-users@listserver.u2ug.org Subject: [U2] Printer problems on UV PE under Windows XP Folks, I've been struggling to set up a printer. After much tweaking and twiddling, I finally can actually see the printer in U2ADMIN, but still can't seem to get anything to print to it. Does anyone have a manual/ link to information to get this done? Is there some magic piece I'm missing? I posted this before and got no response - I assume this is because: A) It's a really complex thing and no-one knows the answer B) It's a really simple thing and no-one can believe I posted something so stupid C) It didn't get posted last time. Please could someone respond to this, just so I know it's at least making it to the list. Thanks Eric Eric Limbeek Norcron, Inc. 3700 Mansell Rd., Suite 220 Alpharetta, GA 30068 404 459-6500 / (fax) 404 459-6506 www.norcron.com Supply Chain and e-commerce Solutions --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Printer problems on UV PE under Windows XP
Folks, I've been struggling to set up a printer. After much tweaking and twiddling, I finally can actually see the printer in U2ADMIN, but still can't seem to get anything to print to it. Does anyone have a manual/ link to information to get this done? Is there some magic piece I'm missing? I posted this before and got no response - I assume this is because: A) It's a really complex thing and no-one knows the answer B) It's a really simple thing and no-one can believe I posted something so stupid C) It didn't get posted last time. Please could someone respond to this, just so I know it's at least making it to the list. Thanks Eric Eric Limbeek Norcron, Inc. 3700 Mansell Rd., Suite 220 Alpharetta, GA 30068 404 459-6500 / (fax) 404 459-6506 www.norcron.com Supply Chain and e-commerce Solutions --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/