Page 13 of 14

Re: Arctic reports (reporting system - Windows)

Posted: Fri May 02, 2014 6:46 pm
by srod
Hi,

the SQL only needs an '=' at the beginning if it is in the form of an nxReport expression which does not seem to be the case here (at least not with the code you have listed) and so I do not know the reason for the failure to preview?

As for the crash, I have had exactly the same problem you have described only on XP when using PB's drawing commands with those theming library calls.

Re: Arctic reports (reporting system - Windows)

Posted: Thu Jun 12, 2014 9:24 am
by captain_skank
Hi Srod,

when using :

Code: Select all

report\PrintWithDialog()
is there any way to specify the position of the printer dialogue window ??

windows seems to be arbitrarily popping it up anywhere.

Re: Arctic reports (reporting system - Windows)

Posted: Thu Jun 12, 2014 9:51 am
by srod
Afraid not. I would need to over-ride the dialog template which is not something I think worth doing in this case.

Re: Arctic reports (reporting system - Windows)

Posted: Thu Jun 12, 2014 11:03 am
by captain_skank
Ah, thought the might be the case.

Ok i've kludged up a workaround using a thread

Code: Select all

Procedure check_for_print_dialog()
  
  Repeat
    ; find windows...
    Debug "checking"
  EnumWindows_(@EnumProcedure(), 0)  ; the 0 will be passed in Paremeter.l to the procedure
  Until EnumWindows_(@EnumProcedure(), 0) = 0
  
EndProcedure

Procedure.l EnumProcedure(WindowHandle.l, Parameter.l)
 
  ; get Title by windowhandle...
  Title$ = Space(200)
  GetWindowText_(WindowHandle, @Title$, 200)
 
  ; do whatever to check...
  If Title$ = "Print"
    
    ExamineDesktops()
    
    WindowRect.RECT
    GetWindowRect_(WindowHandle, WindowRect)
     
    x = (DesktopWidth(0)/2) - ((WindowRect\right - WindowRect\left)/2)
    y = (DesktopHeight(0)/2) - ((WindowRect\bottom - WindowRect\top)/2)
    
    SetWindowPos_(WindowHandle, #HWND_TOP, x, y, #NUL, #NUL, #SWP_NOSIZE); 
    BringWindowToTop_(WindowHandle)
    
    ; returning 0 will stop the search
    ProcedureReturn 0
  Else
 
    ; returning <> 0 will continue till all windows are searched
    ProcedureReturn 1
  EndIf
 
EndProcedure

Most of the above code was originaly coded by FREAK, which i hacked around a bit

I then place

Code: Select all

my_thread = CreateThread(@check_for_print_dialog(), 153)
before i use

Code: Select all

report\PrintWithDialog()
which works, but will probably have a mare if multiple print windows are open. :)

Quite proud of myself with this as i've never used a thread before :P

Re: Arctic reports (reporting system - Windows)

Posted: Thu Jun 12, 2014 6:29 pm
by srod
Nice one. Well done. :)

Re: Arctic reports (reporting system - Windows)

Posted: Sun Sep 14, 2014 7:12 am
by sphinx
srod, any news about bar code support?!

Re: Arctic reports (reporting system - Windows)

Posted: Mon Sep 15, 2014 10:16 pm
by srod
No news I'm afraid. Too busy with non-coding endeavours at the moment.

Re: Arctic reports (reporting system - Windows)

Posted: Tue Sep 16, 2014 5:28 am
by sphinx
:(

Anyway, best of luck!

Re: Arctic reports (reporting system - Windows)

Posted: Sun May 17, 2015 11:04 pm
by falsam
Hi srod. Is artic report (Pyrex) dead ?

Re: Arctic reports (reporting system - Windows)

Posted: Fri Jun 26, 2015 4:11 pm
by srod
It is gathering dust at the moment for sure. Reluctant to say that it is dead considering the effort involved in creating the thing, but I can't see it going anywhere any time soon. :)

Re: Arctic reports (reporting system - Windows)

Posted: Fri Jun 26, 2015 4:31 pm
by sphinx
Release it?!

Re: Arctic reports (reporting system - Windows)

Posted: Wed Jul 29, 2015 9:37 am
by captain_skank
Anybody know a way to force a report to print in DUPLEX ??

I can see that PrintToNamedPrinter() has a flags option but I dont think this is what these are intended for.

Can I set the duplex mode before calling PrintToNamedPrinter() ??

Any help appreciated.

Re: Arctic reports (reporting system - Windows)

Posted: Wed Aug 19, 2015 4:33 am
by nicolaus
@srod,

where i can find and download you report system?
Your web side www.nssoftware.com is offline.

Thanks,
Nico

Re: Arctic reports (reporting system - Windows)

Posted: Wed Sep 23, 2015 3:43 pm
by imtcb
@Nico,

Did srod get you information? I just sent him a PM in the hopes that he has alerts enabled and actually gets it.

Alternatively, does anyone else have a copy of the demo they could make available for me to download so I know for sure if this will meet my needs?

Thank you,
tcb

Re: Arctic reports (reporting system - Windows)

Posted: Mon Oct 19, 2015 7:45 pm
by t57042
can anyone tell if this software still available?
richard