RE: [Retep-PDF] (no subject)
Status: Beta
Brought to you by:
petermount
From: Caballero C. J. <jos...@ju...> - 2004-06-28 13:18:36
|
J2re 1.4_03 in Java Web Start. But I use it as a module in Eclipse (1.4._03) and it works the same. Pepe Caballero Ingeniero Informatica -----Mensaje original----- De: Peter Mount [mailto:pe...@re...] Enviado el: lunes, 28 de junio de 2004 15:08 Para: Caballero Caballero, Jose CC: ret...@li... Asunto: Re: [Retep-PDF] (no subject) Caballero Caballero, Jose wrote: > I am using retep-2.4.1 to print pdf files. I ask to the user to select > the printer but sometimes you need twice or more times calling > ServiceUI.printDialog to obtain all the printers added to the computer. > First time only appear retepPDF. I call it : > > > > PrintRequestAttributeSet pras = *new* HashPrintRequestAttributeSet(); > > pras.add(MediaSizeName.ISO_A4); > > pras.add(*new* Copies(1)); > > pras.add(*new* PageRanges(*new* > String("1:"+_NumeroPaginas))); > > DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE; > > PrintService[] services = > PrintServiceLookup.lookupPrintServices(*null*, pras); > > _service = ServiceUI.printDialog(*null*, 100, 100,services, > *null*, *null*, pras); > > > > Any idea to solve it? Not off hand, but I'll try to reproduce it. What version of the JDK/JRE are you running, and which OS? May help in reproducing this problem. Peter -- Peter Mount pe...@re... http://retep.org/ http://retep.net/ Tel: +44 (0) 1622 749439 Fax: +44 (0) 8701 361620 Mobile: +44 (0) 7838 191423 IM-MSN: ret...@ho... |