Set Print Head Temperature And Print Speed Programmatically フォローする

0
Avatar
Legacy Poster

Using Enterprise with a web based design. A client's Datamax I-4310e MarkII printer is in a climate controlled room which is cooler than other rooms, about 50 degrees. I need to programmatically set the print head temperature and print speed based on which printer location is being printed to. I understand that this can be done through the bartender application's file->print document properties->options process.

 

How do I achieve the same control programmatically using the btformat object or another programmatic method at print time?

 

5 コメント

0
Avatar
Shotaro Ito
モデレータ
コメントアクション Permalink

50 deg... Fahrenheit, right?

There's no parameter to control from SDK / ActiveX com for Print Speed / Head temperature.

 

Seagull driver has setting to ignore application's document property. For the printer,

From Printer Property > Tools > Driver options > Network Settings, enable [Share settings between all documents].

 

Another thought is BarTender's document (btw file) remembers that setting (Document Properties), so create dedicated btw file for the printer is a option. On print dialog, Specify printer Explicitly - don't select (Default) printer.

 

Hope that helps.

0
Avatar
Legacy Poster
コメントアクション Permalink

Sorry, I did not get notified of the response posting. Correct 50 degrees F in a food processing facility. There are 14 different labels on 6 different stocks so I did the Printer Property > ... enable [Share settings between all documents]

 

Thanks for the response, Ira

0
Avatar
Richard Evans
コメントアクション Permalink

This thread is five years old and I wanted to follow-up to see if it's still true that speed and temperature can't be set programmatically in newer releases.  Thank you.  

0
Avatar
Shotaro Ito
モデレータ
コメントアクション Permalink

Unfortunately print speed and temperature still can't be set programmatically as of BarTender 2019 R4.

0
Avatar
Richard Evans
コメントアクション Permalink

Short of being able to change the speed and temperature values programmatically , is there a way to retrieve those values after they've been set?   I now have the program calling the the print dialog box, so the user can manually adjust the printer settings before printing.  However its "PrinterSettings" (PrintDialog.PrinterSettings) object doesn't seem to contain either setting, although every there's a lot info there.  I'm hopeful it's buried in the "extrainfo" array or something similar, but haven't been able to pinpoint anything. 

 

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