Article View: borland.public.cppbuilder.nativeapi
Article #12672Windows Printers
From: Albert Milani
Date: Thu, 20 Nov 2003 17:28
Date: Thu, 20 Nov 2003 17:28
14 lines
1383 bytes
1383 bytes
Hi, In Windows 95, 98 & Me, I can send raw text directly to a Generic/Text Only Windows printer using TPrinter but this doesn't work in XP & 2000. Does anyone know of a solution to this? If I can't use TPrinter to print, does anyone know how to find out the port name from a Windows printer? I tried TPrinter::GetPrinter() but I got junk except for ADevice. I also tried GetPrinter() but I just got blank strings for the strings in PRINTER_INFO_2. Thanks, Albert
Technical Details
Message-ID:
<3fbcf9c2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,7b2449597708bec,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-20 09:36:35 PST Reply-To: "Albert Milani" <albertm13@junoNOSPAM.com> From: "Albert Milani" <albertm13@junoNOSPAM.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Windows Printers Date: Thu, 20 Nov 2003 12:28:27 -0500 Lines: 16 Organization: DD X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 68.81.56.154 Message-ID: <3fbcf9c2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1069349314 68.81.56.154 (20 Nov 2003 09:28:34 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail