Server printing to tray

Hi,
I have a XeroxB605 with multiple input trays. I am trying to get E10 to print to tray 2, which has green paper. I can print a test page, print from Notepad ++, Foxit Reader using a pdf file and they all go to that tray. I have set the Printing Preferences\Printing Options\Paper\Tray 2
I test using a BOM listing for a single part and print using Server Printer to that printer and it pulls from tray 1.
I have also tried in the Server Printer\SSRS Server Print\Page Setting - changing the Paper Source Kind. That did not work.
Thanks in advance,
Tom

Hi
Did you find any solution for this. We also need to print from specifc tray but the source does not work.
Thank You
Mufaddal

We installed on the server the full Xeroxb605 driver. This allowed us to see all the trays. We set the default tray to tray 2. We left the paper size kind :letter and paper source kind : automatic. The driver is in control. So for 3 input trays we would have 3 printers defined with the server driver controlling the appropriate input tray. That worked for us.

I’ve got this working on a RICOH. Not at work at the moment, but I’ll post the function when I can. It selects the tray (we have 3 colors) based on a value from the order dtl

We Tried the same but the driver always prints to Tray 3, is there a code which you pass pass for the tray so the driver detects the tray

I would be interested in how Kevin got his Ricoh working. By setting it in the driver there is no code passing. Our Ricoh’ have a stapler. There was not a way in Kinetic to turn the stapler on. So we have Ricoh1 - this does not staple and Ricoh1S which staples. We did the same for the trays. Hopefully Kevin can show what he did. Your printer is installed locally correct?

I am having this same issue trying to get our printer to pull one page from each tray ( we have 3 trays) , how did you get this to work?

This is the function for printing to a specific tray on the Ricoh Printer we were using. I remember we had some issues with the tray numbering so it took some testing. I added the open source Spire.Pdf library for this function, as we were having difficulties with printing Duplex.

/*== Print Spec-sheet/Traveler ===============================================
	
	Info: Print Spec Sheet and Traveler PDF (duplex setting) to Shop Printer

	Library:  lib_Printing
	Function: printShopDocs
	Version:  v2.0.0

		Request Parameters:
			printFilePath:   System.String
			printerName:     System.String
			paperSourceTray: System.Int32

		Response Parameters: 

	Created: 03/14/2023
	Changed: 07/27/2023

		--Kevin Veldman <Kevin.Veldman@RFPTSolutions.com>
============================================================================*/

// Print Settings
    var pdfSet = new PdfPrintSettings();

	pdfSet.PrinterName = printerName;

	pdfSet.Color = false;

	pdfSet.Duplex = Duplex.Vertical; // Set to duplex (double-sided)



// Print Document with Settings
	pdfSet.PaperSettings += delegate (object sender, PdfPaperSettingsEventArgs e) 
	{
		e.CurrentPaperSource = e.PaperSources[paperSourceTray];
	};



	using ( var pdf = new PdfDocument() ) 
	{
		pdf.LoadFromFile( printFilePath );
		pdf.Print( pdfSet );
	}




	/*__ Usings ____________________________________________________

		using System.Drawing.Printing;
		using Spire.Pdf;
		using Spire.Pdf.Print;
	______________________________________________________________*/



	/*__ Reference ________________________________________________

		*Spire PDF is not a native Epicor DLL
		Add in Server Assemblies
		C:\inetpub\wwwroot\<EpicorServerName>\Server\Assemblies\

	______________________________________________________________*/
1 Like

We are looking into getting a RICOH P502 printer and want it to grab 1 paper from each tray ( 3 trays) , I was told with Edge Agent it would not be able to do this. I appreciate your reply!

1 Like

So this is an Epicor Function so it would be executed server-side, and wouldn’t need the Edge-Agent, so this does sidestep that issue. The way this works, you’d need a separate file for each print that goes to a separate tray.

1 Like

thank you!

1 Like