tPrintJobSettings(SysPrintOptions::newPrintJobSettingsOnServer()) SRSPrintDestinationSettings(cmasalesFormLetter.printerSettingsFormletter()) Printer,printer1,printerDetails,portname,printerDriver ĬmaSalesFormLetter = cmaSalesFormLetter_PackingSlipShipCreate::newPackingSlipShipCreate() SRSPrintDestinationSettings printSettings after printing the report we can revert back the defalut printer to the original before. So here i am getting the printer but need to change the printer to default so that it will print the docment there simultaneously with packing slip. this is printing thedocument to the default printer set by the user always, not to the printer set by the user in print job setting where the packing slip is printing. that is WINAPI::SHellExecute(filename,’’,’’,‘Print’). Here i am using the code which i know that we can print any document from outside ax stored in some drive. That time they want to print one pdf which is attached to the batch through document handaling. Thanks for the reply, but the requirement is in Ax 2012 and the requirement is like the user is printing packing slip while posting.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |