dbTalk Databases Forums  

selecting printers

comp.databases.paradox comp.databases.paradox


Discuss selecting printers in the comp.databases.paradox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chris
 
Posts: n/a

Default selecting printers - 05-09-2007 , 05:08 PM






How do I allow the user to set the default printer. I have code that sends
a report directly to the printer so they need to be able to choose a printer
prior to printing. I have form that populates a list using
printerSetCurrent(listprinters) and then they click a button that runs
formreturn(true) and that used to work but hasn't in awhile. Does anybody
of a way for me to allow the user to select a printer.

Thanks



Reply With Quote
  #2  
Old   
Chris
 
Posts: n/a

Default Re: selecting printers - 05-09-2007 , 05:14 PM






I forgot to mention I'm using Paradox 10.



Reply With Quote
  #3  
Old   
Tony McGuire
 
Posts: n/a

Default Re: selecting printers - 05-09-2007 , 05:29 PM



On a form (pushbutton is what I use):

menuAction(MenuFilePrinterSetup)

I don't think it will work in a script, but I'm fairly certain in works in a
form calling a library method as well.

------------------------------
Tony McGuire



Reply With Quote
  #4  
Old   
Tony McGuire
 
Posts: n/a

Default Re: selecting printers - 05-09-2007 , 11:14 PM




Quote:
I forgot to mention I'm using Paradox 10.

How does that fit in?

Did you try the code I posted?


------------------------------
Tony McGuire




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

Default Re: selecting printers - 05-10-2007 , 01:27 AM



Quote:
I have form that populates a list using printerSetCurrent(listprinters)
and then they click a button that runs formreturn(true) and that used to
work but hasn't in awhile. Does anybody of a way for me to allow the user
to select a printer.

This is how I do it. Can you post the code?

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.