🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: C++ Builder 6 printer name limitation

#3288
From: Mike Snyder
Date: Mon, 10 Jul 2006 18:52
28 lines
1781 bytes
Yes,

    When the printing is run under XP it works fine with a long printer name
(i.e. 80+ characters).  When using Windows 2000 though, it fails after 80
characters.  Kind of strange.  But confirmed without any update as to how it
can be fixed.


"Clayton Arends" <nospam_claytonarends@hotmail.com> wrote in message
news:44af463a@newsgroups.borland.com...
> 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: <44b2a090@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44ae9162$1@newsgroups.borland.com> <44af463a@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
Reply-To: "Mike Snyder" <snyderm7@hotmail.com>
From: "Mike Snyder" <snyderm7@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <44ae9162$1@newsgroups.borland.com> <44af463a@newsgroups.borland.com>
Subject: Re: C++ Builder 6 printer name limitation
Date: Mon, 10 Jul 2006 12:52:25 -0600
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1807
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
NNTP-Posting-Host: 71.208.81.166
Message-ID: <44b2a090@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1152557200 71.208.81.166 (10 Jul 2006 11:46:40 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail