Checking Printer Communicating with Computer

 Printer connected to the LPT Port

From the DOS (or COMMAND) Prompt:  

FIRST: Type: ECHO ~WC>LPT1

A configuration label should print out. If so, proceed with the following:

From the DOS (or COMMAND) Prompt:

FIRST: Type: EDIT

NEXT: Type: ^XA^FO20,20^A0N,50,50^FDZEBRA^FS^XZ

NEXT: File/Save As ZEBRA.TXT

THEN: File/Exit

From the DOS (or COMMAND) Prompt:

LAST: Type: COPY ZEBRA.TXT LPT1              

Top of page

Printer connected to a COM Port

From the DOS (or COMMAND) Prompt: *

FIRST: Type: MODE COM1 9600,N,8,1

NEXT: Type: ECHO ~WC>COM1

* Change Com Port, Baud Rate, Parity, Data Bits, Stop Bits to match the printer's connection and settings.

A configuration label should print out. If so, proceed with the following:

From the DOS (or COMMAND) Prompt:

FIRST: Type: EDIT

NEXT: Type: ^XA^FO20,20^A0N,50,50^FDZEBRA^FS^XZ

NEXT: File/Save As ZEBRA.TXT

THEN: File/Exit

From the DOS (or COMMAND) Prompt:

LAST: Type: COPY ZEBRA.TXT COM1

 

Top of page

FTP File Transfer Protocol from DOS

1.)    Go to a DOS prompt and change to the directory where the test file is stored.

2.)    From the DOS prompt Type: ftp <space> <ip address of the destination printer > <enter>

3.)      Press <enter>  again.

4.)      You will then see the FTP prompt:   FTP>

5.)      Type: put <space> <filename> <enter>

The file is now sent to its destination.

Example:

put test.zpl <enter>

Note: This allows you to copy a file from DOS, to a printer on your network.

Note:  FTP is case sensitive, use lower case.

 

Top of page