🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3380

Re: C++ Builder 6 printer name limitation

#3380
From: Clayton Arends
Date: Sat, 08 Jul 2006 05:44
16 lines
1280 bytes
When are you having the problem?  I created the following test:

1. Renamed one of my printers to a name with 100 characters.
2. Created a new app and added the following code to a button handler:

  PrintDialog1->Execute();
  Printer()->BeginDoc();
  Printer()->Canvas->DrawFocusRect(TRect(0, 0, 45, 45));
  Printer()->EndDoc();

The print worked as expected.

WinXP SP2
BCB6 Update 4

- Clayton 
Technical Details
Message-ID: <44af463a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <44ae9162$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,248bdae965c77125
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Clayton Arends" <nospam_claytonarends@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <44ae9162$1@newsgroups.borland.com>
Subject: Re: C++ Builder 6 printer name limitation
Date: Fri, 7 Jul 2006 22:44:27 -0700
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 71.83.251.160
Message-ID: <44af463a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1152337466 71.83.251.160 (7 Jul 2006 22:44:26 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail