Subject: | Re: Paradox 9 - 9.00.738 on Windows 10 Pro - more
| Date: | Wed, 27 Feb 2019 05:55:03 +0100
| From: | =?UTF-8?Q?G=c3=bcnter?= <info@NoSpam-mk-news.com>
| Newsgroups: | pnews.paradox-discussions
|
1) do not print from RSL-Preview
better show it (without menu), ask user if ok and then print via OPAL
2) RSL is most safer then RDL
3) after P9 (or R9) starts, first one rsl-Preview has to be shown
4) do not have "one note Printer" first in the Printer-List
5) detect Printernames with a list-field.open:
method open(var eventInfo Event)
var
ali longint
ars array[] string
t table
TC TCursor
s,s1,s2 string
endvar
;s1="Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows"
;s=getRegistryValue(s1,"Device",regKeyCurrentUser) ;Default Printer
s2="Software\\Microsoft\\Windows NT\\CurrentVersion\\PrinterPorts"
enumRegistryValueNames(s2,regKeyCurrentUser,ars) ;all Printers
;ars.view(s)
;Fehlerquelle eventuell Backslashes, wenn Drucker nicht auf diesem System
;funktioniert unter Win8
if NOT istable(":PRIV:PrintW.db") then
t=create ":PRIV:PrintW.db"
with "Drucker" : "A255"
endcreate
sleep()
endif
P.TCopenP(TC,"PrintW",0)
TC.empty()
TC.edit()
for ali from 1 to ars.size()
TC.insertrecord()
TC.(1)=ars[ali]
TC.unlockrecord()
endfor
TC.close()
dodefault
self.dataSource="[:PRIV:PrintW.Drucker]"
endMethod
6) set printer with a method like this:
method DruckerSetzen(Name string)logical
var
Printer array[] string
ali longint
s string
endvar
enumprinters(Printer)
for ali from 1 to Printer.size()
s=Printer[ali]
s=s.substr(1,s.search(",")-1)
if s.size()>31 then
s=s.substr(1,31)
endif
if Name=s then
if PrinterSetCurrent(Printer[ali]) then
return(true)
else
return(false)
endif
endif
endfor
return(false)
endMethod
HTH
Günter
Am 26.02.2019 um 01:16 schrieb Kevin Zawicki:
> To assist in troubleshoot (previous post)>
>
> I know I have seen various charts and lists.
>
> I am looking for a list for Paradox / WP office Pro that list Paradox version
> and builds, what the patches change the build to, etc.
>
> What BDEs are compatible with which? Always use the latest?
>
> Working with Paradox 9 and up.
>
> I know the history and know no real new features. Just gathering info.
>
> trying pdox 10 on a problem machine before a full rebuild
>
|