🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Printer properties

#7910
From: Thomas J.
Date: Wed, 15 Dec 2004 07:30
14 lines
1507 bytes
How can I get the ACTUAL printer properties.
For example:
I start my application read the properties like width and height of a page
and the values are fine.
If I now change the printer setting via printer setup of windows like width
and height and read again the properties of the printer I get still the old
properties.
If I close my application and read the properties again I get the actual
values.

A Refresh() don't refresh the width and height of a page. I'm using a label
printer and there it is possible to set the dimension of a lable (page)

Thanks for your help
Technical Details
Message-ID: <41bfe84c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6620db7697e43cb9,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Thomas J." <monathomas@12move.de>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Printer properties
Date: Wed, 15 Dec 2004 08:30:42 +0100
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 217.78.136.170
Message-ID: <41bfe84c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1103095884 217.78.136.170 (14 Dec 2004 23:31:24 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail