| |
| | |

Printer Forum   

 Forgot password?
 register
Search
View: 1782|Reply: 9

I have recently replaced my old printer with a Samsung ML-2165.

[Copy link]

Post time: 2015-6-29 18:43:43 |Show all posts
I have recently replaced my old printer with a Samsung ML-2165. My system is Windows XP on a laptop. I have successfully printed a test page and e-mails, but cannot print any of my GWBASIC files ("device unavailable"). Furthermore, the printer kept printing copies of the last file sent to it.It finally stopped doing this, and printed the following:
INTERNAL ERROR - including Corrupted Data
         POSITION : 0xc8097 (819351)
         SYSTEM   : h6fw_5.53/xl_image
         LINE        : 466
         VERSION  : SPL 5.53 07-22-2011      
  Please help. Mike Champniss (XXX) XXX-XXXX)/XXX@XXXXXX.XXX

Post time: 2015-6-30 09:00:25 |Show all posts
SUCCESS !!!!  I have finally managed to print a Basic file. The issue has been complicated by the behavior of the new printer, which seems to be erratic. I will now investigate this further.

Thank you for your patience. Have a nice day.....Mike.

Post time: 2015-6-30 07:04:21 |Show all posts
Aha.  Yes, I see the issue there.  The instructions fail to mention that there's no need at all to move these files to the /windows/system32 directory, if you use DOSPrintUI instead of the other two.  DOSPrintUI will run out of any location as long as you have the Administrator privilege.

Post time: 2015-6-30 05:28:55 |Show all posts
Thank you for your latest e-mail. I located the three files in my
"Downloads" file but couldn't transfer them to the SYSTEM32 directory as
instructed by DOSPrint. I am now trying to follow your instructions.

Post time: 2015-6-30 04:27:50 |Show all posts
Hello, Mike.  Sorry to see that you're having such problems.  I'll walk you through it with some images of the process.
Download the DOSPRINT.zip file from the web site at the link below:
http://www.pcounter.com/index.php?q=downloads/free-software
Right click on the "DOSPrint.zip" link and select "Save" or "Save as" depending on what browser you use.  Save the ZIP file to a location where you can find it again.
Then unzip the ZIP file using whatever method you normally use to unpack ZIP files.  I use WinRAR but there is an unpacker built into Windows; any method will do.  The result will be a folder with three files in it, as shown below:

In this case you can see that I unpacked it to C:\Temp\DOSPrint and the files are showing on the right side of the Explorer window.
Double-click on DOSPrintUI.exe and the DOSprint icon will appear in the icon area of the toolbar at lower right, as seen below:

This indicates that DOSPrint is running.
Double-click on the icon and the DOSPrint main window will come up as seen below:

You can see that on my own legacy XP system, there is already a physical printer port at LPT1: and an HP 1100A is connected to it.  So I will need to assign my DOS printer port to LPT2:, which is the next available port.  In your case LPT1: should be free if there are no hardware printer ports in the system.
Click on "LPT1" and then "Set".  DOSPrint will drop down a small window listing the available Windows printers on the system.  Mouse down the list until you get to the HL-2154, and select that.  DOSPrint will then show that the HL-2154 is attached to printer port LPT1.
At that point DOS programs can use LPT1: as though it was a parallel port printer on line printer port 1.
Let me know if this does not work for you.

Post time: 2015-6-30 03:11:16 |Show all posts
I do not know how to run the unzipped file "DOSPrintUI.exe". No diamond icon appears anywhere except on the original Downloads file, and there  is no reference to LPT1 anywhere either..I am obviously doing something wrong, but I don't know what.
I will be offline until Wednesday afternoon, so will be unable to continue the fight until then. As you no doubt realize, I am NO expert in this field........
Mike Champniss.

Post time: 2015-6-30 01:15:19 |Show all posts
(21:17 PM 12 Apr 2014)
Mike, I've just logged in for the day and seen your response.  No problem on that.  I have downloaded DOSprint to my own XP system and I'll give you the steps.
Download DOSprint.zip.  Unzip it to a known folder.  On my system I put it in C:\Temp\DOSprint.  (It does not install as a program, you just run it from wherever it is unzipped to.)
Run DOSPrintUI.exe - this is the Windows management user interface version.  When you run it, there will be no obvious effect but the DOSprint diamond icon will appear in the icon area of the toolbar.
Double-click on that icon.  The DOSprint window will appear.  At left are the available LPT ports; at right are the printers those ports are redirected to.  On your system LPT1 should be available and not redirected to anything.
Click on LPT1 and click the "Set" button.  The system will give you a list of printers available for assignment; assign your ML-2165 to LPT1 and then click OK.
DOS programs, including GWBASIC and QBASIC, can now use LPT1: for printing.  Note that you must assign LPT1: as the default printer for GWBASIC, or change the BASIC program's output file assignments to reflect the use of LPT1: instead of LPT0:
When through using the GWBASIC program, right click on it and select Exit.  This will undo the assignments.
This should solve the issue as long as you continue to use XP.  On Vista and later there are numerous problems with running 16-bit legacy programs, so the author apparently did not see a gain in porting it forward to more recent releases of Windows.
If you are wondering why the program can't redirect to LPT0:, it would certainly have made some things simpler, but I suspect that when he wrote it, many systems still had hardware LPT ports and this would have caused problems.
Let me know if you run into any problems.

Post time: 2015-6-29 23:48:40 |Show all posts
Sorry about the response delay - I was looking for you reply on your web-site - not e-mail.
I downloaded DOSprint on your recommendation, unzipped it, but have now "lost" it. The Windows Search facility failed to find it.

Mike Champniss.

Post time: 2015-6-29 22:04:34 |Show all posts
Good evening, Mike.  I have just come online for the day and seen your response.
As yahoo is now charging by-the-minute for chat, I have switched this session into Q&A message mode where there is only one charge.
From the problem description you have supplied, I am reasonably confident that the issue you are running into relates to the handling of printers in Windows.  The ML2165 is a USB printer, not a printer port printer.  As such, Windows does not associate it with the "legacy" DOS printer port LPT0: or any of the other LPTn: ports.
This does not matter for Windows applications, all of which use the Windows interface to print.  However, GWBASIC and the various other "legacy" 16-bit BASIC interpreters such as QBASIC expect the printer to be on a parallel port, usually LPT0: -- and since there is no LPT0: then printing fails for these applications when running under  Windows 16-bit emulation.
The usual solution for this is to install a Windows DOS printer emulator "shim" which allows legacy programs to print as though there were real parallel port printers attached.  This produces what might be called a "pseudo-printer" appearing to be on LPT1: and this generally solves the problem for all applications which only print plain text.  However ...
Any application which uses the "special character" mode of the early IBM Proprinters or the HP Laserjets can run into problems.  It all depends on which features are used.
I suggest starting with the most common DOS printer emulator, the freeware DOSPRINT, and see if that solves the problem for you.  DOSPRINT can be downloaded at the link below:
http://www.pcounter.com/index.php?q=free-software/dosprint
http://www.pcounter.com/index.php?q=downloads/free-software
Let me know if this addresses the problem satisfactorily.  If not, there are some other products to investigate; but this one is the easiest and cheapest.

Post time: 2015-6-29 20:12:10 |Show all posts

yahoo is an independent, for-pay Q&A service not associated with any equipment or software manufacturer.
You have to log in before you can reply Login | register

Advertise on OASQ.COM| Contact us| Archive| OASQ

2019-8-24 13:25 GMT-8

Powered by Discuz! 7.2

Release 20121101, © 2001-2019 OASQ.

To Top