Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 01 DEC 1999 04:46:46AM Mike Conway wrote:

I have a slight problem printing a dos file direct to LPT1.

Performing the copy to LPT1 command at the DOS prompt works fine, when using PCPERFORM on a WINNT station at the TCL line the file does not print. However if i used the same PCPERFORM on a Win95 Station the file will print. I am not sure why this is occuring.

I am using Arev version 3.12, and NT version 4 service pack 5.


At 01 DEC 1999 03:24PM Steve Smith wrote:

What are the exact commands you are using?

steve@state-of-the-art.com.au


At 02 DEC 1999 10:51AM MIKE CONWAY wrote:

I have a DOS file which from the Dos prompt will print with:

COPY DOS_FILE TO LPT1.

With PCPERFORM i am typing in.

PCPERFORM "COPY DOS_FILE TO LPT1".

I have tried, SUSPEND and SUSPEND EXIT with this command.

Also tried was the dos command TYPE with ] LPT1.

This odd thing is that WIN95 will print with the above PCPERFORM line.

Would you know if something is odd with WINNT??


At 02 DEC 1999 03:34PM Steve Smith wrote:

Try at the DOS prompt:

COPY MYFILE LPT1 /B

or

COPY MYFILE PRN /B

The word TO is not being parsed by the DOS command shell. The /B ensures that all the file gets to where it is meant to go.

Steve


At 06 DEC 1999 06:20AM MIKE CONWAY wrote:

Thankyou steve the /B param worked fine.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/d908a9d30124e4278525683a0035b894.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1