Define Which Printer To Use From Database フォローする

0
Avatar
Legacy Poster

Greetings,

I have multiple users using the same database, I have my database writing a file on the network that commander picks up and prints to the specific printer they choose from the database. This is accomplished however by writing to different format names and commander is monitoring up to 6 different file names that essentially print the same format (but to different printers).
I've looked in the documentation and attempted several scripts but I've not been able to change the printer based on a field that I'm passing in the file (that commander uses as a trigger).

Can anyone point me to a good example of this I that I could modify?

Thanks...Scott

4 コメント

0
Avatar
Michael Toupin (mtoupin
コメントアクション Permalink

[quote name='ScottCampbell' timestamp='1350317864' post='3497']
Greetings,

I have multiple users using the same database, I have my database writing a file on the network that commander picks up and prints to the specific printer they choose from the database. This is accomplished however by writing to different format names and commander is monitoring up to 6 different file names that essentially print the same format (but to different printers).
I've looked in the documentation and attempted several scripts but I've not been able to change the printer based on a field that I'm passing in the file (that commander uses as a trigger).

Can anyone point me to a good example of this I that I could modify?

Thanks...Scott
[/quote]

Hello Scott,

No, you're really not going to be able to do that. The problem is that the database gets processed after the printer is already specified, so it won't work in that way.

What you can do is to output the information for the printer, label format, number of copies, etc in a header line in the data. See http://www.seagullscientific.com/docs/whitepapers/Commander-Examples(English).pdf for information on how to configure that.
0
Avatar
Legacy Poster
コメントアクション Permalink

[quote name='Mike T - Seagull Support' timestamp='1350340271' post='3498']
Hello Scott,

No, you're really not going to be able to do that. The problem is that the database gets processed after the printer is already specified, so it won't work in that way.

What you can do is to output the information for the printer, label format, number of copies, etc in a header line in the data. See http://www.seagullscientific.com/docs/whitepapers/Commander-Examples(English).pdf for information on how to configure that.
[/quote]



Thanks Mike, I'll give that a try.

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

[quote name='ScottCampbell' timestamp='1350402448' post='3502']
Thanks Mike, I'll give that a try.

Scott
[/quote]

Hi Scott,

I am facing a similar issue and was wondering if you have found a solution to this? Thanks.


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

If it helps here is an example of what I use for a dropfile ... we have our business system determine the printer based on the product that the label is being printed for.

[code]
%BTW% /AF="\\Server\Path\To\BTW\Label.btw" /D="\\Server\Path\To\DropFile.dat" /PRN="\\Server\PrinterName" /C=1 /P /DD
%END%
ITM,LITM,SERN
"111111","ABCDEFG","123456"
[/code]

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