Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #12978
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: DocumentProperties and DevMode structure |
| Date | Wed, 6 May 2020 21:27:46 +0200 |
| Lines | 37 |
| Message-ID | <hhghefF6uugU1@mid.individual.net> (permalink) |
| References | <ba949ab5-b2cb-4947-b998-f93ba14f176c@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="UTF-8"; reply-type=original |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net 8bJEf6bTOOA/QTcGKDoB0AxtpVIFj6bsGrPkXkDDVRID4g+1jB |
| Cancel-Lock | sha1:IYNlvV4/B0BEcDdDeZ7AE9h2/0o= |
| 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-EsetId | 37303A29266DE36E667063 |
| X-EsetScannerBuild | 45350 |
| Xref | csiph.com comp.lang.clipper.visual-objects:12978 |
Show key headers only | View raw
Hi Krystian, Nice to hear from you again. My provider does not allow to post binaries, see your mail there is a AEF.... Regards Urs "Krystian" <softb@softb.pl> schrieb im Newsbeitrag news:ba949ab5-b2cb-4947-b998-f93ba14f176c@googlegroups.com... > Hi, > > How may i modify an element of the devmode structure : > > 1 - determine the size of structure > ile:=DocumentProperties(SELF:hWnd, hptr, PSZ(SELF:drukarka:Device), NULL, > NULL, 0) > > ptrmem := MemAlloc(ile) > > 2 - copy actual printer parameters to the allocated memory > > DocumentProperties(SELF:hWnd, hptr, PSZ(SELF:drukarka:Device), ptrmem, > NULL, DM_OUT_BUFFER) > > 3 - i would like to switch to duplex printing - but i do not know, how to > update the structure > > ? ptrmem ? dmDuplex := DMDUP_VERTICAL > > DocumentProperties(SELF:hWnd, hptr, PSZ(SELF:drukarka:Device), ptrmem, > ptrmem, _OR(DM_IN_BUFFER, DM_OUT_BUFFER)) > > i will be grateful for any help > Krystian
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread
DocumentProperties and DevMode structure Krystian <softb@softb.pl> - 2020-05-04 06:56 -0700 Re: DocumentProperties and DevMode structure Gianluca72 <gianluca.pinoli@proximacentauri.it> - 2020-05-04 09:18 -0700 Re: DocumentProperties and DevMode structure Krystian <softb@softb.pl> - 2020-05-05 01:01 -0700 Re: DocumentProperties and DevMode structure "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2020-05-06 21:27 +0200
csiph-web