Click here to Skip to main content
15,041,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We have a circulation desk that goes back and forth between an EPSON receipt printer and a Zebra Barcode Printer. The receipt printer is set to default, so the margins are correct until you switch to the Barcode Printer. Once this happens it changes to the default margins for the Barcode, which is good. However, when you switch back to the EPSON Printer, it does not change the margins back to the Roll Paper and instead keeps it on the Zebra Barcode Printer settings.

We are Using web based ERP Application using in chrome. Application developed by python coding. From windows side we checked everything. Is it possible to change anything in coding level to fix these printer option.

What I have tried:

From printer level we checked everything
Updated 15-Mar-21 23:04pm

1 solution

Code running on the server has no access to hardware connected to the client.

Javascript code running on the client has extremely limited access to the hardware connected to the client. It does not have any way to control the default printer, or alter its margins.

There is nothing you can do in your code to control the default printer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900