AutoPrint without a login backdoor?

You would have it "generate" and not auto-print or auto-preview.  Using Generate the XML is created on schedule and then just sits there waiting for you to either print it or preview it.  In this case our file watcher would process the file instead.

Jim Kinneman
Encompass Solutions, Inc
AutoPrint without a login backdoor?

So, I have been working on a whole bunch of various options to see about getting scheduled print jobs to run and be printed without someone being actively logged in, and without having to keep a user session just open on the server.

I have struck out so far, and just wondering if anyone has come up with a work around solution for this?

The XML file is created when the report is scheduled to run, just the printing has to wait until a user logs in using Epicor.  Since the file will appear on schedule you could setup a file watcher routine built using C# (or your favorite language) that takes the file and processes it.

Routine would pass the xml as the datasource to the crystal report and then you can send the result to a printer.  The lines of code to accomplish this would be fairly short.  Google "file watcher C#" will give you several examples of writing the file watcher part.  Passing the XML to crystal and printing is pretty straight forward also.

If there are multiple reports you would put in a decision routine to pick which report was just run.  Routine could be started upon boot up and run continously watching for the xml files to appear.

Jim Kinneman
Encompass Solutions, Inc.

What happens if and when the client is opened won’t all those queued jobs start printing?  If you were to delete the XML so they can’t print I would think that would freak Epicor out?

 

Joshua Giese

CIO

920.437.6400 Ext. 337

Site ID: 27450-E905700B2-SQL64

Wisconsin Converting, Inc.

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of jckinneman@...
Sent: Saturday, February 15, 2014 7:51 AM
To: vantage@yahoogroups.com
Subject: [Vantage] RE: AutoPrint without a login backdoor?

 

 

The XML file is created when the report is scheduled to run, just the printing has to wait until a user logs in using Epicor.  Since the file will appear on schedule you could setup a file watcher routine built using C# (or your favorite language) that takes the file and processes it.

Routine would pass the xml as the datasource to the crystal report and then you can send the result to a printer.  The lines of code to accomplish this would be fairly short.  Google "file watcher C#" will give you several examples of writing the file watcher part.  Passing the XML to crystal and printing is pretty straight forward also.

If there are multiple reports you would put in a decision routine to pick which report was just run.  Routine could be started upon boot up and run continously watching for the xml files to appear.

Jim Kinneman
Encompass Solutions, Inc.