General discussion

Locked

Serial Printing

By software architect ·
OK...heres the scoop. I have an application that is hard coded to print directly to com1. I need to find documentation that proves to upper management that if I create a serial printer in windows and direct the print to com1 it will not print because of the hard coded program. Any help would be appreciated.

This conversation is currently closed to new comments.

13 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Serial Printing

by DS9 In reply to Serial Printing

Gee, I don't understand.?? A serial printer attached to COM1 should work just fine, unless you did not tell us that you are already using com1 for something else.??

If your using COM1 for a internal Modem for example, then you can move it to COM3and then use COM1 for your printer.

Hope this helps, or esle maybe you can give more info as to WHY COM1 would not be available for use by your serial printer.

Regards
George

Collapse -

Serial Printing

by software architect In reply to Serial Printing

Poster rated this answer

Collapse -

Serial Printing

by Shanghai Sam In reply to Serial Printing

What version of windows?
Any version of NT will prevent an application from directly accessing a local hardware device such as com1.
All hardware access IS HANDLED BY THE HAL
or hardware access layer.

Win9x, not so, you can print directly tocom1 with any flavor of win9x...

Are you on a network? NT or Netware? the answers are different if using a network captured port...

Also, if printing locally, you can define a dummy printer, as generic text, assign it to com1, but then force all output directed for com 1 into a text file

it is done like this at the dos prompt:

mode com1: > prt.txt /a

Place that line in a batch file which may also be used to start this app, and then print this txt file at your leisure...
location and name of this text file are your choice....

(the /a forces an append, meaning each print job sent is added to the end of the file)


Good luck....

Collapse -

Serial Printing

by software architect In reply to Serial Printing

ok..since it deleted the user. It seems the only way I can post comments is to rate "did not help". Let me see if I can explain this better. Application is hard coded to go to com1 port. Program say print to com1 and bypass any que or buffer that is available. Doesn't matter if it is windows or dos created. what they want is to stop printer while printing say...1000 labels, print a special label and then resume printing where the 1000 labels left off. All of this is to be accomplished without a buffer or any kind of print que. Telling them it can't be done is no good. I must provide documentation that it can't be done. Not an easy task. Any help to find documentation would be helpful. There are no drivers for this printer, and the company is out of business. Direct print to printer not supported by nt 4.0 You gotta love this job.

Collapse -

Serial Printing

by BuffaloDan In reply to Serial Printing

I had actually posted the above answer, however, tech republic had logged me out because I spent too much time digging thru my own cobwebs to figure out the old Dos Mode command....

I hope my info helps you do your job, and look good to the big guys


dan

Collapse -

Serial Printing

by software architect In reply to Serial Printing

Poster rated this answer

Collapse -

Serial Printing

by bs8477 In reply to Serial Printing

Dont ever forget that without the wonderful 16550 uarts most of the new printers wouldnt like your task very much. hope this helps

Collapse -

Serial Printing

by software architect In reply to Serial Printing

Poster rated this answer

Collapse -

Serial Printing

by BuffaloDan In reply to Serial Printing

Sorry Guy, I can't cut you any slack or let you off the hook, the following article explains how to set up print services in an NT network environment, as well as rediredcting print output from com1 to a network captured printer port...

http://www.microsoft.com/TechNet/winnt/Winntas/manuals/concept/xcp05.asp

Collapse -

Serial Printing

by software architect In reply to Serial Printing

Poster rated this answer

Back to Hardware Forum
13 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums