PxPlus User Forum

Twitter Twitter Twitter

Recent Posts

Pages: 1 ... 4 5 [6] 7 8 ... 10
51
Programming / Re: winprt
« Last post by Sam Nehama on March 21, 2024, 05:25:33 PM »
Mike,

I set up a generic/text only printer but nothing ever prints - the lights light up, but no printing.
I also tried using the command you indicated but same thing - lights light up, no printing, no error messages.

Jeff,

I did try the universal driver but it seemed to indicate this needs to be a network printer - and it also indicated it will not work on an MFP printer, which this is.

Thanks,
Sam
52
Programming / Re: winprt
« Last post by Jeffrey Ferreira on March 21, 2024, 03:29:15 PM »
Hi Sam,

We've had a similar problem before.
winprt works fine (using windows print driver)
windev does not work
even though i'm pretty certain windev does not use the windows print driver, we had to change our windows print driver to an HP Universal Driver in order to print pcl or any of those mnemonics you see inside the *dev\hplaser. I dont know why that is but i would give it a try.

Jeff
53
Programming / Re: winprt
« Last post by michaelgreer on March 21, 2024, 03:09:46 PM »
Sam - I'd be interested to know what happens when you enter: open(hfn)"[wdx]"+"*windev*
On that workstation.  This might tell you what issue you are facing. Beyond that, for this use you will need to have the printer configured with a generic/text only driver.  *winprt* interacts (I believe) with the windows print driver.  I don't think your pvx driver is being ignored so much as overridden.
54
Programming / winprt
« Last post by Sam Nehama on March 21, 2024, 02:26:24 PM »
I'm trying to set up a printer specifically for printing checks.  We had modified the hplaser device driver utility to print the checks via a network connection, and this has worked for many years.  The check printer has now been moved out of the office to someone's home, and they only have a VPN connection to the server (Winhost/Winslave) and a USB printer.  I've tried *windev*, and it prints nothing.  *winprt* does print to the USB printer, but it seems to ignore the modified hplaser device driver utility.  For check to line up properly it's important that the codes are sent to the printer from the modified device driver.  Any idea on what I'm doing wrong?

Thanks,
Sam
55
Programming / Re: accessing mySQL-DB
« Last post by Thomas Bock on March 18, 2024, 04:25:53 AM »
The customer uses openSUSE Leap 15.5
We use a Gentoo and can reproduce the issue
56
Nomads / Re: Convert NOMADS file to XML (need IOLIST)
« Last post by pwhirley on March 14, 2024, 08:09:02 PM »
Thank you Jane!

I thought I had already replied to your post, but I don't see it.
I think the *plus/proj/pxpnl program looks promising to come up with a more readable comparison.  Thank you for the suggestion.

Phil
57
Language / Different Listbox Row Heights with Accented Characters
« Last post by James Zukowski on March 14, 2024, 02:21:04 PM »
We have a Report View listbox with 4 text lines per entry. When we include accented characters as part of a line, it breaks the line and we now have 5 text lines (see attached). If I translate the accented characters into un-accented characters, it's back to being a 4-line entry.

Is there an option I'm missing somewhere? Is this something with Windows or PxPlus and listboxes?

Suggestions welcome.
58
Nomads / Re: Convert NOMADS file to XML (need IOLIST)
« Last post by Jane Raymond on March 14, 2024, 09:38:31 AM »
If there are other data files you might want to compare, there is a tool to convert our data files to text files:
CALL "*tools/ConvertData;Binary_to_Text", binPath$, txtPath$ [, password$]
This works great if the file you want to convert has an embedded dictionary.
59
Nomads / Re: Convert NOMADS file to XML (need IOLIST)
« Last post by Jane Raymond on March 14, 2024, 09:29:14 AM »
A few things to consider:


It might be better to use the %nomads'lib_iol1$, as it uses all string fields which might be easier to use:
IOLIST OBJ_NME$,OBJ_C$,OBJ_L$,OBJ_W$,OBJ_H$,OBJ_TYPE$,OBJ_TXT$,OBJ_VAL$,OBJ_TAB,OBJ_DEF$,OBJ_DSP$,OBJ_FCS$,OBJ_SEL$,OBJ_MSG$,OBJ_HLP$,OBJ_ATTR$,OBJ_IDX$,OBJ_HOTKEY$,OBJ_QRY$,OBJ_SEC$,OBJ_STS$,OBJ_GRP$,OBJ_NULL$,OBJ_TAG$,OBJ_TBL$,OBJ_INP$,OBJ_OUT$,OBJ_VALID$,OBJ_CLASS$,OBJ_TIP$,OBJ_ORIG$,OBJ_FONT$,OBJ_COLOR$,OBJ_LISTBOX_TYPE$,OBJ_SEP$,OBJ_SCRATCH$,OBJ_POPUP$,OBJ_SIZING$,OBJ_LOGIC1$,OBJ_LOGIC2$,OBJ_POPUP_LOGIC$,OBJ_QRY_BITMAP$,OBJ_QRY_WIDTH,OBJ_QRY_TIP$,OBJ_QRY_ATTR$,OBJ_EXTENSION$,OBJ_DEMAND$,OBJ_DEMAND_LOGIC$,OBJ_BACKGROUND_LOGIC$,OBJ_PERSISTENCE$,OBJ_NOTES$,OBJ_TBL_LEN,OBJ_TVLINE_COLOR$,OBJ_AUTOSZ_WIDTH$,OBJ_AUTOSZ_HEIGHT$,OBJ_AUTOMATION_TEXT$,OBJ_HILIGHT_COLORS$,OBJ_PROPS$,OBJ_VISUAL_CLASS$,OBJ_INOMADS_CLASS$

There is a conversion program used by svn to convert an individual panel to a text file. (Attached is a sample columnwidth.txt). You could possibly take the program (*plus/proj/pxpnl) and alter it output to a single text file for all the panels.
60
Nomads / Re: Convert NOMADS file to XML (need IOLIST)
« Last post by pwhirley on March 14, 2024, 09:09:29 AM »
Thanks Mike and Stéphane,

I've written a quick and ugly XML conversion which is adequate, but I may look at the other option to make something prettier.  The way it's working now, I can easily see if the compared libraries have been changed, but identifying the changes adequately requires me to go back to NOMADS utilities.  Using the SVN utility may well work better, though it means another folder level.  However, that will help narrow down exactly where the change is, which should make things more efficient.

I know the NOMADS library IOLIST doesn't change very often, but grabbing the IOLIST from the object will insure that I get the correct columns for the version I'm working with.  That will be better.

Phil
Pages: 1 ... 4 5 [6] 7 8 ... 10