Config Default Printer フォローする

0
Avatar
shira rot

Hey,
I'm using BarTender integration with command script that gets txt file (in notepad).
In that code I wrote the path of the printer which I'm using:
Desktop\testBartender\Flat6Fields.btw" /PRN="BW_QA" /P /D="%Trigger File Name%"
%END%

I would like to write a code that sends the file to the user's default printer.
Thanks in advance.

2 コメント

0
Avatar
Pete Thane
コメントアクション Permalink

Not able to test this, but is you leave out the /PRN= command I believe BarTender will then print to the printer used to create the label (ie the printer connected to the format when it was last saved). If that printer is not available then it should try and print to the default printer instead.

That may however throw up some errors/warnings that require some under input in which case you may need to check the logs and see if it shows the error message number and then open the label in Designer and Administrator>Application Message Setup and see if there is an option to automatically skip this the user input

0
Avatar
Pete Thane
コメントアクション Permalink

.Sorry should have added in Administration Console in 2019 you can also set the default printer for BarTender to use which can be different to the Windows default and also set up redirects if a printer is missing and this may help too.

サインインしてコメントを残してください。