Wednesday, September 19, 2018

Unable to Print Integrated Shipping Label Due to Command Prompt Error "Invalid switch - /C:\(computername)(printername)".

When users print integrated shipping label which displays "
Rendering EPL2 Data" but no label prints and receive command prompt (MS-DOS) error "Invalid switch - /C:\\(computername)\(printername)", it means that user typed a switch (/) that is not valid for this command. The invalid switch is "/C:". The correct switch should be "/D". It is used to text file to a printer.

To correct the error, perform the following:

1.    Edit the label.bat

2.    Replace "/C:" with "/D". It should be "print /D:\\(computername)\(printername) %1"

3.    Save.

4.    Print label again.

No comments:

Post a Comment