RE: [U2] default sort order
I see that you can edit DICT.DICT with some response on this but you can do like I do here: :AE VOC DW.DICT Top of DW.DICT in VOC, 3 lines, 616 characters. 001: PA 002: * David Wademan custom DICT lookup for 132 character mode * 003: LIST DICT I2,FILENAME ID.SUP DBL.SPC @ID FMT 32L TYP LOC FMT 50L CONV FMT 6L MNAME FORMAT FMT 4L COL.HDG FMT SM F MT 3L COL.HDG SM ASSOC BY TYP BY LOC BY @ID C3,ARG3 C4,ARG4 C5,ARG5 C6,ARG6 C7,ARG7 C8,ARG8 C9,ARG9 C10,ARG10 C11,ARG11 C12,ARG12 C13,ARG13 C14,ARG14 C15,ARG15 C16,ARG16 C17,ARG17 C18,ARG18 C19,ARG19 C20,ARG20 C21,ARG21 C22,ARG22 C23,ARG23 C24,ARG24 C25,ARG25 C26,ARG26 C27,ARG27 C28,ARG28 C29,ARG29 C30,ARG30 Then you can type: DW.DICT MY.FILE.NAME -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Steve Romanow Sent: Tuesday, May 19, 2009 9:32 PM To: u2-users@listserver.u2ug.org Subject: [U2] default sort order Where is it in Unidata that you can enter a record named @ that will affect the default sort order of the Dictionary for a file? I thought it was MD, but that is not effective. What I thought worked is you could make a record like so: @ 1: PH 2: BY @ID I know I have used it before, but I cannot find it now. --- 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] default sort order
DAVID WADEMAN wrote: I see that you can edit DICT.DICT with some response on this but you can do like I do here: :AE VOC DW.DICT Top of DW.DICT in VOC, 3 lines, 616 characters. 001: PA 002: * David Wademan custom DICT lookup for 132 character mode * 003: LIST DICT I2,FILENAME ID.SUP DBL.SPC @ID FMT 32L TYP LOC FMT 50L CONV FMT 6L MNAME FORMAT FMT 4L COL.HDG FMT SM F MT 3L COL.HDG SM ASSOC BY TYP BY LOC BY @ID C3,ARG3 C4,ARG4 C5,ARG5 C6,ARG6 C7,ARG7 C8,ARG8 C9,ARG9 C10,ARG10 C11,ARG11 C12,ARG12 C13,ARG13 C14,ARG14 C15,ARG15 C16,ARG16 C17,ARG17 C18,ARG18 C19,ARG19 C20,ARG20 C21,ARG21 C22,ARG22 C23,ARG23 C24,ARG24 C25,ARG25 C26,ARG26 C27,ARG27 C28,ARG28 C29,ARG29 C30,ARG30 Then you can type: DW.DICT MY.FILE.NAME That is pretty cool. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Freenode #ibmu2 ?
As I recall in our discussions long long ago that this email list was the preferred medium because several of our list members are restricted by their companies and are not allowed to access the web to participate in online forums. I for one am quite content with the present mailing list format so that all members are able to participate. Ron White --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] default sort order
I'm on UV not UD but I checked and what I needed to do was: @ 001: PH 002: (space)BY @ID I needed the first BY, so don't get rid of it. But do put in a preceeding space. George -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2- us...@listserver.u2ug.org] On Behalf Of George Gallen Sent: Wednesday, May 20, 2009 9:23 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] default sort order get rid of the first BY, it is assumed. (just include the field names) @ 001: PH 002: LAST-NAME BY NAME BY @ID @ 001: PH 002: @ID -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2- us...@listserver.u2ug.org] On Behalf Of Steve Romanow Sent: Tuesday, May 19, 2009 10:43 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] default sort order Ron Hutchings wrote: ED DICT YOUR.FILE.NAME @ 1) PH 2) FIELD NAMES FILTERS SORT ORDER Don't just put BY @ID in it, that can be accomplished with SORT YOUR.FILE.NAME Hmm, That is one of the things I tried. just by @id is fine for me, howver, it is not doing it. I'll look again tomorrow. --- 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] Freenode #ibmu2 ?
Ron White wrote: As I recall in our discussions long long ago that this email list was the preferred medium because several of our list members are restricted by their companies and are not allowed to access the web to participate in online forums. I for one am quite content with the present mailing list format so that all members are able to participate. Ron White --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ I am not saying at all that the mailing list should change. I am proposing this as an additional medium for ppl who do use irc. IBM and my erp var Activant are starting to communicate with apps such as Facebook and Twitter. I know that I would lurk a #ibmu2 room. It is really nice to be able to bounced ideas in realtime, or just hang out when time permits. I get really good support for some of my other project from irc. I talk directly with interested parties and devs, learning more from other peoples questions. You also get to know the participants a little more since you can guage their sense of humor and personality in a conversation better than you can in an email. I would use and contribute to this daily. Steve --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Freenode #ibmu2 ?
Ron White wrote: As I recall in our discussions long long ago that this email list was the preferred medium because several of our list members are restricted by their companies and are not allowed to access the web to participate in online forums. I for one am quite content with the present mailing list format so that all members are able to participate. Ron White --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ Wait, maybe #u2ug? I have also tweeted the ibm crowd @IBMU2, but whether it is an official ibm channel, or a user group community, is not of my concern. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] PCL problem on U2
David Hoover wrote: I am trying to place a logo that is stored at /area1/dh.temp/M100_3Logo.pcl on a form that I am creating in PCL5. I have no problem with the shading, boxes, or data. I am having a problem getting the logo to be printed. One thought I has is maybe try it as ps or something liek that. Is pcl a hard requirement? I am working on a project that will use Unidata on RH, has your experience with U2 + RH been positive? --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] PCL problem on U2
I suspect your issue is in using the execute statement on line 10. Here's how we print logos on our customer facing documents: *** GET.IMAGE: ** OPENSEQ UNIX.FILE TO IMAGE.FILE ELSE RETURN LOOP.END = 0 ESC = CHAR(27) IMAGE = '' LOOP READBLK DATA FROM IMAGE.FILE,64 ELSE LOOP.END = 1 UNTIL LOOP.END DO IMAGE := DATA REPEAT IF IMAGE[1,1] = ESC THEN IMAGE = IMAGE[2,LEN(IMAGE)] DCNT = DCOUNT(IMAGE,ESC) FOR D = 1 TO DCNT ITEM = FIELD(IMAGE,ESC,D) BEGIN CASE CASE INDEX(ITEM,'p0x',1) XPOS = FIELD(FIELD(ITEM,x,1),p,2) YPOS = FIELD(FIELD(ITEM,x,2),Y,1) PRINT ON 1 ESC:'*p':XPOS+XOFF:'x':YPOS+YOFF:'Y': CASE ITEM = '*p0x' PRINT ON 1 ESC:'*p':XOFF:'x': CASE 1 PRINT ON 1 ESC:ITEM: END CASE NEXT D CLOSE IMAGE.FILE RETURN This is subroutine is contained within a particular report program we use - however, we have an external subroutine that we often call that does exactly the same thing. We simply call the subroutine to print the logo on the document. Note: you'll have to change the printer # - we use 1, I see you're using 11 UNIX.FILE = the full UNIX path to the .pcl logo file we have stored on our system. Good luck. Hope this helps. Barry Rutherford Programmer / Analyst MobilexUSA 920 Ridgebrook Rd, Sparks, MD 21152 Direct: 443-662-4162 Toll Free: 800-786-8015 ext. 4162 Fax: 443-662-4225 http://www.mobilexusa.com -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of David Hoover Sent: Wednesday, May 20, 2009 1:05 PM To: u2-users@listserver.u2ug.org Subject: [U2] PCL problem on U2 I am trying to place a logo that is stored at /area1/dh.temp/M100_3Logo.pcl on a form that I am creating in PCL5. I have no problem with the shading, boxes, or data. I am having a problem getting the logo to be printed. Base information: OS - RedHat Linux Running U2 Printer is IBM InfoPrint 1464 Color Logo file original name: 3Logo.jpg After running thru IPX20xx converter from IBM: M100_3Logo.pcl (Set this up as Macro 100) Here's the code that I am currently trying to work with: 0001: EXECUTE 'SETPTR 11,, NHEAD, FORM IBM, AT PR33' 0002: PRINTER ON 0003: * 0004: PRINT ON 11 CHAR(27):E 0005: PRINT ON 11 CHAR(27):f100Y 0006: PRINT ON 11 CHAR(27):f0X 0007: PRINT ON 11 CHAR(27):a540h780V 0008: PRINT ON 11 CHAR(27):*t300R 0009: PRINT ON 11 CHAR(27):*r100A 0010: EXECUTE SH -c 'lp -d PR33 /area1/dh.temp/M100_3Logo.pcl' 0011: PRINT ON 11 CHAR(27):*rC 0012: PRINT ON 11 CHAR(27):f100X 0013: PRINT ON 11 CHAR(27):f4X 0014: PRINT ON 11 THIS IS A TEST OF THE MACRO 0015: PRINT ON 11 CHAR(27):E 0016: PRINTER OFF 0017:END Thanks in advance for any and all help you can offer. David Hoover Illinois Lock (847) 537-1800 x293 --- 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] PCL problem on U2
Is the SETPTR set to send any data NOW, or will it be buffered until you close the program? If it's buffered, then you sending the logo, then the UV data instead of sandwiching the logo between the UV data. Try this: write the preceeding part of the UV data to /tmp/filea.pcl write the trailing part of the uv data to /tmp/filea.pcl then try: (cat /tmp/filea.pcl ; cat /area1/dh.temp/M100_3Logo.pcl ; cat /tmp/fileb.pcl) | lp -d PR33 If that works, then it's the sandwiching issue. George -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2- us...@listserver.u2ug.org] On Behalf Of David Hoover Sent: Wednesday, May 20, 2009 1:05 PM To: u2-users@listserver.u2ug.org Subject: [U2] PCL problem on U2 I am trying to place a logo that is stored at /area1/dh.temp/M100_3Logo.pcl on a form that I am creating in PCL5. I have no problem with the shading, boxes, or data. I am having a problem getting the logo to be printed. Base information: OS - RedHat Linux Running U2 Printer is IBM InfoPrint 1464 Color Logo file original name: 3Logo.jpg After running thru IPX20xx converter from IBM: M100_3Logo.pcl (Set this up as Macro 100) Here's the code that I am currently trying to work with: 0001: EXECUTE 'SETPTR 11,, NHEAD, FORM IBM, AT PR33' 0002: PRINTER ON 0003: * 0004: PRINT ON 11 CHAR(27):E 0005: PRINT ON 11 CHAR(27):f100Y 0006: PRINT ON 11 CHAR(27):f0X 0007: PRINT ON 11 CHAR(27):a540h780V 0008: PRINT ON 11 CHAR(27):*t300R 0009: PRINT ON 11 CHAR(27):*r100A 0010: EXECUTE SH -c 'lp -d PR33 /area1/dh.temp/M100_3Logo.pcl' 0011: PRINT ON 11 CHAR(27):*rC 0012: PRINT ON 11 CHAR(27):f100X 0013: PRINT ON 11 CHAR(27):f4X 0014: PRINT ON 11 THIS IS A TEST OF THE MACRO 0015: PRINT ON 11 CHAR(27):E 0016: PRINTER OFF 0017:END Thanks in advance for any and all help you can offer. David Hoover Illinois Lock (847) 537-1800 x293 --- 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] Freenode #ibmu2 ?
It's not an online forum. It's an IRC channel. I'd be willing to help if there's interest. There's an unofficial ##pick if interested, but only a couple of pickies hang out there. If you want to get a normal channel on Freenode then you'd need to apply and get representation from IBM in order to form an official channel. Otherwise you can just create ##ibmu2 or ##ibmu2ug and skip the whole official thing. The main benefit to registering with Freenode is that group members can apply for host cloaks that show up when you identify you user/password in IRC. They can say something like member/u2ug or committee/u2ug instead of your PC's IP address or hostname when you do a /whois on a person. Stop by http://freenode.net/group_registration.shtml for more information. You can also ask the staff specific question in #freenode. Make sure you read the page before you ask, because most channel operators and helpers don't like having to spoon feed answers that are already online. Glen Batchelor IT Director All-Spec Industries phone: (910) 332-0424 fax: (910) 763-5664 E-mail: webmas...@all-spec.com Web: http://www.all-spec.com Blog: http://blog.all-spec.com -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2- us...@listserver.u2ug.org] On Behalf Of Ron White Sent: Wednesday, May 20, 2009 9:58 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Freenode #ibmu2 ? As I recall in our discussions long long ago that this email list was the preferred medium because several of our list members are restricted by their companies and are not allowed to access the web to participate in online forums. I for one am quite content with the present mailing list format so that all members are able to participate. Ron White --- 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] PCL problem on U2
In message e8209a9427264095bc3fe78d6908d...@it3, David Hoover dhoo...@illinoislock.com writes I am trying to place a logo that is stored at /area1/dh.temp/M100_3Logo.pcl on a form that I am creating in PCL5. I have no problem with the shading, boxes, or data. I am having a problem getting the logo to be printed. Base information: OS - RedHat Linux Running U2 Printer is IBM InfoPrint 1464 Color Logo file original name: 3Logo.jpg After running thru IPX20xx converter from IBM: M100_3Logo.pcl (Set this up as Macro 100) Here's the code that I am currently trying to work with: 0001: EXECUTE 'SETPTR 11,, NHEAD, FORM IBM, AT PR33' 0002: PRINTER ON 0003: * 0004: PRINT ON 11 CHAR(27):E 0005: PRINT ON 11 CHAR(27):f100Y 0006: PRINT ON 11 CHAR(27):f0X 0007: PRINT ON 11 CHAR(27):a540h780V 0008: PRINT ON 11 CHAR(27):*t300R 0009: PRINT ON 11 CHAR(27):*r100A Okay, this is setting up your print job ... 0010: EXECUTE SH -c 'lp -d PR33 /area1/dh.temp/M100_3Logo.pcl' This is sending the logo as a DIFFERENT print job. That's your problem. I'm not sure how you'll fix this, but you need to read the logo file into U2, and then dump it to your print job without the binary getting corrupted. The other way to do it (I'm pretty sure it's possible but I've never done it) is to download the logo to the printer as a logo or font or whatever, then have a code in your print job to print the prestored logo. Cheers, Wol -- Anthony W. Youngman pi...@thewolery.demon.co.uk 'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998 Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source Pick --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] PCL problem on U2
David; It looks like you're missing the point of the macro - simply load it into the printer once and print multiple times. Your converter may allow you to load it to the printer, otherwise you actually copy it to the printer (not print it). Under Windows we simply: EXECUTE !COPY /B \UD\LOGOS\LOGO.MAC \\UNCPathToPrinter Sorry, not sure of the Linux syntax. It only needs to be done when the printer is powered off an loses the macro so you can do it from a screen etc. Although we have one very distributed site that preferred we send the macro before the print job to make sure it was there. In your code you simply do a: PRINT CHAR(27):'f':LOGONUM:'y2X' to print the logo. This simply specifies and executes the macro. hth Colin Alfke Calgary, Canada From: David Hoover I am trying to place a logo that is stored at /area1/dh.temp/M100_3Logo.pcl on a form that I am creating in PCL5. I have no problem with the shading, boxes, or data. I am having a problem getting the logo to be printed. Base information: OS - RedHat Linux Running U2 Printer is IBM InfoPrint 1464 Color Logo file original name: 3Logo.jpg After running thru IPX20xx converter from IBM: M100_3Logo.pcl (Set this up as Macro 100) Here's the code that I am currently trying to work with: 0001: EXECUTE 'SETPTR 11,, NHEAD, FORM IBM, AT PR33' 0002: PRINTER ON 0003: * 0004: PRINT ON 11 CHAR(27):E 0005: PRINT ON 11 CHAR(27):f100Y 0006: PRINT ON 11 CHAR(27):f0X 0007: PRINT ON 11 CHAR(27):a540h780V 0008: PRINT ON 11 CHAR(27):*t300R 0009: PRINT ON 11 CHAR(27):*r100A 0010: EXECUTE SH -c 'lp -d PR33 /area1/dh.temp/M100_3Logo.pcl' 0011: PRINT ON 11 CHAR(27):*rC 0012: PRINT ON 11 CHAR(27):f100X 0013: PRINT ON 11 CHAR(27):f4X 0014: PRINT ON 11 THIS IS A TEST OF THE MACRO 0015: PRINT ON 11 CHAR(27):E 0016: PRINTER OFF 0017: END Thanks in advance for any and all help you can offer. David Hoover _ Create a cool, new character for your Windows Live Messenger. http://go.microsoft.com/?linkid=9656621 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] PCL problem on U2
I am trying to place a logo that is stored at /area1/dh.temp/M100_3Logo.pcl on a form that I am creating in PCL5. I have no problem with the shading, boxes, or data. I am having a problem getting the logo to be printed. Base information: OS - RedHat Linux Running U2 Printer is IBM InfoPrint 1464 Color Logo file original name: 3Logo.jpg After running thru IPX20xx converter from IBM: M100_3Logo.pcl (Set this up as Macro 100) Here's the code that I am currently trying to work with: 0001: EXECUTE 'SETPTR 11,, NHEAD, FORM IBM, AT PR33' 0002: PRINTER ON 0003: * 0004: PRINT ON 11 CHAR(27):E 0005: PRINT ON 11 CHAR(27):f100Y 0006: PRINT ON 11 CHAR(27):f0X 0007: PRINT ON 11 CHAR(27):a540h780V 0008: PRINT ON 11 CHAR(27):*t300R 0009: PRINT ON 11 CHAR(27):*r100A 0010: EXECUTE SH -c 'lp -d PR33 /area1/dh.temp/M100_3Logo.pcl' 0011: PRINT ON 11 CHAR(27):*rC 0012: PRINT ON 11 CHAR(27):f100X 0013: PRINT ON 11 CHAR(27):f4X 0014: PRINT ON 11 THIS IS A TEST OF THE MACRO 0015: PRINT ON 11 CHAR(27):E 0016: PRINTER OFF 0017:END Thanks in advance for any and all help you can offer. David Hoover Illinois Lock (847) 537-1800 x293 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] using phrases to enhance user experience
It doesn't look as if phrases are used much - the concept is wonderful for creating a report generator with drop-down options on screen or even just making standardised reports much easier to request variants of... with screen options for example - Select File {filenameUK} Select Type of Fields {tax_fields} Select Type of Sort {by_region} {filenameUS} {address_fields} {by_state} {filenameZA} {cultural_identity} {by_language} - the sentence comes out like list personnel_US tax_fields by_state using_spanish_headings which is something your average user can grasp.. - it is also useful adding well named paragraphs can enhance the user experience, eg - to_audit_printer - into_lab_dir In this one creates a verb 'send' send personnel_US tax_fields_US filter_by_country MEXICO sorted_by_state using_spanish_headings to_MEXICO_office where - send --- is a pre-processor to simply strip out the to_MEXICO_office code execute it first - personnel_US the local distributed file - tax_fields_US a phrase containing US related taxfields - filter_by_country- a phrase with the reqd BY, WITH, WHEN - MEXICO --- a phrase specifying MEXICO as that country - sorted_by_state - a phrase to sort by state - using_spanish_headings - a phrase that contains a title written in Spanish - to_MEXICO_office - the name of a paragraph that sets up the MEXICO office printer for the next report --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] PCL problem on U2
Also, whip out your hex editor and make sure the PCL is in the correct format. I've had to do that even when using the converter. Let us know how you finally get it to work. On Wed, May 20, 2009 at 2:29 PM, Colin Alfke alfke...@hotmail.com wrote: David; It looks like you're missing the point of the macro - simply load it into the printer once and print multiple times. Your converter may allow you to load it to the printer, otherwise you actually copy it to the printer (not print it). Under Windows we simply: EXECUTE !COPY /B \UD\LOGOS\LOGO.MAC \\UNCPathToPrinter Sorry, not sure of the Linux syntax. It only needs to be done when the printer is powered off an loses the macro so you can do it from a screen etc. Although we have one very distributed site that preferred we send the macro before the print job to make sure it was there. In your code you simply do a: PRINT CHAR(27):'f':LOGONUM:'y2X' to print the logo. This simply specifies and executes the macro. hth Colin Alfke Calgary, Canada From: David Hoover I am trying to place a logo that is stored at /area1/dh.temp/M100_3Logo.pcl on a form that I am creating in PCL5. I have no problem with the shading, boxes, or data. I am having a problem getting the logo to be printed. Base information: OS - RedHat Linux Running U2 Printer is IBM InfoPrint 1464 Color Logo file original name: 3Logo.jpg After running thru IPX20xx converter from IBM: M100_3Logo.pcl (Set this up as Macro 100) Here's the code that I am currently trying to work with: 0001: EXECUTE 'SETPTR 11,, NHEAD, FORM IBM, AT PR33' 0002: PRINTER ON 0003: * 0004: PRINT ON 11 CHAR(27):E 0005: PRINT ON 11 CHAR(27):f100Y 0006: PRINT ON 11 CHAR(27):f0X 0007: PRINT ON 11 CHAR(27):a540h780V 0008: PRINT ON 11 CHAR(27):*t300R 0009: PRINT ON 11 CHAR(27):*r100A 0010: EXECUTE SH -c 'lp -d PR33 /area1/dh.temp/M100_3Logo.pcl' 0011: PRINT ON 11 CHAR(27):*rC 0012: PRINT ON 11 CHAR(27):f100X 0013: PRINT ON 11 CHAR(27):f4X 0014: PRINT ON 11 THIS IS A TEST OF THE MACRO 0015: PRINT ON 11 CHAR(27):E 0016: PRINTER OFF 0017: END Thanks in advance for any and all help you can offer. David Hoover _ Create a cool, new character for your Windows Live Messenger. http://go.microsoft.com/?linkid=9656621 --- 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] PCL problem on U2
Wol stated: This is sending the logo as a DIFFERENT print job. That's your problem. You can use the OPEN option in SETPTR to accumulate multiple print jobs into the same print file before closing the print file. hth, Dave Dave Taylor Sysmark Information Systems, Inc. Authorized IBM Business Partner 49 Aspen Way Rolling Hills Estates, CA 90274 (O) 800-SYSMARK (800-797-6275) (F) 310-377-3550 (C) 310-561-5200 www.sysmarkinfo.com Home of SpoolerPlus - Original Message - From: Anthony W. Youngman u...@thewolery.demon.co.uk To: u2-users@listserver.u2ug.org Sent: Wednesday, May 20, 2009 11:23 AM Subject: Re: [U2] PCL problem on U2 In message e8209a9427264095bc3fe78d6908d...@it3, David Hoover dhoo...@illinoislock.com writes I am trying to place a logo that is stored at /area1/dh.temp/M100_3Logo.pcl on a form that I am creating in PCL5. I have no problem with the shading, boxes, or data. I am having a problem getting the logo to be printed. Base information: OS - RedHat Linux Running U2 Printer is IBM InfoPrint 1464 Color Logo file original name: 3Logo.jpg After running thru IPX20xx converter from IBM: M100_3Logo.pcl (Set this up as Macro 100) Here's the code that I am currently trying to work with: 0001: EXECUTE 'SETPTR 11,, NHEAD, FORM IBM, AT PR33' 0002: PRINTER ON 0003: * 0004: PRINT ON 11 CHAR(27):E 0005: PRINT ON 11 CHAR(27):f100Y 0006: PRINT ON 11 CHAR(27):f0X 0007: PRINT ON 11 CHAR(27):a540h780V 0008: PRINT ON 11 CHAR(27):*t300R 0009: PRINT ON 11 CHAR(27):*r100A Okay, this is setting up your print job ... 0010: EXECUTE SH -c 'lp -d PR33 /area1/dh.temp/M100_3Logo.pcl' This is sending the logo as a DIFFERENT print job. That's your problem. I'm not sure how you'll fix this, but you need to read the logo file into U2, and then dump it to your print job without the binary getting corrupted. The other way to do it (I'm pretty sure it's possible but I've never done it) is to download the logo to the printer as a logo or font or whatever, then have a code in your print job to print the prestored logo. Cheers, Wol -- Anthony W. Youngman pi...@thewolery.demon.co.uk 'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998 Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source Pick --- 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] Opening UniBasic Source Code Into A UniBasic
I am writing on how to open a Unix file of UniBasic source code. When I try a openpath '/u2/SOFTWARE/BP/BASELINE.R0' to F.This then crt 'OK' end else crt 'Error' end *--- --- The.End: crt status() crt crt ' [] ' : input Ans crt @(-1) END *--- - 02 RUN BP FILESCAN.R0 Error -7 [] Where -7 is InValid file revision or wrong byte-ordering for the platform. The platform is UniVerse v10.1 on HP-Ux 11i v2. Suggestions would be appreciated. --Bill --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Opening UniBasic Source Code Into A UniBasic
Is BASELINE.RO a Program? If so, then you just want to open the BP (i.e. remove program from path), then READ program as you would any item. Mark -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Brutzman, Bill Sent: Wednesday, May 20, 2009 1:35 PM To: u2-users@listserver.u2ug.org Subject: [U2] Opening UniBasic Source Code Into A UniBasic I am writing on how to open a Unix file of UniBasic source code. When I try a openpath '/u2/SOFTWARE/BP/BASELINE.R0' to F.This then --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Opening UniBasic Source Code Into A UniBasic
Make sure your bp file is a type 19 not a type 1 Brutzman, Bill wrote: I am writing on how to open a Unix file of UniBasic source code. When I try a openpath '/u2/SOFTWARE/BP/BASELINE.R0' to F.This then crt 'OK' end else crt 'Error' end *--- --- The.End: crt status() crt crt ' [] ' : input Ans crt @(-1) END *--- - 02 RUN BP FILESCAN.R0 Error -7 [] Where -7 is InValid file revision or wrong byte-ordering for the platform. The platform is UniVerse v10.1 on HP-Ux 11i v2. Suggestions would be appreciated. --Bill --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Opening UniBasic Source Code Into A UniBasic
Yes... BASELINE.R0 is a program. -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Mark Eastwood Sent: Wednesday, May 20, 2009 4:46 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Opening UniBasic Source Code Into A UniBasic Is BASELINE.RO a Program? If so, then you just want to open the BP (i.e. remove program from path), then READ program as you would any item. Mark -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Brutzman, Bill Sent: Wednesday, May 20, 2009 1:35 PM To: u2-users@listserver.u2ug.org Subject: [U2] Opening UniBasic Source Code Into A UniBasic I am writing on how to open a Unix file of UniBasic source code. When I try a openpath '/u2/SOFTWARE/BP/BASELINE.R0' to F.This then --- 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] Opening UniBasic Source Code Into A UniBasic
Have you copied these programs over from another host - esp another host with a different endian processor ? you may need to do a fnuxi or such thing on the code. -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Brutzman, Bill Sent: 20 May 2009 21:35 To: u2-users@listserver.u2ug.org Subject: [U2] Opening UniBasic Source Code Into A UniBasic I am writing on how to open a Unix file of UniBasic source code. When I try a openpath '/u2/SOFTWARE/BP/BASELINE.R0' to F.This then crt 'OK' end else crt 'Error' end *--- --- The.End: crt status() crt crt ' [] ' : input Ans crt @(-1) END *--- - 02 RUN BP FILESCAN.R0 Error -7 [] Where -7 is InValid file revision or wrong byte-ordering for the platform. The platform is UniVerse v10.1 on HP-Ux 11i v2. Suggestions would be appreciated. --Bill --- 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] U2-Stage (Datastage lite) anyone using it yet ?
Is anyone using U2-Stage yet that would like to comment about it? -Baker This communication, its contents and any file attachments transmitted with it are intended solely for the addressee(s) and may contain confidential proprietary information. Access by any other party without the express written permission of the sender is STRICTLY PROHIBITED. If you have received this communication in error you may not copy, distribute or use the contents, attachments or information in any way. Please destroy it and contact the sender. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] PCL problem on U2
That's true! I didn't look at his code. Does he have to print it from outsided U2? Dave Dave Taylor Sysmark Information Systems, Inc. Authorized IBM Business Partner 49 Aspen Way Rolling Hills Estates, CA 90274 (O) 800-SYSMARK (800-797-6275) (F) 310-377-3550 (C) 310-561-5200 www.sysmarkinfo.com - Original Message - From: Anthony W. Youngman u...@thewolery.demon.co.uk To: u2-users@listserver.u2ug.org Sent: Wednesday, May 20, 2009 2:29 PM Subject: Re: [U2] PCL problem on U2 In message 87e76198607940c7b663e669a8fc1...@w2kappserver, Dave Taylor sysm...@worldnet.att.net writes Wol stated: This is sending the logo as a DIFFERENT print job. That's your problem. You can use the OPEN option in SETPTR to accumulate multiple print jobs into the same print file before closing the print file. But to do that, you need to send everything from inside U2. If you look at what he's doing, he's actually sending the logo by calling the unix lp command... U2 doesn't get a look-in ... hth, Dave hth Wol -- Anthony W. Youngman pi...@thewolery.demon.co.uk 'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998 Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source Pick --- 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] U2-Stage (Datastage lite) anyone using it yet ?
I am not using it right now, but I have had enough discussions on behalf of another company that I definitely can recommend talking to the folks at s7.com about it. --dawn Dawn M. Wolthuis Snupnow LLC, Managing Partner On Wed, May 20, 2009 at 4:51 PM, Baker Hughes baker.hug...@mouser.com wrote: Is anyone using U2-Stage yet that would like to comment about it? -Baker --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Opening UniBasic Source Code - Tab Key
1. Nope... I did not copy them; I would rather not have to copy them. 2. So far I have not have to do a fnuxi. 3. What does a Tab key come over as? I have a little method to buzz out the blank spaces. I would like to use this method on the pesky Tabs. --Bill -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Symeon Breen Sent: Wednesday, May 20, 2009 5:34 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Opening UniBasic Source Code Into A UniBasic Have you copied these programs over from another host - esp another host with a different endian processor ? you may need to do a fnuxi or such thing on the code. -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Brutzman, Bill Sent: 20 May 2009 21:35 To: u2-users@listserver.u2ug.org Subject: [U2] Opening UniBasic Source Code Into A UniBasic I am writing on how to open a Unix file of UniBasic source code. When I try a openpath '/u2/SOFTWARE/BP/BASELINE.R0' to F.This then crt 'OK' end else crt 'Error' end *--- --- The.End: crt status() crt crt ' [] ' : input Ans crt @(-1) END *--- - 02 RUN BP FILESCAN.R0 Error -7 [] Where -7 is InValid file revision or wrong byte-ordering for the platform. The platform is UniVerse v10.1 on HP-Ux 11i v2. Suggestions would be appreciated. --Bill --- 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] PCL problem on U2
All of the other comments look right on. In addition to reworking to those suggestions, I'm also thinking there is a CRLF at the end of each of your lines which may affect processing of the commands. I'd build the entire string and then output with a single PRINT. I haven't touched this stuff in years, sorry if it's correct. Having said that, I'd rather stick an ice pick in my eye than write PCL. There are many tools available where you can just use an HTML-like image tag, and as time permits I recommend you look into them: img src=/area1/.../Logo.gif / HTH Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com Nebula RD sells mv.NET and other Pick/MultiValue products worldwide, and provides related development services Visit PickWiki.com! Contribute! 0004: PRINT ON 11 CHAR(27):E 0005: PRINT ON 11 CHAR(27):f100Y 0006: PRINT ON 11 CHAR(27):f0X 0007: PRINT ON 11 CHAR(27):a540h780V 0008: PRINT ON 11 CHAR(27):*t300R 0009: PRINT ON 11 CHAR(27):*r100A 0010: EXECUTE SH -c 'lp -d PR33 /area1/dh.temp/M100_3Logo.pcl' 0011: PRINT ON 11 CHAR(27):*rC 0012: PRINT ON 11 CHAR(27):f100X 0013: PRINT ON 11 CHAR(27):f4X 0014: PRINT ON 11 THIS IS A TEST OF THE MACRO 0015: PRINT ON 11 CHAR(27):E --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Opening UniBasic Source Code - Tab Key
CHAR(8) is a tab, IIRC. Karl On Wed, May 20, 2009 5:20 pm, Brutzman, Bill wrote: 1. Nope... I did not copy them; I would rather not have to copy them. 2. So far I have not have to do a fnuxi. 3. What does a Tab key come over as? I have a little method to buzz out the blank spaces. I would like to use this method on the pesky Tabs. --Bill -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Symeon Breen Sent: Wednesday, May 20, 2009 5:34 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Opening UniBasic Source Code Into A UniBasic Have you copied these programs over from another host - esp another host with a different endian processor ? you may need to do a fnuxi or such thing on the code. -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Brutzman, Bill Sent: 20 May 2009 21:35 To: u2-users@listserver.u2ug.org Subject: [U2] Opening UniBasic Source Code Into A UniBasic I am writing on how to open a Unix file of UniBasic source code. When I try a openpath '/u2/SOFTWARE/BP/BASELINE.R0' to F.This then crt 'OK' end else crt 'Error' end *--- --- The.End: crt status() crt crt ' [] ' : input Ans crt @(-1) END *--- - 02 RUN BP FILESCAN.R0 Error -7 [] Where -7 is InValid file revision or wrong byte-ordering for the platform. The platform is UniVerse v10.1 on HP-Ux 11i v2. Suggestions would be appreciated. --Bill --- 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/ --- Karl Pearson ka...@ourldsfamily.com Owner/Administrator of the sites at http://ourldsfamily.com --- To mess up your Linux PC, you have to really work at it; to mess up a microsoft PC you just have to work on it. --- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. --Benjamin Franklin --- --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Opening UniBasic Source Code - Tab Key
Bill, What exactly are you trying to achieve with the unix file? On UniVerse the openpath command will open a unix path as a database file, from which you then read items as normal. You either need to change to use the openseq command so you can sequentially read the contents of the unix item, or openpath '/u2/SOFTWARE/BP' to open the unix path as a file and then read the BASELINE.R0 item. Gregor -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Brutzman, Bill Sent: Thursday, 21 May 2009 9:20 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Opening UniBasic Source Code - Tab Key 1. Nope... I did not copy them; I would rather not have to copy them. 2. So far I have not have to do a fnuxi. 3. What does a Tab key come over as? I have a little method to buzz out the blank spaces. I would like to use this method on the pesky Tabs. --Bill -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Symeon Breen Sent: Wednesday, May 20, 2009 5:34 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Opening UniBasic Source Code Into A UniBasic Have you copied these programs over from another host - esp another host with a different endian processor ? you may need to do a fnuxi or such thing on the code. -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Brutzman, Bill Sent: 20 May 2009 21:35 To: u2-users@listserver.u2ug.org Subject: [U2] Opening UniBasic Source Code Into A UniBasic I am writing on how to open a Unix file of UniBasic source code. When I try a openpath '/u2/SOFTWARE/BP/BASELINE.R0' to F.This then crt 'OK' end else crt 'Error' end *--- --- The.End: crt status() crt crt ' [] ' : input Ans crt @(-1) END *--- - 02 RUN BP FILESCAN.R0 Error -7 [] Where -7 is InValid file revision or wrong byte-ordering for the platform. The platform is UniVerse v10.1 on HP-Ux 11i v2. Suggestions would be appreciated. --Bill --- 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/ -- Message protected by DealerGuard: e-mail anti-virus, anti-spam and content filtering. http://www.pentanasolutions.com Click here to report this message as spam: https://login.mailguard.com.au/report/1xv5n3xAdt/24cAapgssVfLPUFP8fUeWL/0 Please consider the environment before printing this email --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/