Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Doug Clark

Pages: 1 ... 13 14 [15] 16 17 ... 21
211
Applications / Re: Problems Installing a PPD for PM
« on: November 11, 2018, 02:09:51 am »
Thanks Roberto, Lars, and Pete for your help.

My problem (or one of my problems) was I didn't understand that PIN.EXE needs an existing printer driver in order to process the PPD file. And as Lars pointed out, you can't run it in the directory (and probably shouldn't anyway) where it is installed because it will be locked if any application has loaded it.

What I eventually figured out is you have to point PIN to an already existing printer driver file (psprint.drv) or it will fail. The steps that worked for me

copy c:\os2\dll\psprint\psprint.*  f:\temp\driver
copy my.ppd f:\temp\ppd
pin ppd f:\temp\ppd  f:\temp\driver\psprint.drv
use Manage Printers to Add.Update PSPRINT.DRV

The ideal solution is to use the Manage Printers object to directly install the PPD. Unfortunately on my machine (ArcaOS) the Install PPD option of Manage Printers fails with an error, which is why I was using PIN.EXE. (I will note Install PPD  works in eCS 2.2)

But with CUPS installed the other option is to simply install a CUPS printer for the PPD using the -Custom- -- Other Printer (requires PPD) -- option. That automatically imports the PPD to PSPRINT.DRV and creates a printer object in the Printers folder with its output port pointing to CUPS. Very nice, very slick. (I wish I was smart enough to have thought about that a couple of days ago.) Then I can install another printer using the newly imported PPD that has been created in PSPRINT.DRV

As Pete pointed out earlier you don't need CUPS if you are using a postscript printer. But having CUPS (once I figured it out) makes installing a new PPD very easy. Plus qpdfview (tabbed PDF viewer) prints directly to CUPS so you need CUPS to print from that application. I image there are other Qt based apps that will only print directly to CUPS, so you will need CUPS for those even with a postscript printer.

The one problem I have is specifying single side or duplex on an individual print job when printing to CUPS through a PM printer object doesn't work. The printer uses the duplex setting from CUPS regardless of what you specify on the print job - when printing through a PM print object. qpdfview, whichs prints directly to CUPS, does handle the duplex setting correctly. Which is one reason why you need a print object that outputs through lpr or appsocket in addition to the CUPS printer object.

212
Applications / Re: Problems Installing a PPD for PM
« on: November 09, 2018, 02:11:22 am »
Thanks roberto and Lars for your help,

I almost had it all running correctly and then reinstalled a cups driver and everything went back to the start - and now I can't get to where I was before.

Part of my problem was Lucide was not honoring the "print on a single side" / "print on 2 sides" setting in the driver; it always prints on both side no matter what the setting. I thought for a number of hours that it was a printer driver issue but it appears to be a Lucide issue.

There was a period of time when it was printing via CUPS, via lpd from OS/2 and from WinOS2 as postscript, and printing from OS/2 as PCL. But then I did something that took me back to the beginning.

The sad part is the import *.ppd in WinOS2 works great. But the Manage Printer object in ArcaOS has a bug.

[changed Printer Manager to Manage Printer]

213
Applications / Re: Simple CUPS Support Printer Quesion
« on: November 08, 2018, 02:29:34 am »
Pete, and Eric,

Yes hplip is installed on my machine. The version I have is 3.17.11-1. Apparently that hplip contains *.PPD files for multiple HP m452 printers. The problem is some of those printers have duplexers and some don't. But all (both) the *.PPD files have the same nickname, and apparently CUPS uses the nickname to distinguish between "printers". So I found the *.ppd file for m452 with duplexing, changed the nickname, installed that in CUPS, modified the existing m452 printer thingy I already had in CUPS to the new *.PPD and now duplexing, and the printer, are working correctly.

Duplexing shows up in apps that print directly to CUPS, as shown in the attachment, but not in apps that print to the associated PM printer object. I need to figure out how to update the PM printer object with the new PPD file.

214
Applications / Re: CUPS User ID and Password
« on: November 08, 2018, 02:14:51 am »
Eric,

Yes it is. Although when I wrote that I did not realize duplexing wasn't appearing as an option in CUPS. That problem turned out to be the wrong *.PPD file. I found the correct PPD file and attached that to a posting I made in the thread "problems installing a PPD in PM". Duplexing now appears as an option on those apps that print directly to CUPS - such as qpdfview.

Now my problem is getting duplexing to show up as an option for applications that print though the PM print system.

215
Applications / Problems Installing a PPD for PM
« on: November 07, 2018, 10:42:50 pm »
I am attempting to install a PPD using PIN.EXE and get the error message

reading driver extended attributes
   fail
SYS005: Access is denied
fail

Background
-----------------
I have an HP m452dn printer. The m452 family of printers includes m452dn, m452dw (with duplexer) and m452nw (no duplexer).

hplib, which apparently is where CUPS gets (some of) its *.PPD files from has
hp-color_laserjet_452-ps.ppd   and
hp-color_laserjet_452d-ps.ppd

The "d" in the name indicates the PPD for the printers which have a duplexer. Unfortunately the nickname in both those PPD files is the same, so CUPS can't distinguish between the two files.

I found the correct *.ppd for the HP m452 models with a duplexer, changed the nickname and used CUPS to modify the printer I had already installed to the new PPD. (That file is attached as hp_m452d_ppd.zip) Everything works great.

Problem
-------------
Now I want to update the PM printer driver with the new, correct PPD that contains duplexer info.  When running PIN to import the PPD I get an access is denied error - a screen shot of the error message is attached. I also get an error when trying to import the same PPD with the Manager Printers object in the Printers folder.

I get the message running PIN on the PPD before it has been cleaned, and after the PPD has been cleaned with cleanPPD.exe.  I have attached the cleaned PPD

216
Applications / Re: CUPS User ID and Password
« on: November 06, 2018, 10:09:59 pm »
After updating everything I could think of that was related to CUPS, including klusrmgr, I still could not get past the user id and password prompt.

But when I assigned a password to root, and saved the file in klusrmgr, I could then get past the user id and password prompt.  And CUPS started sending stuff to my printer. Very nice.

Thanks for the help


217
Applications / Re: CUPS User ID and Password
« on: November 06, 2018, 02:39:43 pm »
I don't remember manually installing it so I think it was installed during the install of ARCOS.  ANPM says:

CUPS                  2.1.3-10
cups client          2.1.3-10
cups-filesystem  2.1.3-10
cups-filters          1.17.2-3 (oc00)
cups-filters-libs  1.17.2-3 (oc00)
cups-libs              2.1.13-10

I just updated  klusmgr from 1.1.2-1 to 1.2.1-1 and now have a kLIBC User Management icon on my desktop

218
Applications / CUPS User ID and Password
« on: November 06, 2018, 06:59:46 am »
On the CUPS administration page (http://localhost:631/admin) when I click on "View Error Log" I am prompted for a user id and password. None of the user ids/passwords I have entered work.

Does anyone have any idea which user id and password CUPS is looking for?

219
Applications / Re: Simple CUPS Support Printer Quesion
« on: November 06, 2018, 03:05:04 am »
Eric,

I have an HP m452dn and am trying to get it to work with CUPS, or directly from a PM printer driver.  My guess is it should work fine since it uses postscript in addition to PCL. Cups has installed a *.PPD file for the m452dn but I keep getting a filter error when I try to print. Plus I don't know the user id and password CUPS administration wants in order to see the error log.

As a side note, the printer drivers (PCL and Postscript) supplied by HP for the printer do not work on Windows 7, although they do work on WIndows XP. I spent a hour or two on the phone with HP support, who remotely connected to my PC. The final solution was to use HP's generic PCL driver and generic postscript driver.  Those drivers are available from HP's web site, and they work fine. Plus they appear to handle all the printers features.

It is a nice printer BTW. The only issue I have had with it is when I am printing 100's of pages it will stop periodically during the job to let the printer cool down. After it cools a little bit (takes a few minutes) printing resumes.

220
Applications / Re: How to install and use DropBox plugin for Netdrive
« on: November 02, 2018, 05:47:17 am »
My authentication problem was resolved by installing Qt4 SSL fix, found at
http:/trac.netlabs.org/qtapps#additionalsoftwareprerequisites

Thanks to Silvan and Bitwise Works

221
Comments, Suggestions & Questions / Re: Copy/Replace file dialog in OS/2
« on: October 23, 2018, 02:31:19 am »
I agree with you that the lack of a progress indicator during a WPS file copy is a shortcoming.

When copying large files, or a large group of files I use Larsen Commander, which provides a very nice progress indicator. Larsen is shareware.

Another shortcoming of the WPS is lack of direct editing in details view of extended attributes, such as subject or author. I use FM2 for that. Although I wish FM2 had a search feature that would highlight all the files that contained a certain string in a selected EA.  The WPS details view allows you to select/filter on EAs but it is kind of a pain to use. FM2 is freeware.

Both Larsen and FM2 provide a whole bunch of other features that you really need when working with files.

222
Applications / How to install and use DropBox plugin for Netdrive
« on: October 14, 2018, 03:14:19 am »
Anybody have any idea how to install or use the DropBox plugin for NetDrive?

I assume that to install it I use

YUM install  ndpdbox-0.6.0.b9-0.oc00.i686.rpm

This does create a folder on the desktop titled NpdDBox 0.6.b9. Inside the folder is an icon for Dropbox Authorize.

If the browser (firefox 45.9.0) is already open and I have signed on to DropBox when I click on Dropbox Authorize, click on the Start button, and then copy the text from the "Api Request Authorized" page on DropBox.com I get what looks like an error dialog box, title is DropBoxauth, message is: 
No access token in http reply!

If the browser isn't open then when I click the Start button, the browser starts and opens a sign on page for Drop Box. When I type in my email and password and click Sign In nothing happens - there is a busy cursor that never goes away.


223
Applications / Re: VirtualBox v5.0.51 Testing
« on: October 09, 2018, 06:35:13 am »
Thanks Dave for the suggestion of DosBox.

My observations on DosBox are:

1) Once DosBox starts you can mount a network drive and have that drive accessable inside DosBox, which also means accessible inside a Windows 3.1 application running in Windows 3.11 running in DosBox.

2) While DosBox has a mount command to mount a floppy drive, the Lotus Improv install program doesn't think it is a floppy drive. Which means the installer will not run.

I manually installed by copying the files and editing WIN.INI and the other *.INI files.

3) When you click the mouse in the DosBox, the mouse pointer is "captured", just the same as in vBox and Virtual PC without guest additions. Ctrl-F10 releases the mouse pointer.

4) I found a Windows 3.11 with SoundBlaster installed as a *.rar packaged for DosBox - which worked great and saved a lot of time. I believe all the Warp 4, eComStation and AOS licenses come with license for Windows 3 - so I don't think licensing is an issue when using that method to install Windows 3 that is running in OS/2.

5) What I ended up with is my  Windows application running in Windows, running in Dos. In all its glory, and all its agony. Meaning I saw a divide by zero error in a worksheet that never experienced that before. And at one time Windows wouldn't load the application saying it had run out of application memory. Ah - the good old days.

6) OS/2 really is a better windows than windows. It has been such a long time since I ran a real windows 3 machine I had forgotten how well OS/2 runs Windows 16 bit (and some Windows 32 bit) programs.

7) What you lose in both vBox and DosBox when running windows 3 apps is the ability to cut and paste between windows and OS/2 applications, along with DDE and named pipes. Along with a truly seamless Windows application running on the OS/2 desktop.

But both vBox and DosBox offer the ability to run Windows 3 applications on my lenovo laptop that currently will not run WinOS2.

