dbTalk Databases Forums  

printerSetCurrent newly failing

comp.databases.paradox comp.databases.paradox


Discuss printerSetCurrent newly failing in the comp.databases.paradox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
pfweston@yahoo.com
 
Posts: n/a

Default printerSetCurrent newly failing - 01-20-2006 , 01:15 AM






Hi, I have just moved my Pdx10 app from a win95 to a XP machine with
the same printer and modem attached. Now I find that the command
printerSetCurrent does not work at all. I have read elsewhere of it
slowing down but Paradox simply stops responding in this case. I can
remove the "printerSetCurrent" command from the Opal and do it manually
and the printing itself works but this is a drag. Tha actual printer
does not seem to be the issue as I print to fax, pdf995 and an HPLj4
all with the same problem. Any clues? Thanks Paul.


Reply With Quote
  #2  
Old   
joseph gimeno
 
Posts: n/a

Default Re: printerSetCurrent newly failing - 01-20-2006 , 02:01 AM






pfweston (AT) yahoo (DOT) com wrote:
Quote:
Hi, I have just moved my Pdx10 app from a win95 to a XP machine with
the same printer and modem attached. Now I find that the command
printerSetCurrent does not work at all. I have read elsewhere of it
slowing down but Paradox simply stops responding in this case. I can
remove the "printerSetCurrent" command from the Opal and do it manually
and the printing itself works but this is a drag. Tha actual printer
does not seem to be the issue as I print to fax, pdf995 and an HPLj4
all with the same problem. Any clues? Thanks Paul.

Hi there:
I run an appl which selects one of 3 different printers depending on the
job, switching printers all day long with printerSetCurrent in XP home,
no problems for years .....
I would make sure that the syntax ant path to the printers are correct....


Reply With Quote
  #3  
Old   
joseph gimeno
 
Posts: n/a

Default Re: printerSetCurrent newly failing - 01-20-2006 , 02:07 AM



pfweston (AT) yahoo (DOT) com wrote:
Quote:
Hi, I have just moved my Pdx10 app from a win95 to a XP machine with
the same printer and modem attached. Now I find that the command
printerSetCurrent does not work at all. I have read elsewhere of it
slowing down but Paradox simply stops responding in this case. I can
remove the "printerSetCurrent" command from the Opal and do it manually
and the printing itself works but this is a drag. Tha actual printer
does not seem to be the issue as I print to fax, pdf995 and an HPLj4
all with the same problem. Any clues? Thanks Paul.

me again

var
r Report
repInfo ReportPrintInfo
endvar

code overhere.....


if not isEmpty("Jobtemp.db") then
r.open(":WORK:jobbagie")
repInfo.name = ":WORK:jobbagie"

repInfo.orient = PrintLandscape
printerSetCurrent("yellowprinter")
r.print(repInfo)
endif
r.close()
endmethod


hope this works for you
Joseph Gimeno


Reply With Quote
  #4  
Old   
pfweston@yahoo.com
 
Posts: n/a

Default Re: printerSetCurrent newly failing - 01-20-2006 , 03:04 AM



Hmm, That's good to know. My code worked fine for years on the win 95
machine too. Guess I'll have to look closer, although I have tried to
simplify my code to avoid the kind of issues you raised. I hope it is
not a XP Pro issue. Anyway, Thanks for the quick response. Regards Paul.


Reply With Quote
  #5  
Old   
Bertil Isberg
 
Posts: n/a

Default Re: printerSetCurrent newly failing - 01-20-2006 , 05:08 AM



Go to my site, URL below, and look at the ítem PARADOX STOPS RESPONDING
(eid 538) in the Errors explained document.

Your problem could be the CTFMON issue.
--
Bertil Isberg
CTECH
Paradox Buglist: http://web.comhem.se/~u82608896/

remove spamfilter (reversed) to reply

Reply With Quote
  #6  
Old   
pfweston@yahoo.com
 
Posts: n/a

Default Re: printerSetCurrent newly failing - 01-20-2006 , 06:28 AM



Thanks Bert, I'll check that out... Could well be that.... Will let you
know. Regards Paul


Reply With Quote
  #7  
Old   
pfweston@yahoo.com
 
Posts: n/a

Default Re: printerSetCurrent newly failing - 01-22-2006 , 11:36 PM



Well Bert. Turned off CTFMON as directed and re-installed pdx9 then 10.
No clear change that I can see... Paul


Reply With Quote
  #8  
Old   
pfweston@yahoo.com
 
Posts: n/a

Default Re: printerSetCurrent newly failing - 01-23-2006 , 03:34 AM



Hum, Well I'm not sure what has happened but Paradox10 has now decided
not to spit the dummy for now. PrinterSetCurrent still does not work
but atleast I can set the correct printer interactively and then I can
Fax and E-mail the Pdfs. Pdx just seems to ignore the printerSetCurrent
command. Regards Paul.


Reply With Quote
  #9  
Old   
Bertil Isberg
 
Posts: n/a

Default Re: printerSetCurrent newly failing - 01-23-2006 , 03:40 AM



Paul
<<
Turned off CTFMON as directed and re-installed pdx9 then 10.
No clear change that I can see
Quote:
Create a new script containing nothing but the code you're using the set
the printer. Verify that the code does not work. Then show the code.


--
Bertil Isberg
CTECH
Paradox Buglist: http://web.comhem.se/~u82608896/

remove spamfilter (reversed) to reply


Reply With Quote
  #10  
Old   
Anders Jonsson
 
Posts: n/a

Default Re: printerSetCurrent newly failing - 01-23-2006 , 02:55 PM



Quote:
Pdx just seems to ignore the printerSetCurrent
command.
FWIW, I use printerSetCurrent() in P10 in many applications and so far it
seems to work.

There must be something in your code that is not 100% correct.



Anders





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.