Bartender Capable Of Client Side Printing?
I am new to ASP.NET / C#
In my development machine / server (WIndows 7), i installed Bartender 10 Enterprise Automation with the latest updates (SDK also), IIS, Visual Studio 2013 Ultimate.
There is an attached Datamax Printer (named "PrinterA").
I read the documentaions regading .NET SDK development.
I wrote a simple application that prints a very simple Bartender format to PrinterA when i click the Print button.
Works fine, so i published it.
I went to a different machine (in the same LAN). There is also an attached Datamax printer here with the same name (PrinterA).
I was able to access that website/application i wrote.
Clicked the Print button, i was expecting to have the label be printed on the client's printer, but it printed on my development machine / server.
How can i make it print to any client machine with an attached printer of the same name?
Thanks!
-
I guess you need to setup the second printer with a printer instance on your web server that points to the network printer.
0 -
Legacy Poster
★ BarTender Hero ★
Hi Ian,
We have 60+ Datamax printers connected to 40+ client machines.
Is that the only way to do it?
Thanks.
0 -
You can use the "internet printing" print method that relies on a plugin installed in the client browser to iterate through the printers installed on the client computer to pass back to the web server. The web server app then matches the client installed printers to the drivers installed on the server to thus list out what printers are available for "internet" printing. If an internet printer is selected then the print job is rendered on the web server as a file, and then encapsulated into the response HTML document to the client where the plugin extracts the print file and pushes it out to the appropriate printer. See the Web Print Server SDK example and Help file documentation for more details on this.
0 -
I would still recommend you go to the trouble of using standard Windows printing from the web server. Note that there is a command line interface for automated driver installation. See below:
Line DocumentationInstallation
Example Usage
DriverWizard.exe install /name:"Printer Name" /model:"Driver Name" /default /share:"Share Name" /port:"LPT1"
DriverWizard.exe install /autodetect
Command Parameters
Parameter
Description
/name
The
name of the printer. (This is the "friendly" name shown in
the Printers Folder.)/model
The
name of the driver./default
This
will set the printer as the default printer./share
This
will set the printer as a shared printer with the specified name./port
The
port the printer is connected to./autodetect
DriverWizard
will look for any PnP printers that were recently connected and install the
driver.Example Usage
DriverWizard.exe remove /printer:"Name of Printer"
DriverWizard.exe remove /driver:"Name of Driver"
DriverWizard.exe remove /all /driver
DriverWizard.exe remove /all /driver:"Name of Printer Manufacturer"
DriverWizard.exe remove /monitor:"Name of Monitor"
DriverWizard.exe remove /file:"Name of File"
Command Parameters
Parameter
Description
/printer
Remove
a printer. This is the "friendly" name displayed in the
Printers Folder./driver
Remove
a printer driver. (The driver will only be removed if there are no
printers using the driver.)/monitor
Remove
a language monitor or port monitor./file
Remove
a file. The full path name must be specified.The /all option
Only works with /driver.
It will remove all drivers and associated printer and file from the system.
Specifying a Printer Manufacturer will remove all printers and drivers of that manufacturer only.
Batch CommandsExample Usage
DriverWizard.exe @C:\commands.txt
0 -
Legacy Poster
★ BarTender Hero ★
Thanks Ian for all the infos.
I will try them out.
0 -
Ken Thompson
★ BarTender Hero ★
Driver Wizard Command should totally be the name of the Bartender internal driver support team. :-)
0
Please sign in to leave a comment.
Comments
6 comments