Re: [Axapta-Knowledge-Village] Printers

2007-05-23 Thread Sumit Loya
Hi,

Here is a small job that displays all the printers configured on that
particular system

static void displayingAllPrinters(Args _args)
{
PrintJobSettings pjs;
int i;
;

pjs = new PrintJobSettings();

info(strfmt("The default printer is %1", pjs.DeviceName()));
info(strfmt("There are %1 printers", pjs.getNumberOfPrinters()));

for (i = 1 ; i <= pjs.getNumberOfPrinters() ; i++)
{
Info(strfmt("Printer No. %1 is %2", i, pjs.GetPrinter(i)));
}
}
Hope this is of some help to you.

Regards,
Sumit


On 5/23/07, V G <[EMAIL PROTECTED]> wrote:
>
>   Hi
> Can we display all the available printers in a form( field).
> I have a requirement wherein I have to attach printer to a warehouse so
> that
> anything related to that warehouse is printed on that printer.
> Is there a way to get the list of printers in axapta.
> Thanks
> Vishal
>
> [Non-text portions of this message have been removed]
>
> 
>


[Non-text portions of this message have been removed]



[Axapta-Knowledge-Village] Printers

2007-05-22 Thread V G
Hi
Can we display all the available printers in a form( field).
I have a requirement wherein I have to attach printer to a warehouse so that
anything related to that warehouse is printed on that printer.
Is there a way to get the list of printers in axapta.
Thanks
Vishal


[Non-text portions of this message have been removed]



[Axapta-Knowledge-Village] Printers

2005-05-31 Thread kenan guler



Hi all,
 
I have seen 2 parameters. 
 
First, Axapta Configuration Utility has a "Use printers on the server" on the Server Tab when the "Connect to Axapta Object Server (AOS)" is checked.
 
Second, Axapta Object Server has a "allow client to use printers on the server" on the AOS setting.
 
What's those? If I check them, all reports prints on the server? or What? 
 
Thanks
		Do You Yahoo!? Yahoo! Small Business - Try our new Resources site!


Sharing the knowledge on Axapta.








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/Axapta-Knowledge-Village/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.