Print to a USB printer using the DOS command

  • Thread starter Thread starter AuthorizedUserPF
  • Start date Start date
A

AuthorizedUserPF

Hello;

We have a small dillemma here. We have an Oracle based application,
(Peoplesoft). This new version of the application is web based and resides
on a server rather than each client.
We need to send output from this application to local printers that reside
on user's computers. Does anyone have any idea how this might be
accomplished? The Oracle people have told us to try printing to the local
printer using the "DOS" command. They say that if you can't sent a file
through dos to the local printer, then the application will only be able to
output through network printers. Any ideas.

Regards
Phil
 
AuthorizedUserPF said:
Hello;

We have a small dillemma here. We have an Oracle based application,
(Peoplesoft). This new version of the application is web based and resides
on a server rather than each client.
We need to send output from this application to local printers that reside
on user's computers. Does anyone have any idea how this might be
accomplished? The Oracle people have told us to try printing to the local
printer using the "DOS" command. They say that if you can't sent a file
through dos to the local printer, then the application will only be able
to output through network printers. Any ideas.

Regards
Phil
They probably meant the DOS command interpreter which is cmd.exe. To get to
cmd, access the Run command from the Start menu, then enter "cmd" (without
the parentheses). Ask Oracle what to do next.
Jim
 
What sort of output is it? Is it a a plain ASCII/text file? If so then
if the printer is on lpt1 port then just do it this way:

copy Mydoc.txt /b lpt1

Or you could load the file in Notepad, Wordpad or Word and print from
it.

hth
 
Jim said:
They probably meant the DOS command interpreter which is cmd.exe. To get
to cmd, access the Run command from the Start menu, then enter "cmd"
(without the parentheses). Ask Oracle what to do next.
Jim
But, will cmd allow printing to a USB port?
Jim
 
NO! DOS 'cmd" will not allow direct print to a USB printer. You need to
trick the Xp in order for it to use USB in DOS 'cmd" .

You can try 'net use" or locate a utility which will re-direct LPT prints to
any USB printer (Printfil???)
 
I have used a freeware program called "Printfile" for some time now. It is
fast and simple. It can be downloaded at www.lerup.com/printfile . It also
is good for printing Postscript and Text files.
 

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

Back
Top