I don't think you can print - at least directly - from a Windows 3 application running in DosBox. You could create a PDF on a mounted drive and then print that PDF from OS/2.

With vBox running WinXP running Improv I can print from Improv directly to my color HP m452dn printer, which only has drivers for Windows XP and above.

DosBox on OS/2 is pretty impressive, and it will probably run games, and perhaps some applications, that vBox running Windows XP wont. But for Win 3.1 applications that need to print I think that vBox running WinXP is probably a better choice.

224
Applications / Re: VirtualBox v5.0.51 Testing
« on: October 06, 2018, 09:40:32 pm »
Valery:

I imported the same "appliance" (virtual machine) in Windows 7 vBox and it imported OK.

I tried to import the same appliance on an AMD desktop running AOS (as opposed to the Intel Lenovo laptop) and it "hung" at what appears to be the same point - the very end. (First attachment.)

Clicking on the red X - to stop the process, doesn't do anything. (Second attachment) The status/dialog changes to "canceling" and then never goes away.

However after killing the VirtualBox process, and then restarting vBox, the imported appliance/virtual machine is there, and runs correctly.

Since it appears to work I am ok. If you are sitting on a beach soaking up some rays and get bored listening to the waves lapping on the sand and want to work on something then perhaps it is worth fixing. Otherwise maybe it is more appropriate to note in a read.me or something.

