Installing and Using the Event Server AutoPrint Feature

  Print
What Is The AutoPrint Feature?

Sometimes you like to review PDFs (Crystal Reports output specifically) before printing them. For example, you might generate 1000's of invoices or statements at monthend. Maybe you want to randomly check them before printing all of them. This feature allows for the auto-printing of PDF files to a specified printer found in a specific directory (or sub-directory). So, with our monthend example, you could export 1000's of PDFs, randomly check a few of them out, then send them all to auto-print.

Note, this AutoPrint feature is included with Event Server.

---

How Do I Configure And Use AutoPrint?

When you install Event Server (as of 2016.60 or later), within the Event Server data directory will be a AutoPrint directory (along with the Input, Error, and Processed directories).

Within this AutoPrint directory, you will manually create a directory with the EXACT same name of any printer you want to be able to auto-print to. For example, if you had a printer called "HP Laserjet 5000", you would create a folder/sub-directory within the AutoPrint directory with that same name. Once created, any PDF files you place in that directory would be auto-printed.

That's all there is to it. It's very simple, and it "magically" works once the folders are created.

---

How Do I Name (Create AutoPrint Folders For) Network Printers?

If you have network printers, you must follow a specific format which is "PrinterName on MachineName".

For example if you had a network printer like this: \\prodserver1\HP Color Reports

You would name the AutoPrint folder like this: HP Color Reports on prodserver1

---

Is There A Way To Control The Printer Output?

Sometimes the PDFs you place into the printer sub-folder print out a little different than expected. For example, they may print portrait when you're wanting them to print landscape.

We created a way for you to fully control the printer no matter what it's doing. Again, this is only needed if the auto-printing does not output like you expect.

If you look in the AutoPrint folder itself, you'll notice a file called Sample.INI. Copy that INI file to YourPrinterName.INI (matches printer directory created). The YourPrinterName.INI file stays IN the AutoPrint directory. Do not move/copy it to the subfolder with the same name.

If you open the INI settings, you'll 10 or so settings in the file to use. They are described down below the settings shown. It's fairly self-explanitory, but if you have any specific questions, just let us know. We believe they will make sense though. We've added a number of optional settings, but you'll probably only need to set one or two of them.



Here's an example of what you could set:

'----------------------------------------------------------------------------------------
'
' Sample Settings For PaperSize, Copies, Duplex, Collate, and TrayOrBin
'
' - Set paper size to legal 8.5 x 14
' - Set copies to 2
' - Set duplex to 2 (vertically front/back)
' - Set colation on
' - Use bin 3 as the papersource
' - Start printing from page 5
'
'----------------------------------------------------------------------------------------

[Options]

PaperSize=5

Copies=2

Duplex=2

Collate=1

TrayOrBin=3

StartPage=5

---

How Do I Debug Problems With AutoPrint?

Just like other Event Server log files, all AutoPrint logs are generated to the Report Runner Batch log file directory, under a subdirectory called AutoPrint.




Related Articles

Login

 
Forgot password?
Register now

Language