Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Ahead warp factor 1" -- Captain Kirk


devel / comp.lang.clipper.visual-objects / Re: Reseting or Reloading Printer in Report Pro

SubjectAuthor
* Reseting or Reloading Printer in Report ProMark Clement
`* Re: Reseting or Reloading Printer in Report ProJamal
 `- Re: Reseting or Reloading Printer in Report ProMark Clement

1
Reseting or Reloading Printer in Report Pro

<4c882eb7-fbf0-413f-9884-7a40345b1823n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=888&group=comp.lang.clipper.visual-objects#888

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ac8:4741:: with SMTP id k1mr3845201qtp.374.1626179743602;
Tue, 13 Jul 2021 05:35:43 -0700 (PDT)
X-Received: by 2002:a05:622a:1896:: with SMTP id v22mr3825629qtc.348.1626179743351;
Tue, 13 Jul 2021 05:35:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Tue, 13 Jul 2021 05:35:43 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=213.162.122.146; posting-account=vFL5sQoAAABTjNqK1MTkI5BZbir8JGq0
NNTP-Posting-Host: 213.162.122.146
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4c882eb7-fbf0-413f-9884-7a40345b1823n@googlegroups.com>
Subject: Reseting or Reloading Printer in Report Pro
From: mjclement1000@gmail.com (Mark Clement)
Injection-Date: Tue, 13 Jul 2021 12:35:43 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Mark Clement - Tue, 13 Jul 2021 12:35 UTC

If you run a report and when the printer dialog box comes up you press properties. This allows you to set up the printer how you wish (i.e. only print page 2). The report prints quite happily using the properties you selected.

The problem is if you print a report later even if you do not change anything in properties this time it still remembers what you set up earlier.

Is there a way to make the printer load the properties it had when program started?

Re: Reseting or Reloading Printer in Report Pro

<sco0c8$1rq3$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=889&group=comp.lang.clipper.visual-objects#889

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!aioe.org!5khQQ74EcbbAsV5j3NyilA.user.gioia.aioe.org.POSTED!not-for-mail
From: nospam@example.com (Jamal)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: Reseting or Reloading Printer in Report Pro
Date: Wed, 14 Jul 2021 20:43:57 -0400
Organization: Aioe.org NNTP Server
Lines: 39
Message-ID: <sco0c8$1rq3$1@gioia.aioe.org>
References: <4c882eb7-fbf0-413f-9884-7a40345b1823n@googlegroups.com>
NNTP-Posting-Host: 5khQQ74EcbbAsV5j3NyilA.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Jamal - Thu, 15 Jul 2021 00:43 UTC

Hi Mark,

You can try the following options:

In Report Pro 3.x, you can get the the printer info, the save it to a
config file.

Check the help file for the oReport:GetReportIntAttribute(...) or
oReport:GetReportStringAttribute(...) methods.

Then you can set report object via oReport:SetReportIntAttribute(...)
or oReport:SetReportStringAttribute(...)

For Example:
oReport:SetReportIntAttribute(RPT_ATTR_FROM_PAGE, 2)

oReport:SetReportIntAttribute(RPT_ATTR_TO_PAGE, 3)

In Report Pro 2, you need to look at the the oRpReport:PrinterDevice
where you can get/set several properties.

For example:

oRpReport:PrinterDevice:Copies := 2

Good Luck!

Jamal

On 7/13/2021 8:35 AM, Mark Clement wrote:
> If you run a report and when the printer dialog box comes up you press properties. This allows you to set up the printer how you wish (i.e. only print page 2). The report prints quite happily using the properties you selected.
>
> The problem is if you print a report later even if you do not change anything in properties this time it still remembers what you set up earlier.
>
> Is there a way to make the printer load the properties it had when program started?
>

Re: Reseting or Reloading Printer in Report Pro

<80c977e3-7de0-4cff-a465-660b2b9070ddn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=890&group=comp.lang.clipper.visual-objects#890

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:622a:34c:: with SMTP id r12mr3229023qtw.196.1626342565259;
Thu, 15 Jul 2021 02:49:25 -0700 (PDT)
X-Received: by 2002:a05:622a:1190:: with SMTP id m16mr3189892qtk.92.1626342565031;
Thu, 15 Jul 2021 02:49:25 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Thu, 15 Jul 2021 02:49:24 -0700 (PDT)
In-Reply-To: <sco0c8$1rq3$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=213.162.122.146; posting-account=vFL5sQoAAABTjNqK1MTkI5BZbir8JGq0
NNTP-Posting-Host: 213.162.122.146
References: <4c882eb7-fbf0-413f-9884-7a40345b1823n@googlegroups.com> <sco0c8$1rq3$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <80c977e3-7de0-4cff-a465-660b2b9070ddn@googlegroups.com>
Subject: Re: Reseting or Reloading Printer in Report Pro
From: mjclement1000@gmail.com (Mark Clement)
Injection-Date: Thu, 15 Jul 2021 09:49:25 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Mark Clement - Thu, 15 Jul 2021 09:49 UTC

On Thursday, 15 July 2021 at 01:44:01 UTC+1, Jamal wrote:
> Hi Mark,
>
> You can try the following options:
>
> In Report Pro 3.x, you can get the the printer info, the save it to a
> config file.
>
> Check the help file for the oReport:GetReportIntAttribute(...) or
> oReport:GetReportStringAttribute(...) methods.
>
> Then you can set report object via oReport:SetReportIntAttribute(...)
> or oReport:SetReportStringAttribute(...)
>
> For Example:
> oReport:SetReportIntAttribute(RPT_ATTR_FROM_PAGE, 2)
>
> oReport:SetReportIntAttribute(RPT_ATTR_TO_PAGE, 3)
>
>
> In Report Pro 2, you need to look at the the oRpReport:PrinterDevice
> where you can get/set several properties.
>
> For example:
>
> oRpReport:PrinterDevice:Copies := 2
>
> Good Luck!
>
> Jamal
> On 7/13/2021 8:35 AM, Mark Clement wrote:
> > If you run a report and when the printer dialog box comes up you press properties. This allows you to set up the printer how you wish (i.e. only print page 2). The report prints quite happily using the properties you selected.
> >
> > The problem is if you print a report later even if you do not change anything in properties this time it still remembers what you set up earlier.
> >
> > Is there a way to make the printer load the properties it had when program started?
> >
You are right this is an option.

The reason i am after a reset is there are lots of options in properties, which they could have set and i do not want to check them all. If there are no other answers this is an option as which page to print is the current problem.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor