Dos Printing

R

Ray Kirby

windows xp Home srvpk 1
dell opitlplex glx

I have an old dos app that needs to print to a hp laser 2300
have setup "net use lpt1: \\computername\pname /persistant:yes
changed bios settings to parllel mode to epp,ecc and ps2
setup share on printer and checked spelling
type "net use" shows lpt1 -> ok
turned bidirectional printing on and off
tried to print directly to printer turn spooler off.
deleted all printers and drivers and reinstalled from HP

prints fine from all window applications.
when you try to print from the dos app with spooler off
nothing. when you try to print with spooler on you can see
a job go to spooler then a second job will appear and the
first will delete this will loop-continue until you cancell
all print jobs. after this happens once. Windows
applications will not print any longer. Does the same thing
as the dos app have to reboot to fix window apps.

thanks
 
J

J

You didn't mention anything about the driver you selected in your DOS app
(and even more helpful, which DOS app is it?) as each DOS app requires a
specific printer driver.

You will probably need to select for use a driver for an older HP laserjet
from within your DOS program, as DOS printer drivers are a rarity to be
developed these days.
 
D

Davide Guolo

Ray Kirby,
I have an old dos app that needs to print to a hp laser 2300
have setup "net use lpt1: \\computername\pname /persistant:yes

Are you sending a simple ascii stream to the printer or PCL codes are
included ?

What happens if you simply try to "DIR > LPT1:" ?

Regards,
Davide Guolo
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.guolo.com/printfil
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.guolo.com/odbc4all
--------------------------------------------------------------
 
G

Guest

-----Original Message-----
Ray Kirby,
\\computername\pname /persistant:yes
Are you sending a simple ascii stream to the printer or PCL codes are
included ? Tried both ways

What happens if you simply try to "DIR > LPT1:" ?

same thing as the dos app
 
G

Guest

-----Original Message-----
You didn't mention anything about the driver you selected in your DOS app
(and even more helpful, which DOS app is it?) as each DOS app requires a
specific printer driver.
the dos app is an old insurance program
it supports a number of hp laser printers tried the most
generic ones ie hplaser II hplaser III
just printing from from the command line produces the
same results ie
copy \config.sys lpt1:
 
D

Davide Guolo

Ray Kirby,
same thing as the dos app

then I have to think that your printer cannot accept a simple ascii stream
in input, but requires some kind of GDI input created by the Windows driver.

If this is the case, then printing from a Windows application is the only
possible option. You can try Printfil to have your DOS app. printing to your
laser printer.

Kind regards,
Davide Guolo
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.guolo.com/printfil
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.guolo.com/odbc4all
--------------------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top