OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Hardware => Topic started by: R.M. Klippstein on June 27, 2015, 05:16:15 am

Title: H.P. 2025 need help Per!
Post by: R.M. Klippstein on June 27, 2015, 05:16:15 am
I need more help PER! I just got my H.P. 2025dn today but have not been able to get it to work. What did you enter for SLPR1 properties? LPD Server=???? and LPD Printer=?????. That's the only thing I can think of that I might be setting wrong.

tanks klipp
Title: Re: H.P. 2025 need help Per!
Post by: Per E. Johannessen on June 27, 2015, 02:13:08 pm
Hi Klipp,

Can you open the printer settings in your web browser? Try http://192.168.1.140, which is also the IP you fill in as LPD server, and you should be presented with three tabs, status, settings and networking. Look for host name on the networking page, should be something like NPI8132B6.
(Just noticed that my slpr setup shows NP18132B6, third character '1' instead of 'I' which is listed by the printer. Possibly an error from my side but if so that indicates that you can fill in what you like (?).)
You can also find it this way:
Press the OK button to bring up the menu.
"Reports" will be displayed -- press the OK button.
Scroll to the right until "Config Report" is displayed.
Press the OK button to print out the configuration page.

Per

(Saw this post after I replied to the old one about CP1025.)
Title: Re: H.P. 2025 need help Per!
Post by: R.M. Klippstein on June 27, 2015, 07:16:01 pm
Thanks for you're response Per. Using http://192.168.1.140 works as you described, and you were also correct that the machine listed NPIF9E888 incorrectly and I changed it to NP1F9E888. But still nothing when I try to print. I guess the only thing remaining is to try it on a different machine. I did try it using CUPS  1.4.8 and calling it a HP Color LaserJet CP 2020 and it worked and sucessfully printed a Printer Test Page but I've forgotten how to set up the Desktop Printer Object -- Well, i thought i knew how but what i tried didn't work.
 Do you have any other suggestions? Alex? How about you?

Thanks to both of you!  klipp
Title: Re: H.P. 2025 need help Per!
Post by: Per E. Johannessen on June 27, 2015, 08:35:21 pm
Don't know what version you are running, but on eCS2.1 you open the "Local System", then "Printers" and "Install Printer".
Leave "Standard Printer" selected in the dialog window and press "Install". In the next window you give the printer a name, if the HP postscript driver 3700 ps is not listed under "Default printer drivers" you have choose "Install new printer driver...", new window pops up, select the driver from the list and "Install". This should bring you back to where you create the printer, now just select the SLPR output port and press "Create".

Another way to make the printer object is to open the "Templates" folder and drag a "Printer" object to your desktop and it will automatically open "Printer" where you have to go through the settings steps above.

Hopefully that's it........

Per
Title: Re: H.P. 2025 need help Per!
Post by: R.M. Klippstein on June 27, 2015, 09:07:49 pm
I'm running eCS 2.2 beta and creating a pretty much the same as you have indicated, but there is no HP postscript driver 3700 ps" listed. The driver I've been trying to use is POSTSCRIPT .HP Color LaserJet 3700 PS. Is this incorrect?

klipp
Title: Re: H.P. 2025 need help Per!
Post by: Per E. Johannessen on June 27, 2015, 09:48:23 pm
HP Color Laserjet 3700 PS is the correct one.
Is there any sign of "activity" at all on the printer when you send a print job to it?
When you open the printer properties, is the driver listed as installed and selected for the printer?
And, on the Output Port  SLPR1 is selected?

I have several eCS versions installed and it works on all of them, incl. beta 2.2.
Alex pointed out that LPD printer actually could be whatever you choose, I just tested and it works with these SLPR properties:

LPD server: 192.168.1.118 (You should of course use 192.168.1.140)
LDP printer: HP2025
Port name: SLPR1
Print Timeout: 45 seconds
Performance: Nothing selected

Right now I can't think of anything else.
Reboot should not be necessary, but you could try .....

Perhaps someone has ideas?
Title: Re: H.P. 2025 need help Per!
Post by: R.M. Klippstein on June 27, 2015, 10:53:22 pm
I just set it up on another system with the same results.
LPD server 192.168.1.140
LPD Printer HP2025
Port Name SLPR1
Timeout 45 secs
Preformance Nothing selected

No activity on printer, File is sent but no printer response
Driver is installed and outport port SLPR1 is selected

I also tried setting up in CUPS and that all went well and it printed sucessfully a color test page, but when i created the desktop object
and tried printing both a Web page and a Text Document,  it blows off everything and returns to the desktop.
My God I hope I havn't bought another "Boat Anchor" --- one small pluss, this printer is soo heavy it will anchor a pretty large boat!

Thanks for all the help   klipp
Title: Re: H.P. 2025 need help Per!
Post by: Alex Taylor on June 28, 2015, 04:16:09 am
In SLPR1 try setting performance to LPRPORTD compatible.

Are you certain the printer is configured to accept LPR connections?

You said it works from CUPS. What protocol are you using in CUPS? (BTW if printing a test page works from CUPS then you can definitely get it working through CUPS.)
Title: Re: H.P. 2025 need help Per!
Post by: Per E. Johannessen on June 28, 2015, 04:37:08 am
You could also try LPD, (not at my eCS right and don't remember the exact words), instead of SLPR.
Don't use it as an anchor yet! I have this printer working and I cannot recall that I had to change any settings on the printer itself.
Can you scan and upload the print configuration so I can see if there are any differences compared to mine?
Title: Re: H.P. 2025 need help Per!
Post by: R.M. Klippstein on June 28, 2015, 05:39:51 pm
Hey Per, I think you're idea may be the solution! This printer was sold in Mexico, so I had to change the language to english Then I got to thinking about it, and thought they might have changed something in the configurarion -- so I did a "Restore Defaults" which set everything back to what is apparently defaults for Mexico, I changed the language back to english and tried it once more, but the same results- nothing printed!
I will scan & upload the Printer configuration later today so you can compare results.
  Alex, thanks for getting involved as I would really like to be able to also use CUPS. Like I stated earlier, CUPS test page prints 100% correct (I will also scan and upload a copy of the test page printout) But using the procedure on the CUPS How TO it creates the desktop printer but when that is selected by either Seamonkey & OpenOffice for printing, it does nothing and returns to the Desktop. Is  there a better way of setting this up?
Thanks again to both of you, gotta go do a bunch of crap for the wife then later I can get back to the important things in life!

klipp
Title: Re: H.P. 2025 need help Per!
Post by: R.M. Klippstein on June 29, 2015, 04:31:05 am
Hi Per & Alex, Attached are the Configure, Network & CUPS test page. Hope this helps clear my problem.

Thanks   klipp
Title: Re: H.P. 2025 need help Per!
Post by: Per E. Johannessen on June 29, 2015, 02:55:17 pm
Both network and configuration are set up the same way here.
Quite some time ago I had some problems getting a printer to work. I did a lot of deleting and recreating printer objects and this resulted in lots of printer entries in the ini-files. (When deleting a printer some settings remained in the ini.) I used the "Registry Editor" to delete all the "printer entries" which I knew were a result of my actions. After rebooting I once again created a printer object and it worked.
Remember to back up os2.ini and os2sys.ini before doing anything with the "Registry Editor"!
Title: Re: H.P. 2025 need help Per!
Post by: Alex Taylor on June 29, 2015, 05:35:27 pm
I suggest you use my CUPS printer wizard to create the printer object.
http://www.altsan.org/os2/printing/#cupswiz

Since you already created the printer in CUPS, choose 'Other printer (manual configuration)' and then choose 'Existing CUPS printer' on the first drop-down.  Enter 'localhost' as the 'CUPS server name', and select the printer from the 'CUPS printer name' dropdown.

That should create the printer object for you.  Hopefully it's fairly straightforward.
Title: Re: H.P. 2025 need help Per!
Post by: R.M. Klippstein on June 29, 2015, 11:37:51 pm
Hi Per & Alex, Per - I've tried this on a different machine with no other printers installed, same results. I just also tried setting the Printer I.P. to 192.168.1.118 (same as you'rs) and that didn't work either.
Alex, I used you're CUPSwiz and it created the CUPS printer. But when the printer is selected to print using  HP2025 and "print" is selected it pauses very briefly then kills whichever program (SeaMonkey or Open Office) was used and returns to the Desktop. One interesting thing was that  CUPSwiz created two Printer entries for the H.P.2025 to select from:
HP Color Laserjet CP2020 series;HPCOLOR1 and
HP Color Laserjet CP2020 series:HPCOLORL
Other note: Running Windoz XP , XP installs the printer as "socket;//192.168.1.140
Printer works fine on both SuSE 12.3 & Windoz