Improv is a Windows 16 bit application. I installed it a few minutes ago on a laptop running Windows XP and it can see and access network drives. (third attachment). But when running in a Windows XP virtual machine, the shared folder drives do not show up in the File - Open dialog box. That same issue is also true in Improv running in Windows XP in vBox on Windows 7.

I cannot share a network drive inside of a Windows XP virtual machine using either Samba or Netbeui. Now that I have had some sleep I seem to remember you, or someone else, saying that doesn't work. And with shared folders I really don't need to directly share a drive using networking facilities.  I only tried that because the shared folders/drives did not show up in the Improv File Open dialog.

The workaround is to copy the file(s) I need to use with Improv to a local drive in the virtual machine and access them from Improv there. PITA but it works.

(I will point out that FrameMaker v 5.5 running in Windows XP mode (i.e. Microsoft Virtual PC) on Windows 7 occassionally has problems accessing shared folders/drives out.)

If you do want to attack either problem and there is some information I can send you then please let me know.

In the interest of documenting what happens for the one or two other people in the world who might want to run Improv on WinXP on vBox on OS/2 - I will note that the Improv install hangs at the very end - necessitating rebooting the virtual machine. (attachment 4). But once the machine is rebooted Improv appears for work fine - other than the whole shared folder deal. And you probably want to run IMP20W.EXE instead of IMPROV.EXE; IMPROV.EXE has some issues in WinOS2 that IMP20W.EXE doesn't - so I assume the same might be true on Windows XP.

Finally I will repeat that vBox on OS2 is pretty darn impressive. The problems I have run against are pretty minor compared to the function and preformance of the product. Thanks again.




225
Applications / Re: VirtualBox v5.0.51 Testing
« on: October 06, 2018, 09:01:30 am »
I am using vBox on my Lenovo laptop to run Windows 3.1 programs, since WinOS2 wont run on this laptop.

I installed Improv in a Windows XP virtual machine in vBox. The install hung at the very end when it was creating icons in a Program Group. But it appears that Improv runs OK, except for accessing shared folders.

The Improv File Open dialog does not show any shared folder "drives". And I cannot successfully map a local drive to drive on a remote machine using the native Windows XP method, either to a SAMBA server on the remote machine or throught  NetBEUI (after installing the NETBEUI driver in the WinXP box)

Pages: 1 ... 13 14 [15] 16 17 ... 21