Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.help Subject: Re: Print BufferedImage the result is blank Date: Tue, 15 Oct 2013 12:04:00 -0400 Organization: A noiseless patient Spider Lines: 24 Message-ID: References: <103e51b9-a464-4d94-b3e6-e752f014e546@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 15 Oct 2013 16:04:02 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="6b9e92482af47766954d85fb77d372f5"; logging-data="10265"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19U3uNdmyaPbGMAojeSDUV1Uqbm2o02mhE=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9 In-Reply-To: <103e51b9-a464-4d94-b3e6-e752f014e546@googlegroups.com> Cancel-Lock: sha1:R3TkGE2Vrpe07gUDjSuhFYzRpnU= Xref: csiph.com comp.lang.java.help:2812 On 10/15/2013 04:56 AM, p7371464@gmail.com wrote: > Hi, every one > > following are parameter set of my environment > > ///////////////// > > OS: Win 7 64 bit > Java: java version "1.6.0_29" 32 bit > Test Printer: CutePDF Writer 2.8 、Microsoft XPS Document Writer > > /////////// > > I try to print a image to printer, while the image file size is small the result is correct, > but while the file is large (jpeg format about 1.4 MB) the result is blank!! > I have assign -Xmx1024m to JVM. > > following is the code to print, can any one give some suggestions [snip code] While I can't specifically answer your question, these links might help.