klipp 
Title: Re: H.P. 2025 need help Per!
Post by: R.M. Klippstein on June 30, 2015, 12:26:09 am
Hey Per,What is you're Firmware Date code? mine is 20100512.

thanks   klipp
Title: Re: H.P. 2025 need help Per!
Post by: Per E. Johannessen on June 30, 2015, 01:46:36 am
Older firmware on mine: 20081216
Title: Re: H.P. 2025 need help Per!
Post by: Pete on June 30, 2015, 05:08:06 am
Hi klipp

Looks like the linux cups support for the hp 2025dn requires the hplip package see http://hplipopensource.com/hplip-web/models/color_laserjet/hp_color_laserjet_cp2025dn.html

However, if using the cups cp2020 delivers a test page then it should work fine - with the possibility that the 2025 printers capability may not be fully supported.

Possible cause of failure to print from Seamonkey/Openoffice through the OS/2 Desktop printer to cups - with the apps crashing/exiting - is a DLL file mismatch or missing DLL file(s). I suggest making sure that you do not have older/incorrect copies of DLL files hanging around.

You could use a "dependancy checker" such as pmdll -  http://hobbes.nmsu.edu/download/pub/os2/util/system/pmdll-2.11.zip  - to see if you have any missing/not found (ie not on libpath) DLLs reported.

Another possibility is that something went wrong when cupswiz was creating the Desktop Printer Object - but this seems less likely as you had the same problem when you manually created The Desktop Printer Object previously on a different system.

I have not used cupswiz for a while but do not remember it installing 2 printers to select from. Maybe something did go wrong there...

You could use prndrv.exe -  http://www.os2site.com/sw/comm/faxworks/prndrv.exe  - to check what printer(s) cupswiz has set up and delete any unwanted bits.


Hope something above helps

Pete
Title: Re: H.P. 2025 need help Per!
Post by: Alex Taylor on June 30, 2015, 01:32:58 pm
I wonder if it's significant that Windows (from what you posted) seems to be printing through IPP instead of LPR...

To get more information about the crash, it's best to look at your POPUPLOG.OS2.
Title: Re: H.P. 2025 need help Per!
Post by: R.M. Klippstein on July 01, 2015, 01:31:26 am
Looks like Pete is right (as usual)! But rather then look for old DLL's I set up on another clean machine -- no printers! Doing http://localhoct:631 and "looking for Available Printers" gave these two Identical results:

Add this printer:HP Color LaserJet CP2025dn (HP Color LaserJet CP2025dn
Add this printer:HP Color LaserJet CP2025dn (HP Color LaserJet CP2025dn

They look identical, but when you click on them the connection is different:
USB:/HP/HP%20Color%20LaserJet%20CP2025dn?serial=00CNGS467706
socket://192.168.1.140
Using the first and setting up with the 2025.ppd, printing a test page almost works, it hangs "processing page 2"
Doing the same but using the 2020.ppd it works fine and produces a "test page" printed on both sides
Using the socket it does the same, prints a test page with printing on both sides of the page.

Creating a printer object with cupswiz works fine but trying to use either of these objects to print with apparently crashes the program as it immeadiatly returns to the desktop, killing whatever program was trying to print.

Frustrated, I then attached the other machines on the Lan and they were able to print the Test Pages from the host machine. So it looks like CUPS is functioning correctly its just not possible to create a functional printer object.

its also werid that Cups finds two different printers to install, I don't understand that either!

Thats it for now, hopefully more tomorrow     klipp

ooh, and Alex, popup.log tells me nothing I can make sense of, if you want I'll post it.
Title: Re: H.P. 2025 need help Per!
Post by: Alex Taylor on July 01, 2015, 03:58:11 am
POPUPLOG.OS2 would probably help (only the corresponding entries, please!) but I suspect I may know what's happening.

The most likely cause of the crash is that the PPD is either too large, or contains some data item which is too large, to be successfully imported into the driver.  Unfortunately this is an increasingly-common problem with modern PPDs.  The program that imports them, PIN, was written for an age when a typical PPD was around 10-50 KB in size and had a fairly simple format.  Nowadays it's common to encounter PPDs in the hundreds of KB and with extremely complex contents, and PIN just can't cope.  (I and others have tried to incorporate some fixes into PIN over the years, but it's really running up against architectural limitations.  It's an exceptionally badly written program to begin with, with fixed-size buffers and no built-in validity checking.)

I suggest you change the desktop printer object's driver to the built-in 'Generic PostScript (Enhanced)' and see if you have better luck with that.
Title: Re: H.P. 2025 need help Per!
Post by: Pete on July 02, 2015, 12:39:36 am
Hi klipp

I do not think that cups is finding 2 printers:-


They look identical, but when you click on them the connection is different:
USB:/HP/HP%20Color%20LaserJet%20CP2025dn?serial=00CNGS467706
socket://192.168.1.140


What it looks like it is finding is 2 *Connections* - Did you have it USB and (W)LAN connected?

The cups test page seems to be designed to confuse people: There is only 1 page so why cups often reports "Processing page 2..." I do not know.

Have you installed the current hplip software? If not I will take a guess that printing failed when using the 2025.ppd because hplip is required - but I could be wrong.

With regard to selecting the printer PPD file: Make sure you select the version with "Simplified" in the filename as these tend to work better with pscript.drv and, in my limited experience, with psprint.drv from Alex.

Are you using pscript.drv? - If "Yes" maybe you want to try adding the PPD file to psprint.drv instead - see http://www.altsan.org/os2/printing - and create your Desktop printer in the hope that will "cure" some problems printing from OS/2 apps. If you try this work through the instructions in the Readme carefully.


As for your remark "Looks like Pete is right (as usual)!" I will let you argue that with my wife who has a slightly different opinion  ;-)


Regards

Pete
Title: Re: H.P. 2025 need help Per!
Post by: R.M. Klippstein on July 02, 2015, 08:01:54 pm
Hi Pete, Boy, the more I screw with this the more "Screwed UP" I get! Yeah, i finally figured out it was not listing two different printers, just two options for setting up the installed printer. Both work as far as printing a Cups Test Page.
Now I'm trying to setup the hplip-3_12_10a.wpi which installed in D:\ecs\install\PRNDRV\ecups-hp, but I can't remember how I get access to the .ppd files embedded in that directory. I guess I have to use PIN? I used to use that a long time ago but can't seem to make it work now --- can you "enlighten " me a little?
Also, Alex recommended I try using "Generic Postscript (enhanced), which I also can't find, is that possibly in the hplip drivers? And is that also where to find the "Simplified" version you mentioned?

Thanks for you're help & patience.  klipp
Title: Re: H.P. 2025 need help Per!
Post by: Pete on July 02, 2015, 10:58:49 pm
Hi klipp

Starting from the bottom and working back up your list:-

When creating a cups printer using the cups browser interface you select Make and Model. During this procedure you should get offered a choice of 2 printer drivers eg:-

HP Business Inkjet 2250 - CUPS+Gutenprint v5.2.10(en)
HP Business Inkjet 2250 - CUPS+Gutenprint v5.2.10 Simplified (en)

The "Simplified" version seems to work best for adding to pscript.drv or psprint.drv

However, if the PPD file is supplied in the hplip package I have no idea if the above applies...


If I remember correctly the Generic Postscript driver is a "Printer" included in pscript.drv; I suspect that it is also in psprint.drv


I guess you are a little stuck with trying to remember the arcane enchantments used to get pin.exe to do anything useful  :-)

Well, I have some news for you: More than pin.exe is required.

For a pretty good set of prepared instructions that work get the psprint.drv package from http://www.altsan.org/os2/printing and read the Readme - especially the section called:-
 Importing PPD Files

I certainly cannot improve on those instructions - and, as mentioned previously, you may want to give this postscript driver a try at some point as it works well and cures problems printing from OpenOffice v4 here.


With regard to hplip: I have never installed or used this software so cannot offer any specific setup advice. Hopefully all will be fairly straightforward.

I think that to use any PPD file included with hplip you would need to click the "Browse" button during cups printer Creation/Modification to navigate to the directory with the PPD files in. Then select your desired PPD file.


Hope the above is of help

Pete









Title: Re: H.P. 2025 need help Per!
Post by: Per E. Johannessen on July 03, 2015, 09:07:36 pm
Although it would be nice to have it working with Cups, I keep wondering why it won't work with SLPR.
Suspect that the printer job is not sent to the printer at all, but if that's a problem with SLPR itself or your network setup I have no idea.
Since you did a new install of eCS I guess it shouldn't be trouble with ini-files either.

Ideas anyone?

