Create duplicate printer, in windows..!
Press Windows Key
Type Printers & scanners
Open it
If your DNP DS-RX1HS is already installed:
Click Add device
When nothing shows, click The printer that I want isn’t listed
Select Add a local printer or network printer with manual settings
Choose your existing USB port (e.g., USB001 / USB002)
Select DNP DS-RX1HS as the driver
Choose Use the driver that is currently installed
When asked for a name, type DNP_4x6
now use the same name of the respective printer in the code and send the print job to that particular printer and in printer properties in one printer enable 2 inch cut another printer disable..!