[Jsprintsetup] Doubt resize page in JSPrintSetup
marlessonsa at gmail.com
Sat Dec 3 05:49:33 PST 2011
Thanks for the help.
I solved the problem by setting the paper size in the printer driver.
Leaving the printer is already set, not needing to use the plugin to set the
So the responsibility is for the printer driver. I used the plugin just to run
a printing press.
NOTE: Google Translation
Marlesson R. O. de Santana
Graduado em Ciência da Computação - UESC
Programador Web (PHP, RoR, JAVA, MySQL, SQLServer)
On Wed, Nov 23, 2011 at 04:44, Dimitar Angelov <mitko at edabg.com> wrote:
> Hi Marlesson,
> First case will not give results, because FF don't get attention of what
> set for options paperHeight and paperWidth.
> I think that this is possible only with Paper Handling Methods.
> Unfortunately FF don't give possibilities to use arbitrary paper sizes.
> Paper sizes that you can use must be defined at first by your printer
> driver specific to platform. That is considered also and for custom paper
> sizes. They must be defined first in underlying printing system specific to
> FF work with printing system in different ways for different platforms and
> in particular paper size definitions are different for Windows and GTK for
> example. You can read more at:http://jsprintsetup.mozdev.**
> I will recommend to follow procedure described in following post:
> Please provide feedback for your success.
> About extending extension functionality any contribution and ideas are
> I'm happy that extension is useful for you and we will work in the feature
> to extend and support it.
> Dimitar Angelov
> On 22.11.2011 20:39, Marlesson Santana wrote:
>> JsPrintSetup I'm using and I am struggling to scale the size of the paper.
>> The size of paper that I use is 50mm X 25mm, the price tag.
>> I am using the windows platform the code below and could not result.
>> jsPrintSetup.setOption ("paperSizeType" jsPrintSetup.**
>> jsPrintSetup.setPaperSizeUnit (jsPrintSetup.**kPaperSizeMillimeters);
>> jsPrintSetup.setOption ("paperWidth", width);
>> jsPrintSetup.setOption ("paperHeight", height);
>> Another implementation that has been tried using the Paper Handling
>> Methods. With the code below:
>> jsPrintSetup.definePaperSize(**119, 119, 'na_etiqueta', 'na_etiqueta_mm',
>> 'Etiqueta VIDA', 50, 25.40, jsPrintSetup.**kPaperSizeMillimeters); //
>> value 100 is not scope in / Windows Paper Size number
>> The problem with this method is the PD, I have not found one for the
>> size of the paper cited.
>> Would have any way to create a PD specific to this paper size? Or just
>> use the ones that are pre-defined in Windows.
>> Working in a software company in Brazil Ilheus, Bahia. We love the
>> extension and we are available to help on something to continue the
>> Marlesson R. O. de Santana
>> Graduado em Ciência da Computação - UESC
>> Programador Web (PHP, RoR, JAVA, MySQL, SQLServer)
> Jsprintsetup mailing list
> Jsprintsetup at mozdev.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Jsprintsetup