From: "blank" Newsgroups: comp.lang.java.help References: <4f6fbe47$1@dnews.tpgi.com.au> Subject: Re: Addressing the printer -- Newbie Date: Wed, 28 Mar 2012 05:26:54 +1100 Lines: 39 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 220.245.83.181 X-Original-NNTP-Posting-Host: 220.245.83.181 Message-ID: <4f720675@dnews.tpgi.com.au> X-Trace: dnews.tpgi.com.au!tpg.com.au 1332872821 220.245.83.181 (28 Mar 2012 05:27:01 +1100) Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.ripco.com!rahul.net!wasp.rahul.net!rahul.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!nntp3.phx1!dnews.tpgi.com.au!tpg.com.au!not-for-mail Xref: csiph.com comp.lang.java.help:1679 Thanks for that Knute... Takes me back to my own flying days in the UK in a Cherokee! But what an incredible amount of code when I can address the installed printer with 2 lines of code in VB6! "Knute Johnson" wrote in message news:jkq5vh$6br$1@dont-email.me... > On 3/25/2012 5:54 PM, blank wrote: >> Hi all >> >> I am a keen programmer in Visual Basic 6. I also tried Visual Basic >> dot.net >> but was appalled at the lack of printer support in dot.net. >> >> I am thinking of learning Java, but would like to know if the language >> allows easy access to whatever printer is installed at a user site. >> Therefore I cannot specify the printer when writing the code and must >> rely >> on the operating system to route data to the printer. >> >> Is writing reports to the printer (formatted and with columns and so on >> as >> in VB6) practical? With vb6 it is as simple as printer.print! >> >> Thanks heaps >> >> > > For some sample code, look at the VFRFlightLog program here; > > http://rabbitbrush.frazmtn.com/aviation/index.html > > -- > > Knute Johnson