(I have the same printer working fine using output port SLPR under eCS 2.1, beta 2.2 and an old RC7 installation.)
Title: Re: H.P. 2025 need help Per!
Post by: R.M. Klippstein on July 04, 2015, 02:15:31 am
Hi Per, I gotta agree with you, I just found this post in Ecomstation,ru on page 8 of Hardware,Printers -where James J. Weinkam states "The CP2025 supports both PCL and Postscript. This specific model is not included in the Laserjet and Postscript drivers shipped with eCS 2.0 GA. However selecting HP Color Laserjet 9500 works fine with both drivers once they are configured to use the features actually available on the printer" He stated this Jan 22,2011 and rated the printer "Very Good" which I believe is probably the same rating you would apply. I'm guessing he was using CUPS but for sure about that. I wish there was some way of communicating with him.
  But one thing is for sure now, two people have had excellent results using this Excellent Printer with OS/2, which also says The problem lies with me rather than the printer. This is pretty embarresing for me, as I'm not exactly a "Newbie" using OS/2, I've been using it for 33 years now but obviously have very limited knowledge about Printers. I'm now still using an ancient (like me) Xerox Phaser 3110 laser printer that has served me faithfully for somewhere around 10 years, but is slowly dieing from old age and overuse. This ancient warrior also would not work with USB and also would have nothing to do with CUPs  but preformed flawlessly with a SAMSUNG_GDIDRV for all these years. This printer should not take a "Bad Rap" because of my ignorance, Hopefully with all the advice I've received from you, Alex, Pete and others, sometime (hopefully in the near future) I'll get my "Ducks all in a row" and be able to describe how I eventually made this printer work. If I am ever able to do this, I will post a Detailed desriptive "How-To" on my web site.
   Thanks againt to all for all the help    klipp
Title: Re: H.P. 2025 need help Per!
Post by: Per E. Johannessen on July 04, 2015, 05:37:26 am
Hi again,

James J. Weinkam seems to be a member of os2world so you can search for his profile and send him a message.  Googled his name and got some indications that he still is around in the community.

Per
Title: Re: H.P. 2025 need help Per!
Post by: Alex Taylor on July 04, 2015, 09:23:53 am
Also, Alex recommended I try using "Generic Postscript (enhanced), which I also can't find, is that possibly in the hplip drivers? And is that also where to find the "Simplified" version you mentioned?

The driver I referred to is NOT part of CUPS, it is in the PSPRINT driver for your desktop printer object.  See the attached screenshots.  You will probably have to install the driver (the second picture shows where to find it if you're using my PM Printer Manager, but the corresponding window in the standard OS/2 printer setup dialogs looks almost identical).
In either case, enter the directory where you unpacked the PSPRINT driver files and in the 'other printer driver' selection. Then look for 'Generic Postscript (Enhanced)' (this is NOT the same as 'Generic Postscript Printer').  Alternatively, if James's report is to be believed, you could look for 'HP Color LaserJet 9500 PS' and try that one instead.

Note:
From everything you've described, your CUPS settings do not need to be changed, the CUPS component is working correctly as it is. Don't try to mess with them for the time being. The problem is almost certainly in the OS/2 printer object.
Title: Re: H.P. 2025 need help Per!
Post by: R.M. Klippstein on July 05, 2015, 02:37:48 am
Alex! You are indeed a GENIUS!ยก (but I think you already know that!)
The Generic Postscript Printer (Enhanced) works like a charm. Using you're procedure it actually installed a Printer Object for both USB (which I'm testing now) and a Printer Object for CUPS which I'll get to later. Additionally I'll see if Per's configuration also works.
 Gotta give up for now, too many hours gwalking & swearing at this computer. More details tomorrow or the next day.
I owe you Big Time Alex for you're continued efforts to help me,

Thanks again   klipp
Title: Re: H.P. 2025 need help Per!
Post by: R.M. Klippstein on July 10, 2015, 01:08:33 am
Time to end this topic, Thanks again for all the help. -- Per, with Alex's "Generic Postscript (Enhanced)" driver the printer also works as you described using SLPR. I've written a "HowTo" for installing as a USB Printer, If anybody's interested its posted at http://www.os2-ecs-mexico.com/indexVBox2.html under the heading "Miscellaneous Stuff & Information". As soon as I get CUPS ppd working I'll add that also.
and Per, Thanks again for "tipping me off" about this printer.

klipp
Title: Re: H.P. 2025 need help Per!
Post by: Martin Iturbide on July 10, 2015, 06:07:53 pm
Hi klipp

Can I have your permission to re-post your quick article on the OS2World wiki?

Regards

Title: Re: H.P. 2025 need help Per!
Post by: R.M. Klippstein on July 10, 2015, 11:26:18 pm
Yeah Martin, No problem.

klipp