Programmatic Adjustment Of Label Content Alignment Per-Print Follow

0
Avatar
Legacy Poster

Hopefully this is the appropriate place for this question; if not, my apologies.

 

We are transitioning to Bartender one product line at a time.  We use Datamax H-4604 printers exclusively.  We've built a web-based printing module for end-users, and all print jobs are submitted to the Bartender server via TCP, which has all of our Datamaxes installed as local printers via a TCP port.  The first product line that we have moved to Bartender is our largest label type by volume, and as such all print jobs for these labels have a dedicated printer.  Because they have a dedicated printer, these labels tend to stay in aligment, and little adjustment is needed by the end-user.

 

The remaing labels in our operation are numerous (100+ templates), and they're spread across three Datamaxes total.  Because stock is constantly being switched, these labels need to be adjusted constantly - basically, per print.  Our old solution, which frankly is a bit of a nightmare, has been to give end-users access to the template, and they make adjustments to the content directly on the template before each print.  Because they will no longer have access to the templates, this presents a significant problem - how to adjust the contents of the label per-print?

 

Recently, we ran into a similar problem with our shipping system, and the solution was to provide an X-Y offset utility that allows the user to nudge the contents of the document globally, 1/100 of an inch at a time, in both dimensions.  This solution worked beautifully.  My question is this: is there a way to submit global alignment information to the Bartender server on a per-job basis in this fashion?  This would allow us to design a template that is properly internally aligned, permitting the user only to make adjustments of the content as a whole on the label.

 

Any insight would be much appreciated.

 

Many thanks!

 

EDIT: spelling

3 comments

0
Avatar
Shotaro Ito
Comment actions Permalink

If the print operator has some control on printer driver, try horizontal offset in driver.

Right click printer driver > printing preferences > Page setup tab > Advanced options > Printing position > Horizontal offset.

this setting affects all documents printed from the printer.

 

When you print from .net SDK / ActiveX, you can get and set right / left margin to shift print result by

Format.PageSetup.MarginLeft and Format.PageSetup.MarginRight .

0
Avatar
Legacy Poster
Comment actions Permalink

Shotaro,

 

Thanks much for this.  It looks like this control would address our needs, as it includes offset adjustments for both horizontal and vertical alignment (both are necessary).  However, the operators will not have access to these settings directly, nor do we want them to, as the printers are "installed" on the server, not the local workstation.  Can you suggest any further reading regarding programmatic adjustment of these values?  This does not necessarily need to be mediated by BarTender - if necessary, I expect that we can come up with a Powershell script (or something of that nature) than can be called by the middleware on a per-job basis, per our requirements.

 

EDIT: for clarity - we're not using .NET or ActiveX for the middleware, it's a WAMP stack.

0
Avatar
Shotaro Ito
Comment actions Permalink

I'm out of idea - you can import and export driver settings using "ssdal.exe" utility installed with seagull driver, but I don't think that's the way as we don't provide automation for individual offset value.

http://forums.seagullscientific.com/index.php?/topic/897-default-stock-size-for-different-printers/

I recon there's feature request to modify page setup from BarTender XML script, and that will be the solution. so  I add your request to our "Wish List" to make the feature arrive soon.

Please sign in to leave a comment.