Community Forum

PaperType in Factory.print

Profile Image 3 Posts 3 Karma
Pierre posted this 17 July 2015

Hi everyone.

For one of our application we need to specify the paper type.

In the factory.print, I don't see how to set this parameter: http://scriptx.meadroid.com/knowledge-bank/technical-reference/factory/printing.aspx?id=1176

Is there a way to do that?

 

Thank you

Profile Image 3 Posts 3 Karma
Pierre posted this 17 July 2015

Hi.

 

Thanks for your answer but it doesn't help.

We used those properties before but now we need the paper type.

I will try to explain the situation.

Our users (this is in LAN) have to print some pages on colored paper (green or blue with some barecode on it) so it' a special kind of paper which is not usable for daily printing. Those papers are in some specific tray in some printers. Before we used the tray number to locate the right paper. But now we have implemented "equitrac". This solution allows the user to print on a "virtual printer" and then go on any printer he want and print with is login.

 

But the printer could have different number of tray. Like this the blue pages could be in Tray3 in one printer and Tray 1 in another. So the idea is to set for some printer the paper type for the special paper. So like this the type "Letter" is for the Blue one and the type "Transparent" is for the green. And on the printer we fix those paper type with the tray.

I don't know if it is understable. Sorry for my english ;-)

 

Thanks

Profile Image 189 Posts 189 Karma
Jerry posted this 17 July 2015

I think I understand.

 

Is the priinter able to return a value to say "I have blue paper in this tray" ?

 

If so, what is that value and where can we see it?

 

Or do you (or your user) have to know it where the blue paper is before you can target that tray?

 

Jerry

Profile Image 3 Posts 3 Karma
Pierre posted this 22 July 2015

The idea is to use the paper type has a way to tell where the blue paper is. 

The user put the blue paper always in the same tray for a specific printer. So we fix that this specific tray is "Letter" and is the blue paper.

In our javascript then when the user has to print a blue document we set the paper type in ScriptX to "Lettter" the printer will then know which tray it is.

 

Profile Image 189 Posts 189 Karma
Jerry posted this 22 July 2015

>> The idea is to use the paper type has a way to tell where the blue paper is.  <<

 

AFAIK there's nothing in Windows that can return the location of a paper 'type'.

 

So the anser to my question 'Is the priinter able to return a value to say "I have blue paper in this tray" ?' I think is NO.

 

>>

In our javascript then when the user has to print a blue document we set the paper type in ScriptX to "Lettter" the printer will then know which tray it is.

  <<

 

I reckon this is your only route.